Data as a first-class citizen¶
Released on Friday, explained for months¶
A team releases a new ordering service. It was designed, reviewed, tested and secured, and a pipeline checked each of those things before it went live. On Monday its tables appear in the analytics platform and the questions begin. Is status = 4 cancelled or returned? Does amount include tax? Which of the three timestamps is the moment the order was placed?
None of this was a secret. The team knew every answer when it wrote the code. Nobody asked, because nothing in the way the service was designed, built or released treated its data as part of what was being delivered. The data was what the application left behind.
The repair moves downstream¶
- The people furthest from where the data was created become responsible for working out what it means.
- They compensate with transformations, report-specific logic, manual governance reviews and their own copies of each definition.
- Every new source adds to the work, so the repair effort grows with the estate. Moving that effort from one central team to many federated ones relocates it without removing it.
- AI raises the price. An assistant pointed at data nobody has explained inherits the ambiguity and answers anyway.
Design the data in¶
Treating data as a first-class citizen means that meaning, quality, ownership, contracts, lineage, security and operability are designed and delivered with the software that creates the data, not reconstructed downstream after it has shipped.
Those concerns move to the place where knowledge is strongest: the source, and the delivery process that creates the data. The lifecycle that already tests code and scans for vulnerabilities is also where a definition can be declared, reviewed, versioned and checked.
The picture¶
The same release, twice¶
Illustrative example
In the first version, the ordering team's definition of done covers behaviour, performance and security. The analytics team then reverse-engineers the status codes from sample rows, and two reports soon disagree about how many orders were cancelled.
In the second, the release also carries a description of what each order event means, who owns it, the quality it promises and how a change will be announced. A pipeline check fails when a field has no declared meaning, in the same way it fails on a broken test. On Monday the analytics team reads the definition, and the status-code question is never asked.
In detail¶
What moves, and what does not¶
Producers become responsible for making explicit what they already know: what the data means, what quality it has and who answers for it. They do not become responsible for every downstream use. Consumers stay responsible for requirements that belong to their own purpose.
Why adding people does not fix it¶
Downstream repair grows with the number of sources and the rate at which they change. A larger central team becomes a longer queue. A federated model spreads the same reconstruction across domain teams. In both cases knowledge is being recovered at a distance from where it was created, after the cheapest moment to capture it has passed.
The platform has to make it the easy path¶
Asking delivery teams to do all of this by hand will not hold. The platform they already use has to support these concerns, so that declaring meaning or a contract is part of building and releasing, not a separate process alongside it. That direction is set out in Platforms treat data as a first-class citizen.
Not this
- Not a requirement to centralise all data, create one universal model or force every team onto one technology stack.
- Not more documentation written after the fact. A description that is not part of delivery drifts from what was delivered.
Unresolved
- How much can be asked of a delivery team before the cost to producers outweighs what consumers save?
- What should happen to the systems that already exist, where the people who knew the meaning have moved on?
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.