# The Hall of Shame

- Speaker: 
- Event: [Reversim Summit 2014](/wiki/years/2014.md)
- Video: https://www.youtube.com/watch?v=JgEXPmkL5pg
- Transcript: [/transcripts/2014/52-JgEXPmkL5pg.md](/transcripts/2014/52-JgEXPmkL5pg.md)
- Language: Hebrew · Type: session · Level: general
- Topics: [Debugging](/wiki/topics/debugging.md), [DevOps](/wiki/topics/devops.md), [Engineering Culture](/wiki/topics/engineering-culture.md), [Scalability](/wiki/topics/scalability.md)

> Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

## Summary

In this entertaining session, several software engineers share humorous and humbling stories about their biggest production failures and bugs. Speakers recount mistakes ranging from misconfigured deployment scripts and infinite HTTP redirect loops to missing database backups and rogue threads. Through these anecdotes, the audience learns valuable lessons about the inevitability of human error, the importance of robust testing, and how to handle crises when things go wrong.

## Key points

- [1:07](https://www.youtube.com/watch?v=JgEXPmkL5pg&t=67s) The speaker shares a story about deploying code with an incorrectly formatted properties file, causing the application to fall back to default settings and breaking core services for half an hour.
- [3:43](https://www.youtube.com/watch?v=JgEXPmkL5pg&t=223s) A DevOps engineer accidentally deletes the main production database on Amazon without a backup while trying to save money by shutting down machines.
- [6:10](https://www.youtube.com/watch?v=JgEXPmkL5pg&t=370s) A combination of a proxy application and an HTTP client configured to follow redirects automatically causes an infinite loop that crashes multiple servers with a single request.
- [8:21](https://www.youtube.com/watch?v=JgEXPmkL5pg&t=501s) A simple typo replacing a plus with a minus sign in a C++ algorithm leads to strange results during a flight test.
- [10:33](https://www.youtube.com/watch?v=JgEXPmkL5pg&t=633s) A team migrating an API from PHP to Python leaves the old web root configuration open, inadvertently exposing sensitive files and credentials via the web.
- [13:49](https://www.youtube.com/watch?v=JgEXPmkL5pg&t=829s) Opening an Android camera on a standard background thread rather than a dedicated handler thread causes callback timing issues and erratic frame rates.
- [16:57](https://www.youtube.com/watch?v=JgEXPmkL5pg&t=1017s) An accidental line of code creating an unused C# thread with a large byte array closure causes a memory leak that slowly degrades production performance over time.
- [23:52](https://www.youtube.com/watch?v=JgEXPmkL5pg&t=1432s) A developer leaves out a rare state in a base station's state machine, triggering a catastrophic reboot loop that takes down cellular and internet service across half a state.

## Takeaways

- Always double-check configuration formats and deployment scripts before pushing changes to production.
- Implement comprehensive long-term load testing to catch subtle memory leaks and thread accumulation issues early.
- Ensure proper database replication and reliable backups are always in place before performing infrastructure maintenance.

## Questions this talk answers

- How can configuration management mistakes be prevented from crashing core services during deployments?
- What are the best practices for handling database backups and replication safely in production environments?
- How do infinite redirect loops happen in web applications, and how can they be detected early?

## Technologies

Java, Python, PHP, C#, C++, Android, MySQL, Amazon Web Services, Linux, Tomcat, SVN

## Tags

debugging, devops, human error, postmortems, production incidents, system reliability
