Real-time Stream Processing without Migraines
summary
Hazelcast is used as an all-in-one platform with embedded Java maps and SQL to read Kafka, apply sliding windows and enrich streams from batch maps, avoiding chains of separate tools. The demo shows a pipeline processing ~89,665,334 events and enforces 50–100 ms SLA for card transaction checks. Key decisions: use local data for low latency, prefer JVM for stream code and Python VM for models, optimize serialization, and consolidate storage plus processing to cut inter-component hops.
AI-written summary · about
chapters (23)
- 0:00Introduction and welcome
- 0:26What is real-time stream processing
- 3:09Time decay and value of data
- 6:17From delayed to instant actions
- 9:15Challenges in production scaling
- 10:28Real-time vs batch data
- 11:13Microservices for decoupling
- 13:28Embedded mode for ultra-low latency
- 14:13Handling spikes and Black Friday
- 15:23ATM fraud detection example
- 18:57DIY vs simplified stream processing
- 20:49Why fewer tools reduce latency
- 22:22Hazelcast for real-time processing
- 23:32Security for data at rest and motion
- 24:17Machine learning models in apps
- 25:32Demo setup and pipeline
- 26:17Converting batch to real-time
- 28:05Windowing in stream processing
- 29:55Enriching data with context
- 31:07Demo of real-time events
- 32:18Flagging fraud in real time
- 34:12Key takeaways from the talk
- 35:49Q&A on throughput and bottlenecks
