In brief
Data mesh is a way of organizing data in which domain teams (sales, claims, production) own analytical data instead of a single central data warehouse team. Each domain publishes its data as a product with an owner, documentation and quality guarantees, on a shared platform and under shared rules. It makes sense in a large company with many domains where the central data team has become a bottleneck. In a company with one warehouse and a handful of sources it usually just adds cost.
What data mesh is and what it consists of
Data mesh is neither a product nor a specific technology. It is an organizational and architectural model, described today in the architecture documentation of Google Cloud and AWS, among others. It rests on four principles:
- Domain ownership. Policy data is prepared and maintained by the team that knows the policy administration system, not by a warehouse team that only sees tables.
- Data as a product. A domain publishes a dataset with an owner, field descriptions, freshness, a contract and versions. Consumers know what to expect and whom to ask.
- Self-serve data platform. A platform team gives domains ready-made tools: storage, ingestion pipelines, a catalog, access control, monitoring. Domains do not build infrastructure from scratch.
- Federated governance. Shared rules (security, personal data protection, identifier formats, minimum quality tests) are set by a group that includes the domains and the platform team, and the platform enforces them automatically.
In practice a data product is a table, a view, a set of files or a Kafka topic with a contract for consumers. Example: the claims domain publishes "claims reported, end-of-day snapshot" with status definitions, a 6:00 a.m. refresh deadline and completeness tests.
Data mesh vs. data warehouse and data lake
A warehouse and a data lake are places where data is stored. Data mesh is about who is responsible for the data and how it is shared. That is why a mesh can run on a warehouse, on a lakehouse or on several stores at once.
| Attribute | Central data warehouse | Data mesh |
|---|---|---|
| Who models the data | central data team | domain team |
| Who owns quality | warehouse team, often after the fact | data product owner at the source |
| Change backlog | one, shared by the whole company | a separate one in each domain |
| Consistent definitions | easy to enforce | requires shared rules and a catalog |
| Startup cost | lower | higher: platform, roles, domain onboarding |
| Main risk | bottleneck in the central team | diverging definitions and duplicates |
Choosing the storage layer is covered in the article on data warehouse, data lake or lakehouse. Data mesh answers a different question: how to split the work between people.
When decentralizing data makes sense
Data mesh solves a problem of organizational scale, not data volume. Signals that it is worth considering:
- the central data team has a backlog measured in months, and domains build their own spreadsheets and databases next to the warehouse;
- warehouse engineers do not know the business rules of the source systems, so every question about a definition goes back to the domain;
- the company has several large domains with their own systems and IT teams, for example a bank with cards, lending and treasury, or an insurer with several product lines;
- the domains already have people who can prepare data, or the company is ready to hire them.
Signals against:
- one warehouse, a few sources and a data team that keeps up with the work;
- domains without technical teams, because decentralization then shifts work onto people who have no time for it;
- no shared customer and product identifiers, because every domain will build its own version of the truth;
- no budget for a platform team, because without one every domain will buy and configure tools its own way.
Often the best answer is in the middle: the central warehouse stays for shared data (customer, product, general ledger), and the two or three largest domains get their own areas where they publish products under shared rules.
The last point ties into master data management. Before domains start publishing products, agree who owns the customer and the product, as described in the article on master data management (MDM).
How to start: a pilot in one domain
Google Cloud's documentation recommends starting with a business case that already has funding and a ready consumer. In practice this plan works well:
- Pick a domain and a consumer. For example the claims domain and the actuarial department, which reconciles data from two systems by hand every month.
- Define the first data product. Field descriptions, key, refresh frequency, owner, quality tests, personal data classification.
- Build a minimum platform. A pipeline template, a catalog entry for the product, role-based access control, an alert when data arrives late. Patterns for building such a platform are covered in the article on platform engineering.
- Agree on the first shared rules. Date format, customer identifier, how personal data is masked, a minimum set of tests.
- Measure the result. Time from question to data, number of manual reconciliations, number of data defect reports. Without these numbers it is hard to justify a second domain.
Drawing domain boundaries benefits from the same thinking as Domain-Driven Design: data domain boundaries usually match the bounded contexts in your systems.
Common implementation mistakes
- Renaming without changing responsibility. The warehouse stays the same, the central team still does everything, only the schemas are now named after domains.
- No platform team. Each domain builds its own pipelines and its own catalog, so after a year the company has several incompatible platforms.
- Rules without automation. A document on naming and quality standards that nothing enforces stops being followed within weeks. Data quality tests are covered in the article on data quality.
- A product without a consumer. A domain publishes dozens of tables nobody uses, and maintaining them still costs money.
- Ignoring how data is loaded. Data mesh does not spare you the decision of where to transform data. That decision is covered in the article ETL or ELT.
We made similar decisions on the data platform for Solvency II and IFRS 17 reporting, where data comes from several policy and finance systems.
Questions and answers
Does data mesh replace the data warehouse?
No. Data mesh changes the split of responsibility, not where the data is stored. Data products can live in the same warehouse or lakehouse, just in areas owned by domains and with an entry in the catalog. Many companies start from their existing warehouse and hand areas over to domains one by one, once each has an owner and tests.
At what company size does data mesh pay off?
There is no numeric threshold. What matters is the number of domains with their own systems and teams, and whether the central data team is a bottleneck. A company with one ERP and a few reports is usually better served by a well-run warehouse. A group with several business lines and separate IT teams has a better chance that decentralization pays for itself.
Who owns a data product?
A person from the domain who knows the process and can decide on changes, for example the lead of the claims system team. They are responsible for documentation, quality, deadlines and version changes. They do not have to write pipelines themselves, but their team needs engineers who maintain them. Without such a person a data product is just a table.
What tools do you need for data mesh?
A data store, a pipeline tool, a data catalog with owners and descriptions, role- and policy-based access control, and monitoring of quality and delays. The specific products depend on your cloud and stack. More important than the tool choice is that the platform team offers them to domains in one repeatable form.