Composable data product ecosystem¶
One table to answer everything¶
Three reports disagree about customer value. The response is a new integration model: a single wide customer table, built centrally, with a column for everything anyone has asked for.
It works for the first few questions. Then a fourth team needs orders at line level and finds they were summed away. A fifth needs to know which definition of active the flag uses, and the answer is in a transformation nobody on their team can read.
A fourth version of the truth¶
- The wide table re-implements meaning that source domains already own, so there is now one more definition to keep in step.
- Grain is fixed by the first use. Later questions at a different grain are answered wrongly or not at all.
- Provenance is lost in the joins. A consumer cannot tell which column came from where, or under whose authority.
- Every change in any source passes through the central team, which becomes the bottleneck for all of them.
Small products, composed¶
Keep source-aligned data products small enough to retain their business context and authority. Make their semantics, contracts and relationships explicit, so that higher-order products can compose them without discarding provenance.
Where shared dimensions, metrics or process views are needed, they are derived from these governed building blocks, not recreated independently. The ecosystem behaves like a set of composable semantic building blocks and less like a sequence of opaque transformation layers.
The picture¶
Customer value, composed¶
Illustrative example
Instead of a wide customer table, a customer value product is composed from three source-aligned ones: customer profile, the order ledger and payment events. It declares its grain, one row per customer per month, and cites the definitions it uses by name and version.
When finance asks why a figure moved, the answer is traceable: the payments domain changed what counts as a settled payment, on a known date. The team that needs order lines does not ask for another column. It goes to the order ledger, which still has them.
In detail¶
When it fits¶
The pattern suits organisations with several domains that create data independently and several consumers that need to combine it. It assumes source-aligned products with explicit meaning already exist or are being established.
Guardrails¶
- Composition is not permission to create a new God table. The combined view should preserve grain, lineage and the boundaries of the underlying processes.
- A composed product references the definitions it uses. It does not copy and quietly adjust them.
- The source domain keeps authority over the meaning of what it publishes.
What a composed product answers for¶
A derived product takes responsibility for its own transformations and its own promises. It has an owner, a contract and a declared purpose like any other product. What it does not acquire is authority over the concepts it borrowed.
Not this
- Not a ban on wide, denormalised tables. They are a reasonable serving shape for a specific use, built from governed products and declared as such.
- Not a requirement that every product is consumed directly from source.
Unresolved
- Who owns a composed product that spans several domains and belongs naturally to none of them?
- How deep can composition go before tracing a figure back to its sources costs more than it is worth?
Join the argument
Agree, challenge or add evidence
Architecture improves when its assumptions are challenged. Say which kind of contribution you're making:
- Challenge I disagree because…
- Evidence We've seen this too…
- Question How would this work when…?
- Alternative Another way to approach this…
- Extension This also implies…
Please keep clients, employers and colleagues unidentifiable. Strong contributions may be quoted and credited on this site. Read the contribution guidelines and the privacy notice.
Comments are provided by giscus and stored on GitHub. Posting requires a GitHub account.