patterns/structural/

Structural
Patterns

Architecture for the internal shape of systems — the patterns for layers, cores, extension points, and composition that determine what can change cheaply, what is expensive to reverse, and what becomes the system's permanent geometry.

2 topics in this hub
patterns/structural/bulkhead/
Bulkhead Pattern
The Bulkhead pattern isolates elements of a system into pools so that if one fails, the others continue to function. Named after the watertight compartments of a ship that prevent a single breach from sinking the whole vessel. In software, bulkheads prevent a failure or overload in one part of the system from consuming resources needed by another part.
patterns/structural/circuit-breaker/
Circuit Breaker Pattern
The Circuit Breaker pattern prevents a service from repeatedly calling a downstream dependency that is failing or slow. It wraps calls to the dependency and monitors for failures. When failures exceed a threshold, the circuit opens and subsequent calls fail immediately without attempting the remote call. After a timeout, the circuit allows a limited number of test calls through. If they succeed, the circuit closes. If they fail, it remains open.
Listen to this article ~0 min
0:00 / 0:30
Narrated by Lattice  ·  Ascendion Engineering
Listen ~0 min