~/talk

DIY Async Message Pump: Lessons from the trenches

Talkat .NET Summit 2020 Online Conference · 2020-08-07..08-08· [microservices]
slides:none on file

Builds a real async message pump using TPL/async that runs until cancelled, shows SemaphoreSlim-based throttling to match a DB connection pool (example default pool ~100, demo limited to 3), and explains long polling vs SDK push. Compares transports: MSMQ, RabbitMQ, Azure Service Bus (atomic send/receive), Azure Storage Queues and SQS (visibility timeout), Kafka, AmazonSQS, SQL Server. Covers batching limits (256KB standard / 1MB premium for Azure SB, 64KB storage queues), visibility timeouts, and retry/transaction tradeoffs.

AI-written summary · about

  1. 0:00Introduction to async message pump
  2. 1:04Patient record system challenges
  3. 3:12Message pump architecture design
  4. 6:21Basic message pump features
  5. 7:22Initial message pump implementation
  6. 11:14Rush hour and critical time
  7. 13:21Adding concurrency to pump
  8. 15:26Unbounded concurrency risks
  9. 18:38Limiting concurrency with semaphore
  10. 22:48Maintaining the abstraction
  11. 24:34Extending the message pump
  12. 27:18Transaction handling in pumps
  13. 30:07Cloud transaction modes
  14. 33:12Cloud latency and cost considerations
  15. 37:39Batching messages for efficiency
  16. 43:12Advanced pump requirements
  17. 44:55Monitoring distributed systems
  18. 45:37Conclusion and takeaways
~/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.