Everyone can write code that works locally on their machine, literally everyone, especially now with AI.
Real engineers fix code that breaks in production, when users are crying and your manager is spamming your slack.
Your local environment means nothing when production decides to say “f**k you and your users”.
Different data, different load, different edge cases you never thought of.
When things break at 3 AM, nobody cares about your clean code. They only care about one thing: when can you fix it?
Start with the symptoms, not the code.
Don't immediately dive into your codebase.
Ask the right questions first:
When did this start happening?
What was released to production? recently?
Is it affecting all users or just some?
Follow the data trail.
Logs are your best friend.
Application logs, server logs, database logs.
Learn to read them like a crime detective master.
If your application doesn't have proper logging, good luck, lesson learned and start adding logs.
Production debugging separates amateurs from professionals because it tests everything:
Your knowledge under pressure
Your ability to perform in chaos
Your ability to talk with stakeholders while trying to save the world
How you think about risk vs. reward for fixes and priorities
Practice on staging.
Don't wait for production incidents.
Look for errors in your staging/testing environment and practice your investigation process.
Document your wins.
Every production issue you solve is a victory worth logging.
Write down what you learned, what tools helped, the list of thing you checked and in what order, and what you'd do differently next time.
Learn from every incident.
Post mortems and incident reports aren't blame sessions.
They're there for a reason, to learn from our mistakes.
Those who don't learn history are doomed to repeat it
Make sure they don’t go to waste, document as well as you can and revisit them often, you never know when production is going to break next
Code writers panic when production breaks.
Real engineers grab their hammer and get to work.
Which one are you?
No posts

Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.