~/talk

So You’ve Got Yourself a Kafka: Event-Powered Rails Services

Talkat RailsConf 2018 · 2018-04-17..04-19· [ruby-on-rails, databases]

Explains Kafka basics and concrete Rails tooling: ruby-kafka, Racecar, DeliveryBoy and Karafka wrappers; recommends monitoring offsets and using consumer groups tied to topic partitions to parallelize work. Cites Netflix/LinkedIn/Microsoft sending ~a trillion messages/day. Warns ruby-kafka operates with an at-least-once model so consumers must handle duplicates (UPSERT or idempotency), describes simulating outages by rewinding offsets in Gameday tests, and contrasts JSON payloads with AVRO + schema registry and AVRO::Builder for safe schema evolution.

AI-written summary · about

  1. 0:00Start
  2. 2:07DISTRIBUTED STREAMING PLATFORM
  3. 3:32Producers
  4. 4:02How is this different from Sidekig or Resque?
  5. 10:36High Throughput
  6. 11:17Consumer Agreement is Tricky
  7. 12:32Scalable and Fault Tolerant
  8. 13:17KAFKA POWERED SERVICES
  9. 14:39Challenge 1: Upstream service is responsible for downstream availability
  10. 15:41Challenge 2: New downstream services require changes to the upstream service
  11. 16:22New Challenge: Dependencies are no longer explicit
  12. 16:57The Many Meanings of Event-Driven Architecture
  13. 19:40Event-Sourced Architecture
  14. 21:56Command Query Responsibility Segregation
  15. 22:12CRUD vs CORS
  16. 23:38When to use it?
  17. 24:28PRACTICAL CONSIDERATIONS
  18. 24:50SLOW CONSUMERS
  19. 27:38ruby.kafka#what-to-monitor
  20. 29:21Design Consumers for Duplicated Events
  21. 30:32Downside to Data Flexibility
  22. 31:30Schema Registries
  23. 32:15JSON
  24. 34:00Avro::Builder
~/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.