Buffering¶
Insert bounded temporary holding capacity between producer and consumer to preserve continuity across mismatched rates, bursts, or timing gaps.
The Diagnostic Story¶
Symptom: Every time the source speeds up or a burst arrives, the receiving system is immediately overwhelmed. A surge of requests crashes the processor, a delivery delay empties the shelf, a burst of water floods downstream infrastructure. The system behaves as if it has no capacity even though average throughput would be fine across a wider window.
Pivot: Insert bounded temporary holding capacity between source and receiver. The buffer decouples arrival from service: excess flow waits temporarily, and the downstream system drains it at its own rate according to a defined release policy.
Resolution: Timing mismatches are absorbed rather than causing immediate failure. The receiver works through accumulated flow without emergency expansion, and continuity is preserved. The buffer must remain bounded, observable, and governed by overflow and expiration rules, or it risks becoming hidden failure rather than genuine resilience.
Reach for this when you hear…¶
[platform SRE] “Every spike in traffic killed us until we put a queue in front of the workers and gave them time to catch up.”
[supply chain manager] “We ran out because we had zero safety stock and any lead-time variation hits the customer directly.”
[stormwater engineer] “Without a retention basin that storm surge goes straight into the downstream channel and it overtops every time.”
Related Abstractions¶
Abstractions this archetype builds on — directly (a source ingredient) or as a related pattern. Links follow the typed catalog namespace.
Built directly on (5)
- Boundary: Defines system limits.
- Indirection: Introduces intermediary references.
- Queueing: Organizes tasks into a waiting line based on arrival and service rates.
- Resource Management: Allocation of finite assets.
- Temporary Holding Capacity
Also references 6 related abstractions
- Caching: Store for faster retrieval.
- Constraint: Limits possibilities to guide outcomes.
- Coupling: Interdependence among subsystems.
- Flow: Structured movement of energy, matter, or information.
- Trade-offs: Balancing competing priorities.
- Variability: Differences across instances.
Variants¶
Narrower or domain-specific specializations that share this archetype's core structure. Recognized variants are established; candidate variants are provisional.
Surge Buffering · scale variant · recognized
Temporary holding capacity used specifically to absorb bursts or spikes.