DATA ENGINEERING
Not Every Decision Needs Real Time Data
A practical guide to choosing batch, microbatch, change data capture and streaming around the decisions your business needs to make.
ArticleKCM InsightsPublished September 19, 2026Data Engineering

“Can we make this dashboard real time?”
Before choosing the technology, establish what someone will do with faster information.
A service manager may need new priority cases within minutes. A finance team may use approved figures each morning. An automated transaction check may need an answer before the transaction proceeds. Each requires a different definition of “in time.”
Faster data earns its place when it changes an action, prevents a missed opportunity or reduces a meaningful delay. It also brings responsibilities: handling corrections, recovering from interruptions, monitoring delivery and supporting the people who rely on the result.
Choose the simplest processing approach that can meet the business deadline reliably. Six questions can help turn a request for real time data into a clear architecture decision.
First, separate capture from processing
Batch, microbatch, streaming and change data capture describe related choices, but they do different jobs.
| Approach | What it does | A possible use |
|---|---|---|
| Batch | Processes a bounded set of records, on a schedule or after a trigger | Preparing an approved daily sales report |
| Microbatch | Processes arriving records in small groups at frequent intervals | Updating an operational work queue |
| Streaming | Processes a continuing flow of events and can maintain results as events arrive | Detecting a time sensitive sequence of events |
| Change data capture, or CDC | Captures changes from a source database for use elsewhere | Supplying inserts, updates and deletes to an analytics pipeline |
CDC can feed several processing patterns. Database changes might be captured continuously, applied to an inventory view in small batches and reconciled against a daily snapshot. Debezium’s documentation describes its capture of database row changes as streams of change events.
Microbatch can also be how a streaming engine executes work. The labels do not establish a fixed delivery speed: Databricks documents both triggered and continuous execution for streaming workloads. Specify the behaviour you need before selecting a product or pattern.
Six questions to ask before accelerating a pipeline
1. When can the business act?
Name the person or system, the action and the latest useful arrival time. Then ask what changes if the information arrives sooner.
“The service manager needs new priority cases within ten minutes to reassign staff” is a requirement the team can design and test. “Refresh every minute” leaves the business purpose unresolved.
Measure the delay across the complete journey, including source publication, processing and the report or application. Google Cloud’s pipeline planning guidance recommends measurable freshness and correctness objectives, with indicators that cover the wider system as well as the pipeline.
2. What freshness can the source support?
Find out when the source actually releases information. A supplier that sends one hourly file sets a limit that faster downstream processing cannot remove. Starting a batch when the file arrives may meet the need.
For database sources, confirm which changes the available connector captures, how it handles deletes and what happens after an interruption. Record the time of the business event separately from the time it reaches your platform. A newly loaded record can still describe an old event.
3. How should late information change the answer?
A sale may arrive before its cancellation. Two systems may update at different times. A corrected record may belong to a period already reported.
Agree whether early results are provisional, how corrections will appear and when a period is considered complete. Apache Flink’s streaming analytics documentation explains the tradeoff between waiting for more events and publishing sooner, including the option to update initial results when late data arrives.
This is a business decision as well as an engineering setting. Users need to know whether a changing number is expected.
4. Can the service recover without changing the result?
Test what happens when processing stops, then resumes. Can the team replay missed records, identify duplicates and reconcile the restored output with the source? How long is the required history retained?
Flink, for example, combines checkpoints with stream replay for recovery, subject to the capabilities of the sources and connectors. Its fault tolerance guidance also describes the tradeoff between checkpoint overhead and recovery time.
A successful restart is only one check. Verify that the receiving report or application reflects the expected records and corrections.
5. Who will operate the service?
Decide who responds when information is late, incomplete or unavailable, and during which hours. Include source owners and the people responsible for the consuming application.
Check actual delivery against the business deadline. Configuration alone cannot prove it. Snowflake’s dynamic table guidance, for example, defines target lag as a staleness objective and explains that actual lag can exceed it.
Agree what users should do during a delay: wait, use an approved dated result or pause a dependent action. Build that response into the service.
6. What does the next improvement cost?
Compare a few useful options, such as daily, hourly, every fifteen minutes and within seconds. For each, name the additional action it enables.
Include infrastructure, engineering, testing, monitoring, support and reconciliation effort. Frequent incremental processing may reduce repeated full scans, while other designs add continuous compute or operational work. Measure the chosen implementation instead of assuming that one pattern is always cheaper.
The business owner should be able to explain why the next reduction in delay is worth its total cost.
An inventory example: three decisions, three deadlines
Consider a distributor whose analytics load runs overnight. Its team asks for a real time inventory dashboard.
Discovery reveals three needs. Executives review inventory each morning. Replenishment staff make purchasing decisions every thirty minutes. The online store reserves stock through its operational inventory service when customers order.
The team chooses a pilot for replenishment. Where the source supports it, CDC captures inventory and order changes. A curated view is updated every ten minutes, with an agreed target for how old the underlying information may be when staff use it. A daily reconciliation checks quantities and corrections. The ten minute schedule must still be tested against the full delivery delay.
The executive report keeps its morning cadence. The online store continues to reserve stock through its operational inventory service. Replenishment staff use the analytics view to plan purchases.
During the pilot, the team tests a missed update, a cancellation and a processing interruption. It measures whether replenishment staff receive useful information before their next decision, whether quantities reconcile and how much support the service requires.
If the shorter delay improves purchasing decisions, there is a basis for extending it. If staff still wait for a separate approval or supplier cutoff, address that constraint before funding another increase in speed.
Start with one decision
Before changing the wider platform, write a short brief for one important report, queue or automated action. Record its owner, deadline, acceptable data age, correction rules and response to delay.
Trace the source and delivery path, then pilot one useful improvement. Include a recovery exercise and compare the business result and operating cost with the current process. Let that evidence determine whether to extend, adjust or stop the change.
