Volatility: The Decomposition Axis Architects Ignore
Volatility is how often a component is expected to change. Define it, measure it, and one dependency rule falls out: lean only on code steadier than you.
Ask a team why they split their code into modules and you will hear about reuse, tidiness and ownership. Juval Löwy's answer is blunter: we draw boundaries so that change stays contained. If nothing ever changed, one enormous file would be perfectly fine. Follow that premise honestly and you arrive at a surprisingly complete way of deciding where code goes.
Take the premise seriously for a moment. A boundary is only useful when something on one side of it changes and the other side is left alone. The smaller the area an edit can disturb, the cheaper the edit. Engineers sometimes call that area the blast radius, and decomposition is the craft of keeping it small.
From there the organising rule follows almost mechanically. If boundaries are there to manage change, draw them around things that change at the same pace. Put the fast-moving parts together and the slow-moving parts together. Then add a direction: fast code may lean on slow code, but slow code must never lean on fast code.
Picture a ticketing service. The seat-map data model changes when the venue business changes, perhaps twice a year. Refund policy changes when finance or regulators say so. The promotional banner on the home page changes whenever marketing has an idea. If all three live in one module called events, a banner tweak travels through the same review, test run and release as a change to the data model. You are paying the price of your fastest component on every change to anything.
Split them by pace and the banner ships alone. The foundations never notice it happened, because nothing underneath depends on the banner.
The book is careful to say that the principle itself is not what made Löwy's work matter. Plenty of people had said "separate concerns". What the book credits him with is turning the thought into something a team can carry out on a Monday morning. Three pieces made that possible:
It helps to know what the alternatives looked like. The book describes the guidance of the time as either too abstract ("draw boxes and arrows") or too concerned with the shape of the business domain, as with bounded contexts, to answer a plain physical question: which folder does this file go in, in a way the compiler can police? Volatility gives a way to answer it.
Löwy's body of work is called IDesign, and the book spends a few paragraphs being precise about it, because it is often described loosely. IDesign combines four things:
The fourth is easy to overlook. Löwy argues that the organisation chart should mirror the dependency graph, on the grounds that Conway's Law works in both directions. Teams shape systems, and a deliberately shaped system can tell you how to shape teams.
The book also issues a candid warning. VBD is not something you master by reading one text. Much of IDesign is taught in courses and consulting engagements, where a real team argues over a real system, and the published material is thinner. Löwy's book Righting Software (2019) is the most accessible written entry point. Any written summary, the book says of its own, is an approximation, because the subtleties appear only when you are standing in front of a system arguing about where a component belongs.
That honesty is worth noting. It means the rest of this series treats VBD as a starting point to be applied and tested, not as scripture.
Before you create the next module, ask a question that has nothing to do with features: which of these things will change together, and which will change alone? The answer tells you where a boundary will earn its keep. For the three rules that turn this question into a working method, continue with three principles behind volatility-based decomposition, and for the wider argument see volatility, the axis architects ignore and the LVD thesis.