# Baptism By Fire - why production issues make you a better developer

- Speaker: [Adi Belan](/wiki/speakers/adi-belan.md)
- Event: [Reversim Summit 2017](/wiki/years/2017.md)
- Video: https://www.youtube.com/watch?v=kELjS_che_M
- Transcript: [/transcripts/2017/46-kELjS_che_M.md](/transcripts/2017/46-kELjS_che_M.md)
- Language: Hebrew · Type: talk · Level: intermediate
- Topics: [Debugging](/wiki/topics/debugging.md), [Scalability](/wiki/topics/scalability.md), [Distributed Systems](/wiki/topics/distributed-systems.md), [Microservices](/wiki/topics/microservices.md)

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

## Summary

This talk explores how handling production incidents and middle-of-the-night pages can ultimately make software engineers better at their craft. Drawing on real-world failures at scale, the speaker illustrates how unexpected traffic spikes, third-party limits, and resource exhaustion can break distributed systems. The audience learns the importance of designing for service degradation, implementing proper monitoring, and understanding the foundational tools and libraries they rely on. Ultimately, the talk encourages developers to embrace production challenges with fearlessness and teamwork.

## Key points

- [5:19](https://www.youtube.com/watch?v=kELjS_che_M&t=319s) A sudden traffic spike in the core click-handling service caused queue saturation and widespread 503 service unavailable errors.
- [11:45](https://www.youtube.com/watch?v=kELjS_che_M&t=705s) Systems must be designed with service degradation in mind to protect critical functionality when underlying dependencies fail.
- [13:59](https://www.youtube.com/watch?v=kELjS_che_M&t=839s) A client sending a push notification that triggered a restart loop caused a massive, unexpected surge in incoming events.
- [18:22](https://www.youtube.com/watch?v=kELjS_che_M&t=1102s) Developing visualization tools and dynamic configuration management allows teams to quickly mitigate traffic anomalies without pushing emergency code fixes.
- [23:55](https://www.youtube.com/watch?v=kELjS_che_M&t=1435s) A minor scale increase caused a Python-based service to break because the language lacked built-in DNS caching by default, overwhelming the internal DNS server.
- [32:22](https://www.youtube.com/watch?v=kELjS_che_M&t=1942s) Engineers must dig deep into how their technology stack and libraries actually work under the hood rather than relying blindly on defaults.
- [35:19](https://www.youtube.com/watch?v=kELjS_che_M&t=2119s) When a production incident strikes, the immediate priority is to do whatever is necessary to keep the core business service alive.

## Takeaways

- Design services to degrade gracefully by dropping non-essential background tasks before failing core user-facing features.
- Always invest in robust monitoring and visibility for internal queues and bottlenecks to detect problems early.
- Understand the default behaviors of underlying libraries and runtimes, such as DNS caching, to prevent unexpected resource exhaustion at scale.
- Rely on teamwork and escalation during high-pressure incidents rather than trying to solve everything alone in the middle of the night.

## Questions this talk answers

- How can I design my microservice to handle downstream failures without crashing the entire system?
- What strategies can I use to quickly mitigate unexpected traffic floods from misbehaving clients?
- Why do seemingly minor language runtime defaults, like missing DNS caching, cause major production outages at scale?

## Technologies

AWS, Kafka, RabbitMQ, Clojure, Python, Consul, Jenkins

## Tags

distributed systems, incident response, microservices, monitoring, production incidents, reliability, scalability
