Architecture tools and resources
Architecture patterns and system-design building blocks. 27 architecture resources in the Developer Hub (architecture pattern, system design, standard, documentation), each with a summary, strengths, limitations and alternatives.
- API gateway pattern — A single entry point that routes, aggregates and secures client requests to backend services.
- AWS Well-Architected Framework — AWS's guidance on building secure, reliable, efficient, cost-effective and sustainable cloud workloads.
- Azure Architecture Center — Microsoft's library of reference architectures, cloud design patterns and the Azure Well-Architected Framework.
- Backends for Frontends (BFF) — Build a dedicated backend per client experience (web, mobile) that shapes APIs for that client's needs.
- Bulkhead — Isolate resources (threads, connections, instances) per dependency or tenant so one failure can't sink the whole system.
- ByteByteGo — System-design learning platform and newsletter by Alex Xu, known for visual explanations of architectures.
- C4 model — Lightweight notation for diagramming software architecture at four zoom levels: context, containers, components, code.
- CQRS (Command Query Responsibility Segregation) — Use separate models for updating data (commands) and reading it (queries).
- Cache-aside — Application checks the cache first and, on a miss, loads from the data store and populates the cache.
- Circuit breaker — Stop calling a failing dependency for a while so failures don't cascade and the dependency can recover.
- Clean Architecture — Concentric layers where source dependencies point inward toward entities and use cases, never toward frameworks.
- Database per service — Each microservice owns its data store privately; others access the data only through its API or events.
- Event sourcing — Persist every state change as an immutable event and rebuild current state by replaying them.
- Event-driven architecture — Components communicate by publishing and reacting to events, decoupling producers from consumers.
- Google Cloud Well-Architected Framework — Google Cloud's design guidance (formerly the Architecture Framework) organised into pillars and perspectives.
- Hexagonal architecture (Ports and Adapters) — Keep the application core independent of UI, databases and external services by talking through ports and adapters.
- Microservices architecture — Structure a system as small, independently deployable services, each owning one business capability and its data.
- Modular monolith (Monolith First) — Ship one deployable but enforce strong internal module boundaries; split into services only when needed.
- Saga pattern — Manage a business transaction across services as a sequence of local transactions with compensating actions.
- Serverless architecture — Build on managed functions and services where the provider runs and scales servers and you pay per use.
- Sidecar pattern — Run supporting concerns (proxying, logging, config) in a companion process/container deployed alongside the app.
- Strangler fig — Incrementally replace a legacy system by routing features one at a time to new components.
- The System Design Primer — Open-source guide to designing large-scale systems, with topics, trade-offs and interview-style exercises.
- The Twelve-Factor App — Methodology of twelve practices for building portable, scalable, cloud-ready web services.
- Transactional outbox — Write outgoing messages to an outbox table in the same DB transaction as the state change, then relay them.
- martinfowler.com — Martin Fowler's site of articles and 'bliki' entries on software design, architecture, refactoring and delivery.
- microservices.io — Chris Richardson's catalogue of microservice architecture patterns: decomposition, data, messaging, deployment.