Data Mesh
Data mesh is a way to organize analytical data around business domains instead of a central data team. Each domain (orders, payments, logistics) owns its data end to end and publishes it as data products that other teams can discover and trust, on top of a shared self-serve platform. Zhamak Dehghani introduced it in 2019 to fix a scaling problem: one central team cannot understand, clean and serve data for an entire company fast enough.
The four principles
The team that creates data owns it
The payments team owns payment data, its quality and its schema, just as it owns the payments service.
Published, documented, reliable
A data product has an owner, a contract (schema, freshness, quality SLOs), docs and versioning.
Paved roads for every domain
A platform team provides storage, pipelines, catalog, access control and monitoring as a service.
Global rules, enforced by code
Domains agree on standards (IDs, PII handling, interoperability) and the platform enforces them automatically.
What a data product contains
- Data: one or more tables or streams, for example
orders.daily_ordersas an Iceberg table and anorder_eventsKafka topic. - Contract: schema, semantics, freshness and quality guarantees, and a versioning policy for breaking changes.
- Metadata: owner, description, lineage, classification, registered in the catalog.
- Access: SQL, files or API, with permissions managed by policy.
- Observability: tests and monitors that show whether the guarantees hold.
Centralized platform vs data mesh
| Central data team | Data mesh | |
|---|---|---|
| Who builds pipelines | Central data engineers | Domain teams, using the platform |
| Bottleneck | Central team backlog | Domain skills and platform maturity |
| Domain knowledge | Second-hand | First-hand |
| Consistency | Easier | Requires strong federated governance |
| Good for | Small to mid-size companies | Many domains, many teams |
When it helps and when it doesn’t
Data mesh fits large organizations where the central team is a clear bottleneck, domains are well defined, and domain teams have (or can hire) data engineering skills. For a company with one data team of five people, it is mostly overhead: a well-run central platform with clear ownership per dataset gives most of the benefit.
Common mistakes
- Renaming without changing: calling existing tables “data products” with no owner, contract or SLO.
- Skipping the platform: asking every domain to build its own pipelines and infrastructure from scratch.
- Governance only on paper: standards that are not enforced in CI, the catalog and access control.
- Treating mesh as a technology you can buy, rather than an operating model.
Learning Resources
Books
- Data Mesh: Delivering Data-Driven Value at Scale: Zhamak Dehghani
- Deciphering Data Architectures: James Serra, includes a critical take on adopting mesh