Bookmarks

Data mesh

An approach to analytical data architecture in which each domain owns its data and publishes it as a product, while shared rules and a platform tie these products together.

Also: datamesh, decentralised data architecture

checked 9 Nov

All terms

Data mesh addresses the problem of a centralised data team: it knows the domain less well than the domain teams do and cannot keep up with their requests. The term was coined by Zhamak Dehghani: in 2019 she published an article on moving from a monolithic data lake to a distributed data mesh, and in 2020, the four principles of the approach.

The four principles

PrincipleWhat it means
Domain ownershipdata belongs to the domain teams — sales, logistics, billing — rather than to a single central team
Data as a producteach dataset is published as a product: with an owner, a description, a schema, service level objectives (SLOs) and support for its consumers
Self-serve platforminfrastructure on which a domain team assembles, publishes and runs its product on its own
Federated governanceshared standards for quality, security and interoperability are set globally and observed within the domains

What it looks like in practice

A domain team publishes its data — say, an order stream — as a product: the product is registered in a catalogue, has an address where consumers can find it, a schema and documentation. It has an owner who answers to the consumers for its quality. The platform enforces the policies automatically: the same owner, the same metadata format, the same quality rules.

Where the lake and the warehouse fit

The data lake and the warehouse do not disappear: they become ordinary nodes of the mesh — products on a par with the rest rather than the centre of the architecture. Lake tooling keeps working — inside individual products or as part of the shared self-serve platform.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • DWHdata warehouse

    A data warehouse is a centralised store where the data of the whole enterprise converges; in a data mesh there is no central store.

  • data lake

    A data lake is a store for raw data; data mesh describes who owns the data and how, not a type of store.