~/talk

Write fast, reliable, and secure clients!

Talkat RabbitMQ Summit 2022 · on Friday, 2022-09-16· [developer-experience]
speakerdeck:carlhoerberg
slides:none on file

Claims a new amqp-client for Ruby is about half the code size and four times faster than bunny, and a TypeScript client adds WebSocket support for browser + Node.js. Describes building a Crystal client and an in-house Lavin mq that sustains ~1.2M publishes/sec for benchmarking. Recommends concrete practices: use Wireshark, preallocate frame buffers, coalesce the three publish frames to cut syscalls, prefer TCP keepalive over default heartbeats, implement strict reconnect state handling and always clear unconfirmed publishes and prefetched messages.

AI-written summary · about

  1. 0:00Introduction
  2. 3:45AMQP protocol basics
  3. 17:26Client library architectures
  4. 23:33Sockets and heartbeats
  5. 27:09Memory management and backpressure
  6. 31:04Error handling and timeouts
  7. 33:58Performance optimization
  8. 37:17Community improvements
~/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.