Skip to main content
Back to Tags

Caching

30 items tagged with "caching"

Filter by type:

Patterns14

Pattern

Lazy Initialization

Defers the creation or computation of an object until the first time it is actually needed, avoiding upfront cost for resources that may never be used.

Pattern

Multiton

Generalizes Singleton to manage a fixed, keyed set of named instances, ensuring exactly one instance exists per key through a registry.

Pattern

Proxy

Provides a surrogate or placeholder for another object to control access to it, enabling lazy loading, access control, caching, or remote access.

Pattern

Distributed Lock

Coordinates exclusive access to a shared resource across multiple processes or nodes that do not share memory.

Pattern

Consistent Hashing

Distributes keys across nodes so that adding or removing a node remaps only a small fraction of keys.

Pattern

Cache-Aside

Load data into a cache on demand from a data store to improve read performance and reduce load on the backing store.

Pattern

Materialized View

Precompute and store read-optimized views of data so expensive queries become fast lookups against ready-made results.

Pattern

Content Enricher

Augments a message with additional data from an external source when the original lacks information the receiver requires.

Pattern

Read-Through Cache

A caching strategy where the cache itself loads missing data from the backing store on a miss, so application code reads only from the cache.

Pattern

Write-Through Cache

A caching strategy where every write goes to the cache and the backing store synchronously, keeping the two consistent at the cost of write latency.

Pattern

Write-Behind Cache

A caching strategy where writes update the cache immediately and are flushed to the backing store asynchronously, maximizing write throughput at the cost of durability.

Pattern

Refresh-Ahead Cache

A caching strategy that proactively reloads hot entries before they expire, so reads of popular keys never pay miss latency.

Pattern

Materialized View

A precomputed, stored result set that trades storage and refresh cost for fast reads of expensive queries, aggregations, or denormalized projections.

Pattern

Request Coalescing

Merges multiple concurrent identical requests into a single backend call and shares the result, preventing duplicate work and cache-stampede overload.