LVD vs. Microservices

"Should we use microservices or LVD?" is a question that sounds reasonable and quietly mixes up two things. One of them is about the lines between your deployable services. The other is about what is inside each of them. The book's position is that these are different axes, and a healthy system usually works along both.

Outside the service, inside the service

Microservices break a system into independently deployable services, each responsible for a business capability, owning its own data store and talking to the others over lightweight protocols. The principles that go with it are autonomy, decentralised governance, designing for failure and evolutionary design. All of them are about the system's shape from the outside.

LVD prescribes nothing about service boundaries. What it prescribes is the internal structure: each service organises its code into volatility-ordered layers with downward-only dependencies. A service can apply all nine layers or only the subset its complexity warrants. A small internal service with no UI and no AI features might need only a handful.

The book aligns the two neatly. A microservice boundary corresponds to a bounded context from domain-driven design, and LVD provides the layering within that context. The concerns divide cleanly. Service boundaries and inter-service communication are the microservice world's focus, while the internal arrangement of a service is LVD's. Independent deployment is a core microservices principle, and layer isolation inside a service supports it.

Where the two meet

Applying LVD across several services raises a few specific questions, and the book answers each by volatility.

  • Shared contracts. Each service's Schema layer holds its own internal types. Message formats and API contracts that several services must agree on belong in a shared schema package, which is effectively an L1 that multiple services depend on. It should be treated as the most stable artifact in the whole system, because everyone leans on it.
  • Calling another service. The client code for Service B lives in Service A's Resources layer, because it has to absorb B's evolving interface. Resources sits at a moderate volatility, 0.6 on the scale, which is a fair reflection of how often service-to-service interfaces move.
  • Incidents that cross services. When something fails across several services, clear layers narrow the search. Knowing the failure sits in a Resources client rather than a Tool or the API tells you where to look first.

A concrete picture: a ticketing platform with separate booking, payments and notification services. The shared event definitions, "booking confirmed" and "payment captured", sit in one small package that all three import. Inside the notification service, the SMS vendor wrapper is Resources, the logic deciding which messages to send is a Tool, and the webhook that triggers it is the API layer. Each service tells the same internal story.

What microservices solve that LVD does not

The book is plain about this. Microservices answer questions outside LVD's scope: scaling individual services independently under load, letting different services use different languages and frameworks, lining service boundaries up with team boundaries in the spirit of Conway's Law, and containing a failure to the service that has it.

LVD does not compete with any of that. In the book's framing, it improves the maintainability and evolvability of each service, which in turn improves the system as a whole. A badly structured microservice is still a badly structured microservice, only now it has a network between it and its neighbours.

The takeaway

Treat the two as nested decisions. First choose service boundaries, using whatever domain analysis suits you. Then give every service the same internal discipline, so an engineer moving between services recognises the terrain. That consistency is arguably the most underrated benefit. To go further, see LVD inside a single microservice, cross-service concerns under LVD and when LVD fits microservices. If you are untangling an existing system, migrating from monoliths and from microservices covers both starting points.

What the book covers

  • A scope-of-concern comparison of what each approach addresses
  • How shared schema packages behave as an L1 for several services
  • Why cross-service clients belong in the Resources layer
  • How layer boundaries speed up fault localisation during incidents
  • What microservices solve that LVD deliberately leaves alone