~/talk

Introduction to Gevent

Talkat EuroPython 2011 · 2011-06-20..06-26· [python]
links:none on file
slides:none on file

Gevent is a C-extension networking library that gives greenlets (user‑level coroutines) and uses libev for an event loop plus c-ares for asynchronous DNS; it claims ~60,000 greenlet switches/sec and a single process scaled from ~5,000 to ~10,000 concurrent connections in a real deployment. It monkey‑patches the stdlib so blocking socket and DNS calls become cooperative, provides spawn/pool/timeouts and a WSGI server (keep‑alive missing in older builds), and notes C DB drivers may still block.

AI-written summary · about

  1. 0:00Gevent introduction
  2. 1:11Gevent origins and foundations
  3. 2:37Gevent 1.0 changes
  4. 3:18Blocking vs non-blocking sockets
  5. 5:25Event loops and callbacks
  6. 6:29Gevent’s multitasking model
  7. 7:12Coroutines and types
  8. 8:15Stackful vs stackless coroutines
  9. 9:18Greenlets and execution context
  10. 10:43Greenlet performance
  11. 12:30Gevent’s event loop and libev
  12. 13:56Hub greenlet and sleep
  13. 15:43Cooperative sockets
  14. 16:46Monkey patching
  15. 18:11Greenlet API and timeouts
  16. 19:37Greenlet pools
  17. 20:41Async communication tools
  18. 21:44Gevent web servers
  19. 22:47Database drivers
  20. 23:51Community projects
  21. 24:56Gevent 1.0 plans
  22. 25:18Why choose Gevent
  23. 25:40Q&A
~/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.