Marking a Result as Stale
A useful result can be older than the consumer expects. Record the relevant observation time or freshness status explicitly so it can be used appropriately.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace a cached observation
An inventory count collected ten minutes ago can be shown in a historical report. Using it to guarantee one active reservation requires a different guarantee. Cache invalidation describes how the source can change.
Choose visible consequences
Show the observation time, and put restrictions on actions using stale data where the contract requires it. Timestamps and durations distinguish the recorded moment from its age.[1]