← All cheatsheets
Data Engineer · #024 · August 16, 2026 · 2 min read

Batch vs streaming: do you actually need real-time data?

Nobody needs 'real-time'. They need a freshness number, and most have never been asked for it. The one question that settles the choice, the honest cost gap, and the micro-batch middle that covers almost everything.

Get the free PDF

One page, print-ready, free to share. No signup needed.

Download the PDF

"The dashboard must be real-time." Ask one follow-up question and the requirement usually dissolves:

PM:  the dashboard must be real-time
you: how fresh, exactly?
PM:  people check it on Mondays

Nobody needs "real-time". They need a freshness number, and most stakeholders have never been asked for one.

Two delivery models

Batch runs on a schedule: cron, Airflow, dbt, plain SQL. It is cheap because compute only exists while the job runs, and it is operable because a failed run is re-run, not paged.

Streaming processes events in seconds: Kafka, Flink, Kinesis. It is genuinely necessary for a small set of problems, and it brings distributed-systems homework: event ordering, late data, replays, exactly-once semantics, and infrastructure that never sleeps.

batchmicro-batchstreaming
freshnesshoursminutesseconds
infra cost$$$$$$$
failure modere-run the jobre-run the windowpage someone at 3am
team skillsSQLSQL + tuningdistributed systems

The freshness interview

One question settles the architecture: "what decision changes if this data is an hour old?"

  • Monthly report: daily batch. Anything more is theater.
  • Morning dashboard: nightly batch, done before coffee.
  • "Feels live" ops screen: micro-batch every few minutes.
  • Fraud, alerts, pricing: genuine streaming. The real use case.

In most companies, the honest answer to "how fresh?" is "by tomorrow morning". That is a batch job, and the budget saved is real.

The middle almost nobody names

Micro-batching, a small batch every one to five minutes, delivers minutes-fresh data on boring batch tooling. Same SQL, same testability, same re-runs. For the large class of dashboards that should feel current, users cannot tell it from streaming, and the on-call rotation certainly can.

The trap

Three months of Kafka feeding a dashboard one person opens on Monday. The pipeline costs more than the insight it carries, and every incident costs a night. Start with batch. Move to micro-batch when someone actually waits on data. Stream when seconds change money.

The takeaway

Get the freshness number before the architecture. Batch by default, micro-batch when minutes matter, streaming when seconds do. The print-ready PDF above has the interview, the cost table and the trap on one page.

Frequently asked questions

What is the difference between batch and streaming data processing?
Batch moves data on a schedule: a job runs nightly or hourly, processes everything that accumulated, and stops. Streaming processes each event within seconds of it happening, on infrastructure that never stops. The gap between them is not speed alone; it is cost, failure modes and the skills the team needs.
When is streaming actually worth it?
When a decision changes within seconds of the data arriving: fraud blocking, operational alerts, live pricing, real-time recommendations. If the consumer of the data is a human who checks a dashboard a few times a day, the decision latency is hours, and streaming buys nothing that a scheduled job does not.
What is micro-batching?
Running a small batch on a short interval, every one to five minutes. It delivers minutes-fresh data on ordinary batch tooling: same SQL, same re-runs, no always-on cluster. For dashboards that should feel live, it is usually indistinguishable from true streaming at a fraction of the complexity.
How much more expensive is streaming than batch?
Commonly several times more, before counting people. Batch pays for compute only while the job runs; streaming pays for always-on infrastructure, plus engineering time for ordering, late events, replays and exactly-once guarantees, plus the on-call rotation. The honest comparison includes the 3am pages.

Get the free PDF

One page, print-ready, free to share. No signup needed.

Download the PDF

More cheatsheets