~/talk

Queues - The Secret Sauce

Talkat PyConline AU 2020 · 2020-09-04..09-06· [microservices, devops-and-delivery]
links:none on file
slides:none on file

Shows concrete patterns using asyncio queues to serialize access to a risky resource by confining the connection object inside a single handler task, with request/response tuples and a single-consumer loop. Demonstrates an event bus that fans out a central event queue into per-subscriber queues, uses a shutdown sentinel for graceful exit, and recommends logging to trace origins. Notes using an executor for blocking libs like SQLAlchemy or requests when needed.

AI-written summary · about

  1. 0:00Intro
  2. 1:37A Simple Queue
  3. 3:01Locking Things Down
  4. 4:32The Silver Bullet
  5. 5:53Serialising Using Queues
  6. 7:34Event Dispatching
  7. 9:58A Thin Event Bus
  8. 10:56Publishing Events
  9. 11:17Subscribing to Events
  10. 12:45Summary
~/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.