Architecture Patterns
Layered, client-server, microservices, and event-driven architectures with their trade-offs.
Architecture is the set of decisions that are expensive to change later. This chapter surveys common architectural patterns — layered, client-server, repository, microservices, and event-driven — with criteria for choosing between them based on scalability, maintainability, and organisational structure.