From Monoliths to Microservices: Sixty Years of Architecture

Every generation of architects solved the previous generation's headache, and in doing so created a new one. Tiers tamed the tangled desktop application and produced the bloated middle layer. Services tamed the bloated middle and produced the integration bus. Microservices tamed the bus and produced a distributed-debugging problem. Reading that history in order is the quickest way to see which questions architecture has answered, and which it keeps circling back to.

The monolith years: 1960s to 1980s

Early systems were monoliths because they had no real alternative. Memory and processing power were scarce, work ran in batches, users sat at terminals, and everything was deployed to a single machine. There was nowhere to put a network boundary even if you had wanted one. The industry's anxieties of the era, summed up by the "software crisis" label that came out of the 1968 NATO conference on software engineering, were about projects that ran late and programs nobody could maintain.

Structure arrived as discipline inside the program. Structured programming replaced tangled jumps with clear control flow, and Edsger Dijkstra's THE operating system, published in 1968, was organised in layers, each using only the services of the ones beneath it. The idea of layering is much older than the three-tier diagram most of us learned.

The decisive contribution of the period was David Parnas's 1972 paper on the criteria used to decompose systems into modules. Before it, the usual approach followed the flow of processing: read the input, then transform it, then sort it, then print it, with a module per step. Parnas compared that with a different cut, in which each module hides one design decision that might later change, such as how data is stored. His observation about coupling is still the most compact definition available:

The connections between modules are the assumptions which the modules make about each other.

Read that way, a good boundary is one that keeps assumptions from leaking. If the storage format is a secret of one module, swapping the format touches one module. Parnas's lesson, as the book presents it, is that module boundaries should align with likely boundaries of change, and interfaces should stay stable while the decisions behind them move. That is an explicit appeal to what changes, written more than fifty years ago.

Tiers: the 1990s

Networked computing made physical separation possible. Two-tier client-server put presentation logic on the desktop and the data, and often the business rules, on a server. It was easy to understand and difficult to scale, since every client held its own connection to the database and any change to business rules meant redistributing software to every machine.

Three-tier architecture fixed this by inserting a middle tier. Presentation sat on the client, business logic ran in an application server, and data lived in a database. It became the default shape of enterprise software, codified by platforms such as Java EE and .NET. The benefits were real: the UI was separated from business logic, the logic could be reused by several clients, data was managed centrally, and each tier could be scaled on its own.

The limits showed up in daily work, and the book names them clearly. With only three layers, decomposition was coarse. Many components had no obvious home, so the middle tier turned into a "god layer" where everything unclassifiable collected. Concerns that cut across all tiers, such as security, logging and caching, got little guidance. A tier describes a technical role. It says nothing about which code changes together.

Services: the 2000s

Service-oriented architecture took the next step and made services the unit of deployment. Its toolkit was standardised messaging (SOAP, XML and WSDL), an enterprise service bus in the middle, and contract-first development, in which the interface is agreed before any code is written. The promise was that business capabilities, once built as services, could be reused across the whole organisation.

In practice, many implementations collapsed under their own weight. The WS-* family of specifications was heavy, versioning contracts proved difficult, XML processing became a performance bottleneck, and running the infrastructure took significant effort. A bus intended to decouple systems often became the one thing every system was coupled to.

Even so, SOA left behind ideas that survived its tooling. Services should expose explicit contracts. Components should talk through messages rather than shared internals. Services should be deployable independently. Strip away the XML and these are still the principles that modern systems follow.

Microservices and the modern patterns: 2010s onwards

Microservices are often described as SOA done properly. The vocabulary is familiar, but the emphasis differs: small, focused services with a single responsibility, independent deployment, a different data store for each job (polyglot persistence), decentralised governance, and boundaries drawn around business capabilities. The last point echoes Conway's observation that systems come to resemble the communication structure of the organisations that build them, and it explains why the style spread alongside team-topology thinking.

It also depended on infrastructure that earlier eras lacked. Cloud platforms gave elastic scaling, containers such as Docker made packaging and deployment routine, service meshes took over cross-cutting concerns like retries and encryption between services, and API gateways handled the external edge.

