Lesson · 6 pages · about 5 min
What breaks if it is late?
Before choosing streaming or batch, ask who reads the data and what breaks if it is an hour or a day old. The answer picks the design, and the bill.
- What it is
- A data pipeline carries the shop’s orders from the checkout to a sales dashboard: all at once each night (batch), or continuously as they happen (streaming).
- What it is for
- People make decisions from that dashboard. Numbers that arrive after the decision are useless, however correct they are.
- Use it when
- Read this first, before picking any data tool: the answer chooses between a nightly job, small batches every few minutes, or a stream.
Words you’ll learn
- Event
- Stream
- Dashboard
- Batch job
- Busiest hour
- Micro-batch
- Late event
- Time window
- Database
- Stream processor