Why Software Rots: The Hidden Cost of Poor Decomposition
Software rots when steady change meets a structure never built to absorb it. Five measurable symptoms, and why decomposition is the cure.
Why decomposition matters, where volatility-based thinking came from, and the core ideas of LVD.
Software rots when steady change meets a structure never built to absorb it. Five measurable symptoms, and why decomposition is the cure.
A tour of software architecture from 1960s monoliths through tiers, SOA and microservices: what each era fixed, what it broke, and the questions still open.
Five classic ways to decompose a system, applied to one ride-sharing app: what each does well, where it falls short, and the question none of them answers.
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.
The five claims behind Layered Volatility Decomposition, how to read each one critically, how the book is organised, and a way to test them on your own code.
Juval Löwy's premise that modules exist to contain change, and why that leads to boundaries drawn by rate of change instead of by feature.
Volatility as the primary axis, dependencies that flow from fast to slow, and a build system that enforces it: the three rules behind VBD, in plain language.
The three tiers of volatility-based decomposition and the roles that live in them (accessors, engines, managers), with a short ride-hailing walk-through.
Two field stories of volatility-based decomposition, a bank's loan system and a factory, plus a git command to test the idea in your own repository.
Two everyday scenarios, a partner API and an AI assistant, show where a three-tier model has no place to put things, and when it still works fine.
The few graph-theory ideas an architect needs: directed graphs, cycles, DAGs, topological order and strongly connected components.
Why dependency cycles hurt builds, tests and comprehension, and how a depth-first search or Tarjan's algorithm finds them in linear time.
How the book turns volatility into a number, from commit counts to composite scores, and when a volatility-respecting order exists.
How a two-step graph check can verify an architecture automatically, what to do when it fails, and how volatility numbers can suggest layer boundaries.
A plain-English tour of LVD's nine layers, from Schema to UI: what each one holds, why it sits where it does, and the rule that connects them.
The case for finer layers: three tiers hide mixed volatility, and four modern pressures (microservices, AI, many protocols, compliance) make it worse.
LVD's core rule is a comparison of layer numbers. See how it works on a small example, why same-layer imports are the loophole, and why loops cannot form.
Make the layers visible in the file tree: why one top-level folder per layer helps navigation, tooling and migration, with a ticketing-service sketch.
Three-tier, hexagonal, Clean Architecture, DDD and LVD each sort code by a different question. Why that makes LVD a complement and not a rival.