Ruby Video
Talks
Speakers
Events
Topics
Leaderboard
Sign in
Talks
Speakers
Events
Topics
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Exceptions in production seem like something unavoidable. But does it have to be? I don't think so. If you have the right process and tooling, you can avoid them.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the talk titled "How to get to zero unhandled exceptions in production," Radoslav Stankov shares his insights from experience in managing exceptions within software applications. The presentation addresses the challenges developers face in handling exceptions and offers structured strategies to minimize these issues, aiming for a more robust and user-friendly application environment. **Key Points Discussed:** - **Introduction of Personal Experience:** Stankov opens by reflecting on the journey of starting new applications, likening the experience to acquiring a new car, yet acknowledging the confusion that can ensue as the project progresses. - **Understanding Exceptions:** He compares unhandled exceptions to cute bunnies that gradually overwhelm an application, highlighting the necessity of having a structured approach to manage them. - **Process for Handling Exceptions:** Stankov emphasizes the crucial need for an explicit process in tackling exceptions. He recounts creating a system called 'Happy Fridays' at Product Hunt, where developers dedicated one day a week to manage bugs and exceptions. - **Importance of Clear Ownership:** He discusses the significance of ensuring clear ownership of exceptions, as a lack of it can lead to a backlog of unresolved issues. - **Effective Exception Handling Techniques:** Stankov advises against generic error handling and promotes the practice of addressing specific exceptions intentionally, using logging to capture important information for troubleshooting. - **Monitoring Tools:** The speaker highlights the value of using monitoring tools like Sentry to track exceptions efficiently, maintaining separate projects for various components of an application to distinguish between different types of errors. - **Communicating Exceptions**: Setting up notifications via Slack to alert the team of new exceptions post-deployment is recommended to help prioritize responses effectively. - **Real-time Analysis:** He emphasizes correlating code deployments with exceptions to spot issues early and how to manage noise in exception tracking to focus on significant problems. - **Practical Handling Examples:** Stankov shares coding practices that help organize exception handling, recommending rapid retry methods for network-related errors without cluttering the error reporting process. - **Conclusion on Best Practices:** The overall message advocates for a systematic approach to error handling, reinforcing the importance of logging errors, analyzing them, and consistently refining handling practices to maintain productive development environments. Through structured processes, effective monitoring, and clear communication, teams can significantly reduce the occurrence of unhandled exceptions in production environments, leading to enhanced application reliability and user satisfaction. Stankov concludes by encouraging continued dialogue on improving exception management practices.
Suggest modifications
Cancel