Skip to content

How a 17000 Line Python Codebase Broke in Production

10 min Season 1 Episode 9
How a 17000 Line Python Codebase Broke in Production

Listen to “How a 17000 Line Python Codebase Broke in Production”

Episode synopsis

A SaaS company's 17,000-line Python monolith crashed under 400 concurrent users on a Tuesday morning. Lucas and Luna walk through the real root cause: a single mutable default argument in a request handler that silently corrupted session state for hours before cascading into a full database connection pool exhaustion. They trace the bug from stack trace to fix, compare how Rust and Go would have caught it at compile time, and debate whether modern Python tooling like Pydantic v2 and mypy strict mode could have prevented the outage. The episode closes with a practical checklist for teams running Python in production today.

#Python #Debugging #ProductionOutage #MutableDefaultArguments #SaaS #Pydantic #Mypy #TypeSafety #Rust #Go #SoftwareEngineering #CodeReview #TechOps #Backend #Programming #FexingoBusiness #BusinessPodcast #Technology

Keep every episode free: buymeacoffee.com/fexingo

ZARZA Studio — Your station on air today: library, music clock, schedule, studio and reports, from the browser.

Meet ZARZA Studio
— on air now — stations in the catalogue 2,006,526 podcasts — countries