~/talk

Event Streaming Patterns for Ruby Services

Talkat RubyConf TH 2023 · 2023-10-06..10-07· [microservices, ruby]
slides:none on file

Procore runs a 43,000‑file Rails monolith with 1,123 tables, 4,000 API endpoints and ~300 engineers and solves cross‑service, multi‑region consistency by putting changes into Apache Kafka (MSK → Confluent Cloud), using karafka clients, one‑week retention and replay. Dual‑write issues prompt either Debezium CDC via Kafka Connect or a transactional outbox pattern; consumers must be idempotent because Kafka gives at‑least‑once delivery and guaranteed ordering. Topics auto‑back up to S3 for a hoped‑for replay, and use cases include search (Elasticsearch), reporting (Snowflake), materialized views and cross‑region replication.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Procore’s streaming platform
  3. 5:18Service communication failures
  4. 7:04Apache Kafka introduction
  5. 10:37Kafka features and benefits
  6. 12:24Consistent Kafka pipelines
  7. 15:53Dual write problems
  8. 18:43Transactional outbox pattern
  9. 20:46Kafka consumption and idempotency
  10. 22:30Kafka use cases at Procore
  11. 26:22Summary
~/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.