Dashboard
Courses
Problems
Badges
Theme
Sign inStart free
Courses/Architecture Leadership
Lesson 15 of 32

Data governance and ownership (data mesh)

Give every dataset a clear owner, contract and quality bar, and decide when a data mesh is worth its cost.

15 min read

Every table needs an owner

The most common data problem in large organisations is not technology; it is ownership. A shared database that five services write into becomes impossible to change because nobody knows who depends on which column. The architectural rule is simple: each dataset has exactly one owning team that is allowed to write it. Everyone else reads through an API, an event stream or a published dataset with a contract. Shared databases are the most common hidden coupling in microservice estates; breaking them up is often the first step to real team independence.

Data mesh principles

Zhamak Dehghani's data mesh applies the same idea to analytics. Instead of a central data team that ingests everything into a lake and becomes a bottleneck, domain teams publish their data as products. Each principle needs the others to work.

  • Domain ownership: the team that produces the data owns its analytical version
  • Data as a product: documented, discoverable, with an SLA on freshness and quality
  • Self-serve platform: shared tooling for storage, pipelines, catalogue and access control
  • Federated governance: global rules (privacy, identifiers, formats) applied automatically

Data contracts

A data contract is an API for data. It specifies the schema, semantics of each field, freshness (for example, updated within 15 minutes), quality checks (no null customer IDs, row counts within 10% of the previous day), classification (contains personal data) and the owner. Enforce schemas at the producer with a schema registry so a breaking change fails the producer's build instead of silently corrupting every downstream dashboard. Treat a breaking contract change like a breaking API change: version it and give consumers notice.

When a mesh is overkill

Data mesh carries real organisational cost: every domain team needs data engineering skills and the platform must be mature. For a company with a dozen engineers and one warehouse, a well-run central data team with clear contracts is cheaper. Adopt the ownership and contract ideas everywhere; adopt full mesh only when the central team has become the bottleneck for many domains. Many organisations land in the middle: a central platform team plus domain-owned data products for the most important domains only.

Key takeaways

  • Each dataset has exactly one owning team that may write it; others consume via contracts.
  • Data mesh: domain ownership, data as a product, a self-serve platform and federated governance.
  • Data contracts define schema, semantics, freshness, quality checks, classification and owner.
  • Apply ownership and contracts everywhere; adopt a full mesh only when centralisation is the bottleneck.

Sign in to track lessons and earn badges.

API governance and versioningSecurity architecture: threat modelling and zero trust

Coming up

Course: 0/32 lessons · 0/10 challenges0%

Build it on the canvas, pass the review (70+) and mark it complete to count it toward the course badge.

  1. 2/10Design a Link Preview ServiceThreat-model a service that fetches untrusted URLs and design its SSRF defences across the trust boundary.Easy
  2. 3/10Design a Login ServiceApply authentication fundamentals: hashed credentials, short-lived tokens, revocation and rate limits on login.
Easy
All 10 challenges →