~/talk

Inside ASGI The Engine Behind Modern Python Web Frameworks

links:none on file
slides:none on file

ASGI is a 2016 specification that turns HTTP and WebSocket traffic into an event stream so a single thread can handle thousands of concurrent connections (the C10K problem) using Python async (asyncio in 3.4, async/await in 3.5). Servers like Uvicorn and Hypercorn own the event loop, build a scope dict, and hand apps two async callables—receive/send callables—so frameworks (Starlette, FastAPI) implement that contract. Middleware is plain function composition that can short‑circuit, log, or trace requests; the spec is stable and battle‑tested.

AI-written summary · about

  1. 0:00ASGI introduction
  2. 1:08WSGI to ASGI evolution
  3. 7:19ASGI specification
  4. 10:34ASGI application contract
  5. 13:54ASGI event stream
  6. 17:09ASGI server ownership
  7. 19:36Server back pressure
  8. 22:04ASGI middleware
  9. 24:13Frameworks over ASGI
  10. 25:17ASGI future
  11. 26:23Q&A 1
  12. 27:43Q&A 2
  13. 29:30Q&A 3
  14. 31:04Closing
~/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.