Explore techniques for improving the debuggability of complex asyncio applications in this PyCon US talk. Learn about the challenges of observability and reproducibility in real-world asyncio applications, particularly when multiple libraries and code are combined. Discover aiomonitor-ng, an enhanced version of aiomonitor, which provides live access to running asyncio processes and offers new features like task creation and termination trackers. Gain insights into tracking silently swallowed cancellations and resource-hogging task floods. Examine case studies of successful production bug debugging using aiomonitor-ng, and understand how to create more stable, complex asyncio applications at scale. Delve into topics such as tracebacks in asyncio, task creation chain trackers, and solutions for "hard" problems in asyncio debugging.
Improving Debuggability of Complex Asyncio Applications