Hacker News new | past | comments | ask | show | jobs | submit login

You don't test in production. By definition, prod is what you care about and don't want to break.

This is what preprod is for: an environment that stores, receives and processes the same data as prod. It replicates prod as closely as possible and errors or unexpected differences are investigated.

Then there are rolling deployments in prod...

[and you don't need containers at all]




Check out https://copyconstruct.medium.com/testing-in-production-the-s...

Basically, preprod and any not-prod environments cannot ultimately perfectly reproduce prod, and in a sufficiently complex system, the failure states cannot be predicted in a replicated environment. Instead, using strategies like rolling deployments, you can test on the actual environment you want to validate.

If set up properly, it doesn't really risk breaking prod.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: