Software Architecture

12 guides · about 2 hours of reading

Architecture is the set of decisions that are expensive to change. This subject gives you the vocabulary and the trade-offs behind the major styles — layered and n-tier, service-oriented, microservices, domain-driven design, reactive — and the cross-cutting concerns that decide whether a system survives contact with production: API design and management, performance and load testing, distributed transactions, and enterprise architecture frameworks.

Who this is for

  • Senior developers growing into architecture roles
  • Architects formalising their knowledge
  • Technical leads evaluating system designs

Learning path

Read in order for a complete course, or pick the topic you need.

  1. 1Layered and N-Tier Architecture: Tiers, Layers and the Dependency RuleWhat separates a tier from a layer, how two-, three- and n-tier systems evolved, how to keep business logic testable, and where layering goes wrong.Beginner9 min read
  2. 2Service-Oriented Architecture and the Enterprise Service BusWhy SOA emerged from application silos, what makes something a service, how SOAP, WSDL and the ESB fit together, and how SOA compares with microservices.Intermediate11 min read
  3. 3Microservices: Service Boundaries, Independent Deployability and the Real CostWhat the microservice style actually demands — autonomous deployment, data per service, sensible boundaries — and how to decide whether you need it.Intermediate11 min read
  4. 4Microservice Design Patterns: Resilience, Discovery, Data and ObservabilityA working catalogue of microservice patterns — gateway, discovery, circuit breaker, bulkhead, retry, saga, outbox, CQRS and service mesh.Advanced9 min read
  5. 5Domain-Driven Design: Ubiquitous Language, Aggregates and Bounded ContextsHow DDD builds software around a shared model of the business — bounded contexts, aggregates in Java, context maps and hexagonal layering.Advanced9 min read
  6. 6REST API Design: Resources, HTTP Semantics, Versioning and Error FormatsDesigning HTTP APIs that age well — resource modelling, method and status semantics, pagination, versioning, RFC 9457 errors and ETags.Intermediate10 min read
  7. 7API Management and Gateways: Policies, Rate Limiting, Plans and PortalsWhat an API gateway does that a load balancer and a mesh do not, how rate limiting and API keys work, and how to choose a management platform.Intermediate10 min read
  8. 8Reactive Systems: Backpressure, Reactive Streams and Project ReactorWhat reactive really means — non-blocking I/O, backpressure, the Reactive Streams contract, Reactor pipelines, and when virtual threads win.Advanced8 min read
  9. 9Application Performance: Latency, Percentiles, Profiling and the JVMAn evidence-driven method for making applications fast — Little's law, percentiles, profiling, GC, database access and caching.Advanced10 min read
  10. 10Load Testing Methodology: Workload Models, Test Types and Reading ResultsHow to plan performance tests that predict production — workload modelling, ramp-up, environment fidelity, metrics and reading the results.Intermediate10 min read
  11. 11Enterprise Architecture and TOGAF: The ADM, Domains and GovernanceWhat enterprise architecture is for, how the TOGAF ADM cycle works phase by phase, the four domains, building blocks and governance.Intermediate10 min read
  12. 12Distributed Transactions and Consistency: 2PC, Sagas, Outbox and CAPACID versus BASE, what CAP and PACELC really say, why two-phase commit blocks, and how sagas, the outbox and idempotency work.Advanced11 min read