Architectural Patterns — System Design Roadmap
Common patterns for structuring large systems built from the building blocks above
Steps in Architectural Patterns
- Monolith vs Microservices — advanced · Trade-offs between a single deployable unit and many independently deployable services
- Service-Oriented Architecture (SOA) — advanced · Organizing a system as a collection of loosely coupled services
- API Gateway — advanced · A single entry point for routing, authentication and rate limiting across services
- Service Discovery — advanced · How services find each other's network locations dynamically
- Circuit Breaker Pattern — advanced · Preventing cascading failures by failing fast when a downstream service is unhealthy
- Bulkhead Pattern — advanced · Isolating resources so failure in one part of a system doesn't sink the whole ship
- CQRS — advanced · Separating read and write models to scale and optimize them independently
- Event Sourcing — advanced · Storing state as a sequence of events rather than the current snapshot
- Saga Pattern for Distributed Transactions — advanced · Coordinating multi-step transactions across services with compensating actions
Part of
- System Design roadmap — the full learning path