Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Improving Debuggability of Complex Asyncio Applications

PyCon US via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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.

Syllabus

Intro
About Lablup
Production debugging
Solutions for "hard" problems
Traceback in asyncio
Task creation chain tracker
Task termination tracker
Task cancellation chain tracker
Task termination & cancellation chain tracker
Case: Backend.Al "hangs"
Case: Backend.Al "hogs the CPU"
Case: Hidden bomb inside a 3 party dependency
Lessons
Future Work

Taught by

PyCon US

Reviews

Start your review of Improving Debuggability of Complex Asyncio Applications

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.