Pattern 69 / CACHE

Request Coalescing

Use this when Preventing many identical requests from doing duplicate work.

Pressure
Preventing many identical requests from doing duplicate work
Mechanism
Merge concurrent identical requests behind one in-flight operation
Toll
The coalescer becomes a hot path and must isolate failures
Architecture plate69
Diagram for Request Coalescing
Executive brief

Request Coalescing fits when Preventing many identical requests from doing duplicate work. Mechanism: Merge concurrent identical requests behind one in-flight operation. Use it for Cache misses, profile lookups, expensive aggregations. The toll: The coalescer becomes a hot path and must isolate failures.

Use when

Cache misses, profile lookups, expensive aggregations.

Example

Use request coalescing when cache misses, profile lookups, expensive aggregations..

Review framing

Describe the pressure first, then the mechanism, then the cost. That keeps the design grounded.

Same pressure family

Caching / Latency

70Singleflight
โ† 6870 โ†’