Alongside microservices, three design patterns became the standard vocabulary for what happens inside a service:

  • Domain-Driven Design (Evans, 2003) divides a domain into bounded contexts, each with its own model and shared language.
  • Hexagonal Architecture (Cockburn, 2005) puts the application in the centre and connects it to the world through ports and adapters.
  • Clean Architecture (Martin, 2017) arranges the code in concentric circles with dependencies pointing inward, enforced by dependency inversion.

One change, four eras

To make the differences tangible, imagine the same small change in each style: a government alters how sales tax is calculated on shipping charges. The rule itself is simple. How far the edit travels depends entirely on the architecture.

  • Monolith. The tax logic is a few functions somewhere in a large program, probably also copied into the invoice printer. You change them, rebuild the entire program and redeploy it, and the test that matters most is whether anything else broke.
  • Three tiers. The rule belongs in the business tier, but the client shows a running total while the customer types, so a version of it lives in the user interface as well. Two tiers change, and they must go live together or the screen and the invoice will disagree.
  • SOA. A tax service publishes a contract. If the new rule needs an extra input, the contract has to be versioned, and every consuming system must be found, informed and scheduled for an update.
  • Microservices. The tax service deploys on its own, which is a big gain. The catch is that a handful of other services have cached old rates or copied the formula for performance, and nobody has a complete list of them.

Each style handles part of the problem well, and each leaves a loose end where the rule's real boundary does not match the architectural one. The recurring cause is that nothing in the structure records how stable the tax rule is, or which other code is supposed to stay ignorant of it.

The same story, five times

Laid side by side, the eras show a pattern. Each one drew its boundaries along a different axis, and each axis fixed one problem while leaving another open.

EraBoundaries followedWhere it went wrong
MonolithProgram flow and the machineOne tangled unit; every change risky
TiersTechnical roleA bloated middle tier; no home for cross-cutting concerns
SOABusiness services behind standard contractsHeavy protocols and a bus everything depended on
MicroservicesBusiness capabilities, deployed separatelyOperational overhead; wrong boundaries become distributed pain
Modern patternsDomain meaning and dependency directionExcellent principles, but no complete blueprint

The book distils five lessons from this arc. Decomposition is essential for every large system that succeeds. Boundaries matter because they allow parts to evolve independently. Dependencies determine complexity, and cycles in particular are what make architectures impossible to reason about. No single approach suits every domain and scale. And tooling matters: automated verification is what lets a team maintain architectural discipline as the code changes, because a rule that is only written in a wiki is not a rule.

The second of those lessons connects back to Parnas. His criterion, change, is the one that most mainstream patterns after him left implicit. They cut by processing step, by tier, by service or by domain meaning, and treated change as a by-product of good boundaries rather than the thing that chooses them. That is an observation about the pattern of the history rather than a claim any one author made, but it is hard to unsee once noticed.

Questions that stayed open

The book ends its historical survey with four questions that none of the eras settled:

  1. How many layers should a system have?
  2. What criteria should decide where layer boundaries fall?
  3. How can compliance with the architecture be verified automatically?
  4. How does an architecture adapt to new concerns such as AI integration?

These are the gaps that Layered Volatility Decomposition is written to fill. If you want to see why three tiers in particular run out of room, read why three tiers are no longer enough. To see how the classic strategies compare when you try to apply them to the same system, continue with five ways to decompose a system, and for the axis that ties it all together, see volatility as a decomposition criterion.

The takeaway

Architecture history is a sequence of answers to one question: where should the lines go? Parnas answered it with change in 1972, and the industry spent the following decades trying other axes. Knowing which problem each era was solving makes it easier to pick from the toolbox today, and to notice when a fashionable pattern is solving a problem you do not have.

What the book covers

  • Five lessons the book draws from the history of architectural styles
  • A survey of five decomposition strategies, each with its strengths and weaknesses
  • Why the three-tier model strains under protocols, cross-cutting concerns and AI agents
  • How Löwy's volatility-based decomposition began the line LVD extends
  • A verification mindset: checking architecture by tool instead of by review