~/talk

From WSGI to ASGI - Django 3.0

Talkat PyCon Italia 2023 · 2023-05-25..05-28· [web-platform, python]
links:none on file
slides:none on file

Built a small web app from scratch to trace how requests flow, discovering WSGI’s callable environ, start_response and ASGI’s coroutine application(scope, receive, send). Shows that Django 3.0 ships ASGI so Django can handle websockets, streaming (more_body chunks) and nonblocking IO, while WSGI blocks a worker on long IO. Mentions Gunicorn/uWSGI for WSGI and Uvicorn/Hypercorn/Daphne for ASGI, notes ASGI raises concurrent throughput for IO-bound cases but WSGI can still outperform in some sync-heavy workloads.

AI-written summary · about

  1. 0:00Intro
  2. 0:14Background
  3. 1:32Memes
  4. 2:23Exceptions
  5. 3:48Whiskey
  6. 4:29What is an interface
  7. 9:05ASGI
  8. 12:11Scope
  9. 12:35Socket Communication
  10. 13:42ASCII Communication
  11. 14:21ASGI Servers
  12. 14:44Questions
  13. 16:10Channels
~/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.