~/talk

DIY Async Message Pump: Lessons from the trenches

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [microservices]
slides:none on file

A simple async pump using TPL and async/await becomes dangerous when unbounded concurrency spawns tens of thousands of tasks (demo shows ~30,000 ops in 100ms), overwhelming a database connection pool; the fix is a concurrency gate like semaphore slim (example limits to 3 or sized to DB pool e.g. 100) plus graceful shutdown. Builds include transactional patterns (MSMQ+SQL DTC two‑phase commit), cloud caveats (visibility timeouts, costs) and broker features like send-via; the library works in production for months until middleware and topology needs make it brittle.

AI-written summary · about

  1. 0:00Intro
  2. 0:13DIY Async Message Pump Lessons from the trenches
  3. 4:22doom
  4. 6:18messaging
  5. 20:26concurrency
  6. 23:57Rush hour
  7. 32:17As time passes
  8. 38:32Life beyond transactions
  9. 47:41Penny Pinching
  10. 57:38insights
~/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.