High throughput data processing with GenStage
summary
Shows how GenStage composes producers, producer_consumers and consumers to implement micro‑batching, partitioning, retries and backpressure with concrete numbers and code. Demonstrates a basic producer/consumer with max_demand 100, a partitioned topology into 3 partitions plus a broadcast selector that routes events by color, and a custom rate limiter 10 every 5s that emits red events on a 5‑second window. Notes real use scaling to ~500 GB/day and points to Flow and Broadway as higher‑level libraries.
AI-written summary · about
chapters (8)
- 0:00Introduction and concepts
- 2:25Partitioning data
- 5:34Back pressure management
- 6:47Error handling strategies
- 7:43Basic GenStage example
- 10:55Advanced topology example
- 15:21Rate limiting demonstration
- 17:53Ecosystem and Q&A
related talks
45mKEYNOTE: Announcing Broadway
48mTaming & Composing High Performance Stream-Oriented Processing Systems
31mHelp I need a stream processor - learning how to chose ...
39mLessons From Our First Trillion Messages with Flow
01h 00mIn Depth Kafka Streams
43mConnecting Reactive Applications with Fast Data Using Reactive Streams
44mImprove your App UX with one model processing insights from batch and streams
44mData Processing With Microservices
