Architectural Patterns

Architectural patterns are reusable ways to solve recurring design problems. They are useful when they make trade-offs visible, not when they are applied as labels after the fact.

Anti-Corruption Layer

An anti-corruption layer protects a new or clean model from a legacy system or external subsystem that uses different concepts.

Use it when:

Example: a new system updates customer data, then an ACL service maps that data into the shape expected by an older system.

Source: Microsoft Azure Architecture Center

Circuit Breaker

The circuit breaker pattern prevents repeated calls to an operation that is likely to fail. Instead of waiting for every request to timeout, the application can fail fast and recover later.

Common states:

Use it when:

Source: Microsoft Azure Architecture Center

Other Patterns To Explore

Source Notes