DEV Community

Adán Carrasco
Adán Carrasco

Posted on

1

Testing in production, is that the way to go?

Today I'm not coming with a post but rather with a question on an interesting topic: Testing in production. Is that something you'll do? What are the tradeoffs?

Alt Text

Short story:
This week I worked on releasing a new App interacting with data form existing services.

The App was having some issues and I wanted to debug locally to fix them, whereas other person insisted to deploy and test in production then fix.

We needed to submit the App to AppStore and PlayStore and his argument was to speed up the review process, mine was that fixing it locally would be cheaper, then we would submit and App that we knew was working.

Alt Text

Any experiences on the topic? What would you have done? What would be your take?

Happy debate and thanks for sharing your ideas. :)

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (1)

Collapse
 
toastking profile image
Matt Del Signore

I think having a "prod-like" environment to test issues could be good. Often times testing in production is a really bad idea aside from just the usual stuff around breaking stuff for users (you can use things like special groups and flags to obviate that). There can be other issues like having unaudited access to user data.

The real reason to test in prod most times is to test things at scale. Having large corpuses of test data can help with this in your "prod-like" environments.

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay