Stream and Batch Processing
Many designs include counting, aggregating or analysing large volumes of events: view counts, trending topics, fraud signals, billing. You need to choose between batch (complete, cheap, delayed) and stream (fresh, more complex), and know the core streaming ideas: windows, event time and late data.
In this lesson
- Learning objectives
- Batch vs stream
- Windows and time
- Exactly-once results
- Example: YouTube-style view counts
- Self-check
Questions covered
- Design trending hashtags for the last hour.
- When choose batch over stream?
This lesson is part of System Design Interview: Concepts, Patterns & Real Designs. Unlock the full course to read it, take the quiz and track your progress.