Real-time analytics is worth considering when an earlier trustworthy result changes a decision that can still be executed. Measure the entire interval from the business event to completed action, then compare the additional opportunities created by shortening one stage with the ongoing cost. Batch processing may suit work that can only be handled the next day. Work that loses its value within minutes requires an examination of the whole chain. Framework processing speed alone is not a measure of business benefit.
Identify the decision that changes when information arrives late
Purchasing, warehouse transfers and monthly closing can read the same order table but make decisions at very different times. A request for a real-time dashboard does not yet specify an architecture. For each use, identify who reads the result, what they can do next, the latest useful completion time and any value remaining after that deadline. Earlier visibility usually creates no additional action opportunities if the responsible person still checks on the old schedule.
Separate analytical signals from operational controls. A warning that a warehouse may be short of stock can tolerate an approximate observation with an explicit cutoff. Reserving inventory for an order requires a fresh check and execution in the authoritative business system. Continuous analytics does not automatically acquire the power to prevent overselling or reverse transactions. Decisions requiring synchronous millisecond control need a separate control path, rather than just a faster dashboard.
The Dataflow Model paper frames unbounded, out-of-order processing as a tradeoff among correctness, latency and cost.[1] Its contribution used here is that framing, not a performance claim: agree on acceptable waiting and revisions before choosing a processing mode. The paper was published in 2015; this is an enduring design issue, not a newly announced trend.
Break data age into intervals with accountable owners
For one business event, retain six timestamps: occurrence, availability for reading at the source, analytical ingestion, result visibility, start of intervention and completed action. The first interval is source-recording delay. Ingestion may involve waiting for a batch. Computation, quality checks and publication take processing time, followed by the time people or systems actually need to act. Use consistent time zones and units. Preserve missing timestamps as unknown instead of substituting collection time.
Visibility time minus the latest event timestamp does not necessarily measure completeness. An old last event can be normal at a store with no new transactions. A disconnected store may be hidden by another store producing fresh records, making the combined dashboard look current. Acceptance should track verified coverage boundaries, missing partitions and exceptional objects for important sources, rather than displaying only the greatest timestamp.
Apache Beam describes a watermark as an estimate of input completeness.[2] It helps determine when to emit a result but cannot guarantee that the source will never add historical records. For an exception missing a required related record, a passed window boundary is no substitute for complete evidence. A usable result should state its scope, cutoff and revision status.
Flink distinguishes bounded streams with defined endpoints from continuously arriving unbounded streams, and one framework can process both.[3] Batch versus streaming is therefore not simply a vendor choice. Fifteen-minute collections, continuously maintained selected metrics and daily reconciliation can coexist within one product. Define outputs for their consumers instead of imposing one refresh frequency on every table.
Check three paths against the same event timeline
Consider a constructed delivery-company scenario with 600 verified, actionable exceptions in a month. Of these, 360 require completed intervention within 30 minutes of the event, 180 within five minutes and 60 within one minute. The groups do not overlap, and every deadline starts at business occurrence. Counts, durations and subsequent costs are scenario inputs, not customer results.
Assume the source makes a trustworthy record readable two minutes after the event. Both the existing hourly batch and a proposed fifteen-minute batch need one further minute after extraction for computation, validation and visible publication. Continuous processing needs half a minute. All three paths require two more minutes to complete the intervention, with sufficient staff and execution resources and no additional queue. Holding these assumptions constant isolates the effect of processing architecture.
An event occurs at 10:04 and becomes readable at 10:06. If the next hourly extraction is at 11:00, the result appears at 11:01 and action finishes at 11:03: a 59-minute total. The fifteen-minute path extracts at 10:15 and completes action at 10:18, taking 14 minutes. Continuous processing makes the result visible at 10:06:30 and completes action at 10:08:30, taking 4.5 minutes. Comparing only the one-minute and half-minute processing stages misses most of the difference.
For a 30-minute deadline, the fifteen-minute and continuous paths both succeed. For a five-minute deadline, only continuous processing succeeds. None meets a one-minute deadline. Even reducing continuous processing from half a minute to 0.1 minutes leaves 4.1 minutes end to end. Serving the third group requires a change in source recording or intervention, rather than further optimization of an already short computation stage.
Translate refresh intervals into additional timely opportunities
To estimate the month, additionally assume that source-readable timestamps are uniformly distributed within the batch cycle and independent of deadline class. For a cycle of T minutes, waiting W until the next extraction is uniform between zero and T. Total batch delay is 5 + W minutes. For a deadline D, the timely proportion is max(0, min(1, (D - 5) / T)). This is a recomputable scenario assumption; an average delay alone cannot establish the actual timely proportion.
With hourly batches, T = 60. The 30-minute group has a timely fraction of 25/60, or an expected 150 of its 360 events. Five-minute events require exactly zero waiting, which has probability zero under this continuous uniform assumption. One-minute events cannot qualify. The baseline is therefore 150. A fifteen-minute cycle covers all 360 events in the 30-minute group but still covers neither other group.
Continuous processing has a fixed 4.5-minute total in this scenario and covers 360 + 180 = 540 events. Relative to hourly batches, the fifteen-minute option adds 210 timely opportunities and the continuous option adds 390. However, continuous processing adds only 180 over the fifteen-minute option. An investment review needs that last difference when deciding whether further acceleration is worthwhile; both upgrades must not claim the value of every timely action as if the baseline were zero.
Actual arrivals may be far from uniform. Shift handovers, scheduled order releases and recovery bursts change their positions within a cycle. Replay actual source-readable timestamps against each proposed schedule to derive the real timely sets. Keep inputs comparable instead of comparing different months under different architectures. Then use intervention-outcome evidence to test whether earlier availability actually improved results.
Include migration and maintenance, not just compute charges
Assume each timely intervention avoids an average net loss of CNY 40 after its variable action cost, and set erroneous interventions to zero for this example. Scenario values are CNY 6,000, 14,400 and 21,600 for hourly, fifteen-minute and continuous processing respectively. A real project must validate the CNY 40 through comparable events and intervention records. Potential order revenue cannot simply be treated as avoided loss.
All following costs are assumed increments over the existing system, in CNY per month. The fifteen-minute option adds 1,800 for infrastructure, 12 maintenance hours at 150 per hour for another 1,800, and a 24,000 implementation cost allocated over 12 months, or 2,000. Total: 5,600. Continuous processing adds 5,000 for infrastructure, 32 maintenance hours costing 4,800, and a 96,000 implementation allocated over 12 months, or 8,000. Total: 17,800. Allocation supports comparison; it does not mean cash is paid monthly.
The fifteen-minute option has an incremental net value of 210 × 40 - 5,600 = CNY 2,800 per month. Continuous processing yields 390 × 40 - 17,800 = minus CNY 2,200. Under these assumptions, the fifteen-minute upgrade is preferable. Moving from it to continuous processing adds 7,200 of value but 12,200 of cost, a difference of minus 5,000. Net value per additional timely action must exceed 12,200 / 180, about CNY 67.78, to cross this particular comparison threshold.
This is neither a vendor quotation nor a universal return threshold. An existing mature streaming platform and reusable maintenance capacity can reduce incremental cost. Night support, more state storage, networking changes and parallel operation can raise it. Separate initial cash requirements, steady operating commitments and exit costs. Avoid charging sunk expenditure again against the baseline, while also avoiding the assumption that internal labor is free.
Do not buy low latency with unexplained provisional results
An order arriving before its cancellation may cause an unnecessary transfer. Continuous processing exposes results sooner, but can also expose more temporary states to decisions. If erroneous actions occur, account for freight, reversal effort and occupied capacity, then recalculate from actual records. Count additional timely correct actions alongside later reversals instead of removing the latter from the population.
Google Cloud documents separate boundaries for processing deduplication, late-data completeness and external side effects in Dataflow.[4] Platform exactly-once semantics are therefore insufficient as business acceptance evidence. Counting an arrived event once does not prove that all required events arrived. Actions sent to external systems also need their own duplication checks. These Dataflow-specific statements are not defaults attributed to every platform.
A practical compromise publishes actionable early signals separately from reconciled results used for settlement. Early signals trigger limited actions only when required fields are present and the risk permits it. Reconciled results form a stable version after checks over the agreed scope. Keep common event identities and definitions, and specify how revisions affect actions already taken. For snapshot, deduplication and correction mechanisms, see From CDC to Trusted Data Products.
Maintenance also belongs in the timing promise. Flink 2.1 documentation describes recovery using checkpoints and replayable inputs, including the tradeoff between checkpoint overhead and replay volume.[5] This helps explain why seconds-level performance during normal operation does not establish the same during recovery. Require evidence for backlog clearance, state restoration and result reconciliation, rather than a latency screenshot from a healthy service.
Counterexamples that change the investment decision
First, source delay may dominate. If essential records for five-minute events frequently become readable only after eight minutes, continuous processing cannot recover the opportunity. Detect this by comparing occurrence with source availability, not by inferring both from downstream arrival. Improve trustworthy capture or narrow the automated commitment first. Replay the revised source-delay distribution before deciding whether lower computation latency is still worth buying.
Second, action capacity may be absent. If no vehicle or authorized person is available within five minutes, the assumed two-minute intervention is invalid. Inspect acceptance, execution start, completion and refusal reasons, separating resource-constrained events. Arrange staffing or authorization and retest the full workflow. Faster data and faster organizational response may depend on each other, but one cannot claim the other’s benefit unconditionally.
Third, continuous processing is not necessarily more expensive. Recomputing a large table hourly can be costly, and incremental maintenance may reduce total scanning. Conversely, high-cardinality joins, long revision horizons and frequent failures can increase state costs. Compare measured resources under the same definitions, throughput, recovery requirements and retention scope. Do not assume either architecture is inherently cheaper; replacing the illustrative inputs should be allowed to reverse the conclusion.
Expected monthly counts under uniform arrival phases are not per-event service commitments. If every 30-minute event must be handled on time, hourly processing fails that hard constraint even if its average value seems acceptable. Establish non-negotiable requirements first and compare costs among qualifying options. Events with different consequences should not be collapsed into one average timeliness rate.
Use a shared freshness decision card
The first field records event identity, source, scope, owner, available action and completion window, distinguishing hard requirements from desired targets. The second records all six timestamps, missing evidence and source partitions. Check that intervals are plausible and isolate unreliable occurrence times. The third records existing and proposed schedules, processing and action durations, cutoffs and revision rules, allowing another analyst to recompute the timely sets event by event.
The fourth field records additional timely correct actions, incorrect actions, unfinished actions and the evidence for their values. Specify the baseline and common observation period; do not assign all sales revenue to the benefit. The fifth covers infrastructure, state and historical storage, monitoring, recovery, internal maintenance, migration and exit, with owners and cost evidence. Code incomplete sources, absent action capacity and system faults separately instead of calling every failure slow data.
Start in an observation mode that does not change real interventions. Replay ordinary days, clustered arrivals, source outages and recovery days, checking both results and the full timeline. Expand automated use only when important boundaries are demonstrated, action capacity exists and the incremental case holds. Retain fifteen-minute processing when it covers the need. If a small set of critical events needs more speed, build a limited continuous path for those events. Update the card as business windows, inputs and operating conditions change so the architecture decision remains reviewable.
References
- Akidau et al. — The Dataflow Model (VLDB 2015; official abstract accessed 2026-11-23)
- Apache Beam — Basics of the Beam model: watermarks (accessed 2026-11-23)
- Apache Flink — Architecture: bounded and unbounded streams (accessed 2026-11-23)
- Google Cloud — Exactly-once in Dataflow: late data and side effects (accessed 2026-11-23)
- Apache Flink 2.1.1 — Stateful Stream Processing: State Persistence (accessed 2026-11-23)
