projection
A copy of data reshaped for one purpose, such as a search index or cache, built from the source of truth.
In more detail
Projections are healthy as long as they are disposable: they can be deleted and rebuilt from the owner, and their lag is measured. A projection that accepts its own writes has quietly become a second source of truth.
Related terms
- source of truth — The one authoritative place a fact is recorded, from which every copy is derived instead of being maintained separately.
- search index — A separate store built for text search, filters and relevance ranking, fed from the source of truth.
- reconciliation — Comparing copies of data with the source of truth and correcting any that have drifted.
- replay — Delivering or returning something again: a stored result for a repeated request, or past events for a client that missed them.
Taught in
- The Storage Decision: Relational Versus Document — Scalable System Design & Distributed Architecture
- The Storage Decision: Key Value, Search And Blob — Scalable System Design & Distributed Architecture
- Eventual Consistency And What It Costs A Product — Scalable System Design & Distributed Architecture
- The Difference Between A Queue And A Log — Scalable System Design & Distributed Architecture
- Worked Design Three: A Metrics Ingestion Pipeline — Scalable System Design & Distributed Architecture