~/talk

Event Streaming on Rails

Talkat RailsConf 2022 · 2022-05-17..05-19· [ruby-on-rails, microservices]
slides:none on file

Large Rails monolith (about 43,000 Ruby files and thousands of routes) migrates to Kafka-based event streaming using the Ruby Kafka gem, Kafka Connect and CDC to avoid dual-write and enable region-to-region replication and replays (retention ~one week). A transactional outbox pattern ensures transactional consistency, Kafka multicasts allow independent consumers, and Kafka Connect / hosted MSK or Confluent handle ops; the pipeline is built and works but requires careful idempotency and schema management.

AI-written summary · about

  1. 0:00Welcome
  2. 1:05Procore’s Rails scaling
  3. 3:10Event streams and Kafka
  4. 4:32Kafka from Ruby
  5. 7:43Why Kafka for Rails
  6. 11:30Service communication in Rails
  7. 13:58Multicast with event streams
  8. 16:24Kafka Connect and data stores
  9. 18:30Event sourcing and CQRS
  10. 22:00Replication strategies
  11. 23:22Kafka in Rails apps
  12. 25:29Dual writes and CDC
  13. 28:16Consistent producers
  14. 28:58Summary and future
~/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.