~/talk

Coroutines, Async/Await, Asyncio and the Pulsar Library

Talkat PyOhio 2015 · 2015-08-01..08-02· [python, concurrency]
links:none on file
slides:none on file

Compares threading, naive multiprocessing (crashes when spawning 10,000 sleeps), Go (~11s) and asyncio, showing concrete code: using asyncio.sleep futures, event loop, yield from in 3.4 and async/await vs yield from in 3.5 beta as built-in coroutine types; shows Tornado integration, aioredis/aiopg-style libraries, and websockets working without extra threads. Describes Pulsar as an actor-based Pulsar framework layered on asyncio (actors addressed by name, multiprocessing via actors), notes Docker for Python 3.4/3.5 testing and current sparse documentation.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 1:17Understanding async IO
  3. 4:17Why use asynchronous code?
  4. 5:49Concurrency comparisons
  5. 10:07Async IO implementation
  6. 12:39Async and await syntax
  7. 14:06Benefits of the standard library
  8. 17:45Ecosystem and libraries
  9. 21:35Real-world web example
  10. 27:22Pulsar and the actor model
  11. 33:04Q&A and concluding remarks
~/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.