Caching
Kind: pattern
Layer: Performance Core
Record: architecture:caching
Severity: contextual
Scope: data access, computation, API
Canonical: Ontology
A design pattern that stores the result of an expensive read or computation under a key derived from every input it depends on, and serves it again while that key matches.
Listed in Architecture principles, after Partitioning and before Statelessness.
Requires
Reinforces
Enables
Conflicts with
In tension with
Tensions
Violated by
Refactored by
Severity
Category
Enforced by
Refactors
Reinforced by
Linked from
- Computation and resource
- Anti-patterns
- Scalability / Performance / Optimization
- Transactions / State / Concurrency
- Scalability / Performance / Optimization
- Severity levels
- The resolutions