~/talk

Decouple all the things: Asynchronous messaging keeps it simple

Talkat ArrrrCamp 2015 · 2015-10-01..10-02· [ruby, microservices]
slides:none on file

Demonstrates that AMQP messaging with RabbitMQ and the bunny gem in Ruby moves master‑data updates from fragile REST push to durable publish‑subscribe and task queues, preserving messages while consumers are down, letting new consumers bind without changing producers, and enabling parallel image processing and large migrations. Shows a live demo with two workers (sleeping 2s and 5s) illustrating round‑robin vs prefetch balancing, explains idempotent handlers, small JSON payloads with routing keys, and successful shadow‑traffic testing of a new frontend.

AI-written summary · about

  1. 0:00Start
  2. 2:07Master data updates need to propagate
  3. 6:36Interoperability
  4. 7:30Message Flow
  5. 9:08Messages contain payload and routing key
  6. 11:47No information lost if consumer down
  7. 12:13Add consumers without touching producer
  8. 13:18Different messages for different client needs
  9. 14:35Example Message
  10. 15:57Why not include updated data?
  11. 16:33No guaranteed order - aim for commutativity
  12. 18:15No exactly once delivery - aim for idem-potent messages
  13. 19:08Add producers without touching the consumer
  14. 19:33Centralized tracking of decentralized events
  15. 20:36Avoid n-m routing, keep breaking changes manageable
  16. 22:22Notifications/Events-producer state changed
  17. 22:40Task/Command-consumer state to change
  18. 22:58Run tasks asynchronously
  19. 24:02Improve response time, avoid downtimes, gain reliability
  20. 25:19Scaling on the fly
  21. 27:52Migration without downtime
  22. 29:39Test without impacting users
  23. 38:01Flexible Routing via different Exchange Types
~/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.