News for hackers. Stuff that matters.
Re:All of us test in production all the time (2019) by hampfi on Monday July 20, 2020 @07:27AM (#23896751)
Not sure where you are working but not a lot of people work at/on a huge code base.

Most codebases are build and operated by 1-3 teams and if you are not able to reproduce your prod env as a test env, your architecture is broken.

Re:All of us test in production all the time (2019) by sagichmal on Monday July 20, 2020 @08:43AM (#23897169)
The size of the codebase is orthogonal to the size/complexity of the production environment.

Modern architectures look like this: https://github.com/donnemartin/system-design-primer

It is generally not feasible to recreate all of the elements of this design in a totally separate testing environment.

Re:All of us test in production all the time (2019) by hampfi on Monday July 20, 2020 @09:48AM (#23897773)
I know this very well and i'm stlil not seeing an issue.

We have 2 GCP accounts. One for production and one for test. Same Setup, not an issue due to terraform and the cost is reasonable for a test env.

Re:All of us test in production all the time (2019) by sagichmal on Monday July 20, 2020 @11:41AM (#23898894)
Same network rules and configuration? Same CDN settings? Same DNS? Same data in the databases? Same volume of traffic on the queues?

(Rhetorical questions. Of course the answer is no.)

All of these things have huge impact on the actual similarity of the systems, and consequently how they behave.

Re:All of us test in production all the time (2019) by hampfi on Tuesday July 21, 2020 @03:32AM (#23905014)
Obviously but this is not a black and white thing.

If it wouldn't make sense for us to have test and prod, we wouldn't do it but i can't imagine a scenario where this is NOT beneficial.