Skip to content

Architecture — learning path ​

What architecture is, how to see it (4+1 views), how to decide (trade-offs and ADRs), the styles (layered, modular, microkernel, SOA, microservices, pipe-and-filter, big data) and microservices in practice (boundaries, communication, gateways, discovery, data ownership).

Legend ​

BadgeMeaning
Must-knowasked in almost every interview; you meet it at work constantly
Importantfrequent; expected at senior level
Good to knowextra depth that sets you apart
WIP / Todoshown next to a chapter only while it is still being written

How to read this page. Groups are in reading order and each one builds on the previous; short on time, take the Must-know chapters of every group first. The last column says in one line what the chapter gives you. Every chapter ends with a Self-check: questions & answers block (open/close all, filter by level); all questions are collected in the Interview Q&A hub.

Chapters ​

23 chapters · 21 complete · 2 not written yet

Foundations ​

ChapterLevelWhat you learn
What Software Architecture Is, Why It Exists,…Must-knowSoftware architecture is the set of structures, quality goals and decisions that are expensive to reverse; it exists so a system can change safely, so people can talk about it…
Kruchten's 4+1 View ModelImportantOne diagram cannot say what runs, what is compiled, what is deployed and what the business means at the same time; the 4+1 model splits the architecture description into four views for four groups of people…
Architecture DecisionsMust-knowArchitecture is a stream of decisions under uncertainty; there is no perfect architecture, only the least-worst set of trade-offs for a context…
From Requirements to ArchitectureImportantArchitecture is not drawn from a feature list; it is derived, in small iterations, from the handful of requirements that are expensive to get wrong, using known tactics and patterns…
Back-of-the-Envelope Capacity EstimationMust-knowA capacity estimate turns product numbers (users, objects, retention) into engineering numbers (requests per second, bytes, bits per second, requests in flight…
SLAs, SLOs, SLIs & Error BudgetsMust-knowA reliability target is a promise measured in numbers: the SLI is the measurement, the SLO is the internal target on it, the SLA is the external contract with consequences, and the error budget…
Enterprise Architecture Frameworks TodoGood to knowto be written.

Architecture Styles ​

ChapterLevelWhat you learn
Architecture Styles vs Architecture PatternsImportantA style is a family of systems that share a vocabulary and constraints, a pattern is a reusable solution to one recurring problem, a tactic is one decision that moves one quality attribute…
Layered Monolithic ArchitectureMust-knowA layered monolith is one deployable application split into horizontal layers (presentation, application, domain, persistence) where each layer only talks to the layers below it…
Modular MonolithMust-knowA modular monolith is one deployable unit split inside into business modules, each with a public API, private internals and its own data…
Microkernel / Plugin ArchitectureGood to knowA microkernel (plugin) architecture keeps a small, stable core that does the common work and moves everything that varies into plugins that implement a versioned contract and join through a registry…
Client-Server Architecture and Its VariantsImportantClient-server splits a system into components that ask (clients) and components that answer (servers) so each can change, scale and fail on its own; almost every other style in this path is a refinement of it…
Pipe-and-Filter ArchitectureGood to knowPipe-and-filter builds a system as a chain of small independent steps (filters) joined by connectors that carry data (pipes); because filters share no state and do not know their neighbours, you can reuse…
Service-Oriented Architecture (SOA)ImportantSOA is the idea that a company's capabilities should be offered as network services with published contracts; the 2000s implementation (SOAP, WSDL, an ESB, a central orchestrator…
Microservices ArchitectureMust-knowMicroservices is an architecture style in which one application is built as a set of small services, each owned by one team, each with its own data, each deployable on its own…
Big Data ArchitecturesGood to knowA "big data architecture" is a way to move facts out of the operational database, keep them cheaply, transform them in batches or streams, and serve answers fast enough…
Clean, Hexagonal & Onion Architecture and the… TodoImportantto be written.

Microservices in Practice ​

ChapterLevelWhat you learn
Monolith vs Microservices vs Modular MonolithMust-knowPicking a deployment shape is a bet on what you need to optimise: delivery speed, independent scaling, team autonomy, fault isolation or cost.
Service BoundariesMust-knowA service boundary is a line around data, behaviour, a team and a deployment unit at the same time; draw it where change and communication are naturally low, or every feature pays a hidden tax in coordination…
Service CommunicationMust-knowOnce a function call becomes a network call, every interaction needs four decisions: the style (wait for an answer or not), the contract (what both sides promise), the failure policy…
API Gateway, Backend-for-Frontend & Service MeshMust-knowOnce a system is many services used by many kinds of clients, three pieces of infrastructure keep it sane: an API gateway at the edge for the concerns every request shares…
Service DiscoveryImportantService discovery answers one question, "which addresses can I send this request to right now?", for a world where instances are created, moved and killed all day; the answer always comes from a registry…
Data Ownership in MicroservicesMust-knowWho may write a piece of data, and who may only ask for it, decides more about a microservice system than any framework does…

Built by Morteza Negahi