The Programming Languages Podcast with Fexingo: Python, Rust, JavaScript, and Modern Coding

How a 17000 Line Python Codebase Broke in Production


Listen Later

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

...more
View all episodesView all episodes
Download on the App Store

The Programming Languages Podcast with Fexingo: Python, Rust, JavaScript, and Modern CodingBy Fexingo