~/talk

Improving debuggability of complex asyncio applications

Talkat PyCon US 2023 · 2023-04-19..04-27· [python, observability]
slides:none on file

Covers aiomonitor-ng, a next-generation debugging tool for Python asyncio that extends the original aiomonitor. Describes concrete features: a telnet-accessible live REPL plus new task creation and termination trackers that record stack traces (including chained/nested traces), and a richer async TUI built with prompt_toolkit and Click to improve inspection and autocomplete for production debugging of complex asyncio apps.

AI-written summary · about

  1. 0:00Intro
  2. 1:39About Lablup
  3. 3:24Production debugging
  4. 4:36Solutions for "hard" problems
  5. 7:11Traceback in asyncio
  6. 11:43Task creation chain tracker
  7. 13:37Task termination tracker
  8. 15:01Task cancellation chain tracker
  9. 16:03Task termination & cancellation chain tracker
  10. 20:18Case: Backend.Al "hangs"
  11. 22:43Case: Backend.Al "hogs the CPU"
  12. 23:53Case: Hidden bomb inside a 3 party dependency
  13. 24:52Lessons
  14. 26:46Future Work
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.