WikiWIKI Graph
Wiki
Reference handbooks — evergreen content updated continuously
Browse Documents
8 documentsPatterns
Documents
- BackpressureFollow receiver feedback from TCP through staged servers to asynchronous stream demand, with source diagrams and examples.Patternspath:Patterns/Resilience & Flow Control
- Bulkhead PatternPartition concurrency slots, connection pools and other resources by dependency so one slow service cannot exhaust capacity needed by other calls.Patternspath:Patterns/Resilience & Flow Control
- Circuit Breaker PatternTemporarily block dependency calls after enough failures, reject new calls promptly, and use trial calls to check recovery.Patternspath:Patterns/Resilience & Flow Control
- Guard ClausesCheck failures and special cases at the start of a function, returning or throwing immediately so the normal path remains unnested.Patternspath:Patterns/Resilience & Flow Control
- IdempotencyTrace idempotence from algebra and fixed points to HTTP retries, request keys, and replicated state, with original sources.Patternspath:Patterns/Resilience & Flow Control
- Rate Limiter PatternLimit requests per key over time and reject excess work before processing, using 429 and Retry-After.Patternspath:Patterns/Resilience & Flow Control
- Retry PatternRepeat a call after a transient failure under an explicit attempt limit and waiting policy.Patternspath:Patterns/Resilience & Flow Control
- Timeout PatternLimit how long each call may wait, then use cancellation to stop the operation when its time expires.Patternspath:Patterns/Resilience & Flow Control
Recently Updated
- C++ IdiomsC++ Idioms
- Mediator PatternCollect interaction rules in a mediator so collaborating objects do not depend directly on each other.
- Memento PatternKeep an opaque state snapshot so the original object can restore itself without exposing its internals to history management.
- Flyweight PatternShare repeated immutable state while keeping per-use data such as position separate.
- Composite PatternTreat an individual item and a group of items through the same component contract.
- Interpreter PatternRepresent a small language as expression objects that evaluate their own meaning.
- Visitor PatternAdd operations as visitor objects when the kinds of elements in a structure are relatively stable.
- Chain of Responsibility PatternPass a request along handlers until one accepts it, with an explicit unhandled result.