~/talk

Efficient Communication Between Python Microservices using LavinMQ

Talkat XtremePython 2024 Online Conference · on Tuesday, 2024-11-19· [microservices, python]
linkedin:dustinturp
slides:none on file

LavinMQ is an open-source Crystal broker used by 84codes and supports AMQP 0-9-1 and MQTT; it writes messages to disk as memory-mapped segment files with an in‑memory queue index so writes avoid heavy fsyncs and the system sustains virtually unbounded queue lengths. Example migration replaces synchronous Slack→ChatGPT HTTP calls with producer/consumer queues so producers keep sending during consumer downtime, enabling hundreds or thousands of messages per second and straightforward horizontal scaling via more worker instances.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 2:34Microservices vs monoliths
  3. 5:46Synchronous vs asynchronous
  4. 9:00Introducing LavinMQ
  5. 14:24Message broker architecture
  6. 15:59Monolith example
  7. 19:02Microservice example
  8. 22:23Scaling with message brokers
  9. 23:31Q&A and resources
~/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.