Karafka - Ruby Framework for Event Driven Architecture
summary
Karafka is a Ruby framework that wires Kafka into apps with an explicit router, consumer groups, responders and a CLI so teams avoid low-level Java client plumbing; it uses concurrent-ruby, batch fetch + lazy params, topic mapping and replayable offsets. Production claim: a single Karafka process handles ~55k messages/s per process and sub-millisecond publishes; a deployed use case ingests ~100M events/day for behavioral fraud detection across 25M daily active users with ~2.5M blocked logins, and supports rewind/replay to fix logic.
AI-written summary · about
chapters (8)
- 0:00Introduction and speaker intro
- 3:17Event-driven architecture basics
- 13:30What is Apache Kafka?
- 21:00Kafka libraries in Ruby
- 22:30Introducing Karafka framework
- 27:11Karafka architecture and components
- 33:21Karafka performance and features
- 37:20Real-world use case at Castle
related talks
31mEvent Streaming on Rails
11mSpinning up micro-services using Ruby/Kafka
54mMicroservices with Kafka
31mEvent driven communication with Kafka on Kubernetes
27mEvent Streaming Patterns for Ruby Services
11mSpinning up micro-services using Ruby/Kafka
28mThread-Coordinated Ractors: The Pattern That Delivers
01h 00mKafka for .NET Developers
