Late-arriving Data
Also known as: late data, out-of-order data.
Records that reach a pipeline after the period they describe has already been processed or reported. They are normal, so a pipeline needs a rule for them.
Synthetic dataExamples on this page use synthetic data created for illustration.
Not adviceThis is educational material. It is not investment, business or other professional advice.
Definition
Late-arriving data are records that reach a pipeline after the period they belong to has already been processed or reported. They are common, through delayed reports, corrections and offline devices, so a pipeline needs an explicit rule: ignore them, reprocess, or record a revision.
In plain terms
The moment something happened and the moment you learn about it are different times, and the gap is not constant. A store uploads Monday’s sales on Wednesday. A source corrects last month’s figure. A sensor was offline for a day and sends its backlog.
Ignoring late data silently makes totals too low. Overwriting yesterday’s report silently makes it impossible to say what it showed when it was published. The careful approach keeps both: the revised value, and the fact that it became known later.
Example
Monday’s sales of a store group, as the system learned them:
| Report as of | Monday total | Why it changed |
|---|---|---|
| Tuesday 09:00 | 1,000 | First upload |
| Thursday 09:00 | 1,040 | Two stores uploaded on Wednesday |
Both numbers are right as of their time. A weekly review written on Tuesday used 1,000; recomputing it from today’s table would use 1,040. Keeping both, with the time each became known, is what lets you reproduce the Tuesday report and also see the revision.
Common misunderstandings
- “Late data is bad data.” It is real data that arrived late; discarding it biases totals downwards.
- “Just reprocess the old period.” Do it as a revision that keeps the earlier version, or past reports cannot be reproduced.
- “A fixed delay solves it.” Waiting longer reduces the problem but never removes it; a rule for stragglers is still needed.
References
- Tyler Akidau et al.. The Dataflow Model: A Practical Approach to Balancing Correctness, Latency, and Cost in Massive-Scale, Unbounded, Out-of-Order Data Processing . Proceedings of the VLDB Endowment, 2015. DOI: 10.14778/2824032.2824076
- Martin Fowler. Bitemporal History . martinfowler.com, 2021.