Operations and security
Data age remains visible. Which conditions ensure a valid result?
A fast server can provide outdated travel data.
Starting point Measure expansion count and data access time separately.
Assumptions for the example case
A fictional journey planner for buses, trains and walking routes in one region. Each response binds a timetable version and a real-time snapshot. The scope ends with journey information, without a booking commitment. All quantities, thresholds and operational objectives are illustrative assumptions.
Data age and rollback
Data age and rollback
Data maintainers activate only validated generations; the pointer and validation record support rollback.
Access and recovery
- Data-minimising journey information
- Process locations and journey histories only as needed for the request. Operational logs use broad error categories and exclude complete movement profiles.
- Roll back an import
- After a faulty import, data maintainers activate the previous validated generation. Running searches retain their pinned version; new searches use the corrected version.
Business outcome and completion
- Evidence ownership
- Result, no route, partial result and timeout are terminal outcomes for a search query. Travellers start a new query to use newer data.
Data age remains visible.
Real-time data older than 90 s is marked.
A fast server can provide outdated travel data.
Data up to and including 90,000 ms old is within the illustrative freshness limit; from 90,001 ms it is marked as stale. Data maintainers activate a validated previous generation; running searches retain their pinned version.
- Alternative considered
- Response latency alone says nothing about timeliness.
- Trade-off
- The warning can reduce confidence in apparently good routes.
- Reassess
- The provider's update frequency determines realistic freshness limits.
Try it yourself
Evaluate data ages of 89,999, 90,000 and 90,001 ms, and name the role responsible for rollback.
A hint for your attempt
A fast server can provide outdated travel data.
Compare with a possible solution
- Age rule
- Data up to and including 90,000 ms old is within the illustrative freshness limit; from 90,001 ms it is marked as stale.
- Rollback
- Data maintainers activate a validated previous generation; running searches retain their pinned version.
Apply to your project
How does this principle apply in your own project: Data age remains visible.