DEV Community

Discussion on: Talk about a time when you had to make a critical decision during production

Collapse
 
biagotaski profile image
biagotaski

Making big decisions in production should not even happen. If the feature is adequately validated with the team in dev/staging environments before going live into production, then it should be all good.

But still, we know that in real life, this happens, so in my experience, my team used to roll back to the previous version of the application. So we could gain more time to think about what happened and try to reproduce the error in lower environments (like dev/staging or pre-prod). And finally, define what steps we need to do to solve it (like, if it's a huge mistake with a feature, then we would review the small tasks related to it and resolve the code).

And again, we would test it in a lower environment to prepare it for production.

One of the concepts that are really important to know for the delivery process is DORA metrics. For example, you can measure the meantime to recover your application from a crash in production.

I invite you to look at this video if you want to learn more about it.