~/talk

asyncio Exposed: Beyond the Happy Path

Talkat PyCon Israel 2025 · on Tuesday, 2025-09-09· [python, concurrency]
links:none on file
slides:none on file

Asyncio is not magic — the event loop decides when coroutines run, create_task yields real concurrency while await can serialize work, and blocking libraries (e.g. requests) freeze the loop so a 2s timeout can appear only after 20s. Practical fixes shown: switch to async-aware HTTP clients or offload blocking calls to threads (run_in_executor), trace long-running coroutines locally with the loop in debug mode, and add targeted monitoring to catch the silent failures before production.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:06Speaker background and motivation
  3. 2:15Why asyncio and its challenges
  4. 4:24Basic asyncio concepts
  5. 5:51How coroutines work under the hood
  6. 7:15Silent bugs in asyncio
  7. 9:42Common asyncio performance mistakes
  8. 11:27Blocking the event loop
  9. 14:02Timeouts and event loop impact
  10. 16:33Debugging asyncio issues
  11. 17:56Why understanding asyncio matters
  12. 19:00Key takeaways and summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.