Devrim Ozcay

Our Database Query Took 0.3ms in Dev. 47 Seconds in Production. The Reason: Hilarious.

I added an index. Tested locally. Query flew at 0.3 milliseconds. Deployed to production. Users started complaining. I checked the logs: 47 seconds. Same query. I was about to blame AWS, the network,

Devrim | Prod Engineering's avatar
Devrim | Prod Engineering
Mar 12, 2026
∙ Paid

The production incident started at 2:47 PM on a Tuesday.

Our API response time went from 200ms to 48 seconds.

Users couldn’t load their dashboards.

Support tickets piling up.

CEO in Slack: “What’s happening?”

Me: “Looking into it.”

But internally: Absolute panic.

User's avatar

Continue reading this post for free, courtesy of Devrim | Prod Engineering.

Or purchase a paid subscription.
© 2026 Devrim Ozcay · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture