Skip to content
Lines of light bursting out of one glowing core, each ending in a node of its own.

Data mesh

Run a data mesh without running ten platforms.

Data mesh moves data ownership to the domain teams that know the data. On Ilum one platform team runs one install, and each domain gets a group, a role and a namespace with a quota of its own.

What is data mesh?

Data mesh is a way of organizing analytical data, described by Zhamak Dehghani in 2019. Each business domain owns its data and serves it as a product, on a shared self-serve platform under federated governance.

Organized around

Domains that know the data

  1. data-engineering
  2. analytics
  3. risk

Central data team

Shared catalog

  1. bank_silver.card_transactions
  2. bank_gold.daily_spend
  3. bank_gold.customer_360
  1. data-engineering
  2. analytics
  3. risk

Domains that use it

Every request waits in one queue, worked by people without the context of the data.

Each domain serves its data as a product. The others query it by name, without a ticket.

The four principles

Data mesh is a set of organizational principles. The technology serves them.

Principle

data-engineeringDATA_ENGINEER

builds bronze, silver and gold

  • schedulecard-transactions-dailyowner Marcus Johnson
  • schedulebank-gold-kpisowner Priya Patel
  • schedulecustomer-360-weeklyowner Priya Patel

analyticsDATA_SCIENTIST

serves card-spend KPIs

  • servicebank-insightsowner Sarah Mitchell

riskUSER

looks customers up

  • servicecustomer-360-lookupowner James O'Connor

One representative per domain agrees

  • table format
  • classification
  • access
  • quality checks

One Ilumrun by the platform team

  • Spark
  • Trino
  • Airflow
  • Jupyter
  • Hive Metastore
  • Nessie
  • MinIO
  • OpenLineage

The principle

The team closest to the data owns it end to end: ingestion, modeling, quality and serving. No central team stands between the producer and the consumer.

On Ilum

Each domain owns the schedules and services that build and serve its data products. Whoever creates one owns it, and only the owner deletes it.

The principle

Each data set has an owner, a documented schema, a service level and quality guarantees. It is built for the people who consume it, and found without asking around.

On Ilum

Its tables sit in the shared catalog, where every role can find them, with the lineage of the jobs that wrote them.

The principle

A platform team provides storage, compute, orchestration, catalog, lineage and monitoring as a service. Domains use it on their own and file no tickets for it.

On Ilum

One platform team runs one Ilum instead of one stack per domain. Storage, the catalog, Trino, Airflow and Jupyter are installed once and shared, and Spark runs on a cluster entry per domain, each in a namespace with its own quota.

The principle

Representatives of the domains agree on global rules: formats, classification, access, interoperability, compliance. In the model, the rules run as code in the platform rather than as committee review.

On Ilum

A group per domain carries a role, and its members hold it on top of their own. Roles apply across the whole platform. Table-level grants are not part of the Community edition: SQL_EXECUTE reaches every table the engine reaches, and table formats and quality checks are standards the domains agree on.

Three approaches compared

Data mesh and the lakehouse answer different questions. One is about who owns the data, the other about how it is stored.

Approach
Three approaches compared
Centralized data platformData meshData lakehouse
BenefitsSingle source of truth, central governance, a simple architectureDomain autonomy, ownership that scales with the organization, data quality from domain knowledge, faster deliveryUnified storage, ACID transactions, schema evolution, low cost
ChallengesBottlenecks at scale, no domain context, slow to adapt, monolithic complexityCoordination across domains, cultural change, investment in the platformStill centralized by default. A technical answer, not an organizational one
Best forSmall organizations with simple data needsLarge organizations with many distinct data domainsTechnical modernization without restructuring who owns data

Data mesh and the data lakehouse

A data lakehouse is a technical architecture, data mesh an organizational model. They are not alternatives: the usual way to build a mesh is on a lakehouse.

The data lakehouse on Kubernetes

A mesh of warehouses

Data mesh on a lakehouse

Shared: storage, Iceberg, Delta and Hudi tables, the Hive Metastore or a Nessie catalog, Trino, Airflow, Jupyter and lineage.

Per domain: its Spark jobs on its own cluster entry, the schedules and services it owns, and its saved queries.

Central warehouse

Central lakehouse

One central team owns the data, Each domain owns its data. Proprietary warehouse storage, Open table formats on object storage.

Who owns what?

One Ilum for a bank: three domains, each a group with a role, and a platform team with ADMIN. Pick a seat and every place says what it may do there and which permission decides. Point at a place for its rule.

Marcus Johnson, Priya Patel, Emily Carter. Emily Carter is in this group and also holds ADMIN, which makes Emily Carter the platform team as well.

Sarah Mitchell, David Kim, Olivia Martinez. Olivia Martinez holds USER directly and DATA_SCIENTIST through the group. A person holds the permissions of both.

James O'Connor, Rachel Nguyen. James O'Connor holds DATA_SCIENTIST directly. A + marks a place where that role allows more than the group.

Emily Carter. ADMIN holds every permission, and still deletes what a person owns only after handing it to itself.

  • theirs6117
  • may change or run78010
  • may see47141
  • cannot touch1230

Kubernetes

  • default cluster, Kubernetes, the release namespace

    may change or run DATA_ENGINEER holds CLUSTER_EDIT, JOB_CREATE.

    may change or run DATA_SCIENTIST holds JOB_CREATE.

    may see USER holds CLUSTER_READ.

    theirs Comes with the install. ADMIN holds CLUSTER_EDIT, JOB_CREATE.

    The cluster entry a plain install makes, for the namespace of the release. ilum-core creates it at start, so its owner is system, and nobody deletes it until USER_EDIT_ACCESS hands it to a person.

    In the consoleWorkloads > Clusters > default

    James O'Connor may change or run it: their own role DATA_SCIENTIST holds JOB_CREATE.

  • its own cluster cluster, a namespace of its own

    may change or run DATA_ENGINEER holds CLUSTER_CREATE.

    cannot touch DATA_SCIENTIST holds none of CLUSTER_CREATE.

    cannot touch USER holds none of CLUSTER_CREATE.

    theirs The platform team adds one for each domain. ADMIN holds CLUSTER_CREATE.

    Not in a plain install. Add Cluster, type Kubernetes, with a namespace and storages of its own: on save ilum-core creates the namespace, a service account and its binding, and the ResourceQuota and LimitRange of the form.

    In the consoleWorkloads > Clusters > Add Cluster

    Whoever adds it owns it. With CLUSTER_EDIT the group may add storages as well.

    The platform team adds it and may hand it over. Anyone with JOB_CREATE still starts jobs on it.

    The platform team adds it and may hand it over. Anyone with JOB_CREATE still starts jobs on it.

    ilum-core creates them with the chart’s default RBAC, not with rbac.restricted.enabled. One namespace takes one cluster entry, never two.

  • jobs every run, no owner

    may change or run DATA_ENGINEER holds JOB_CREATE, JOB_DELETE.

    may change or run DATA_SCIENTIST holds JOB_CREATE.

    may see USER holds JOB_READ.

    may change or run ADMIN holds JOB_CREATE, JOB_DELETE.

    Every firing of a schedule starts a job, and a job has no owner. JOB_READ lists every job of every domain, JOB_CREATE starts one on any cluster, and JOB_DELETE stops or deletes anybody's.

    In the consoleWorkloads > Jobs

    James O'Connor may change or run it: their own role DATA_SCIENTIST holds JOB_CREATE.

Seen across domains

  • Lineage Marquez, one graph for every domain

    may see DATA_ENGINEER holds LINEAGE_READ.

    may see DATA_SCIENTIST holds LINEAGE_READ.

    may see USER holds LINEAGE_READ.

    may see ADMIN holds LINEAGE_READ.

    Every role holds the lineage permissions, so every domain sees the whole graph, card-transactions-daily into bank_silver and bank-gold-kpis into bank_gold. Nothing in it is hidden by domain.

    In the consoleTools > Lineage

  • Event Log audit, one entry per action

    may see DATA_ENGINEER holds EVENTLOG_READ.

    may see DATA_SCIENTIST holds EVENTLOG_READ.

    may see USER holds EVENTLOG_READ.

    theirs Only ADMIN holds EVENTLOG_READ_ALL.

    EVENTLOG_READ, which every role holds, shows a person their own entries. EVENTLOG_READ_ALL, held only by ADMIN, shows everybody's, a handover included as OWNERSHIP_TRANSFERRED.

    In the consoleSecurity > Event Log

Workloads

  • card-transactions-daily schedule, 0 2 * * *, writes bank_silver

    theirs Marcus Johnson created it and owns it.

    may see DATA_SCIENTIST holds SCHEDULE_READ.

    may see USER holds SCHEDULE_READ.

    may change or run ADMIN holds SCHEDULE_EDIT, SCHEDULE_PAUSERESUME, SCHEDULE_ARCHIVE.

    Its owner is the person who created it, Marcus Johnson. Only the owner deletes it, and only with SCHEDULE_DELETE. Editing, pausing and archiving go by role, on every schedule.

    In the consoleWorkloads > Schedules > User audit

  • bank-gold-kpis schedule, 30 3 * * *, writes bank_gold

    theirs Priya Patel created it and owns it.

    may see DATA_SCIENTIST holds SCHEDULE_READ.

    may see USER holds SCHEDULE_READ.

    may change or run ADMIN holds SCHEDULE_EDIT, SCHEDULE_PAUSERESUME, SCHEDULE_ARCHIVE.

    Its owner is the person who created it, Priya Patel. Only the owner deletes it, and only with SCHEDULE_DELETE. Editing, pausing and archiving go by role, on every schedule.

    In the consoleWorkloads > Schedules > User audit

  • customer-360-weekly schedule, 0 5 * * 1, writes bank_gold

    theirs Priya Patel created it and owns it.

    may see DATA_SCIENTIST holds SCHEDULE_READ.

    may see USER holds SCHEDULE_READ.

    may change or run ADMIN holds SCHEDULE_EDIT, SCHEDULE_PAUSERESUME, SCHEDULE_ARCHIVE.

    Its owner is the person who created it, Priya Patel. Only the owner deletes it, and only with SCHEDULE_DELETE. Editing, pausing and archiving go by role, on every schedule.

    In the consoleWorkloads > Schedules > User audit

  • bank-insights service, serves bank_gold.daily_spend

    may change or run DATA_ENGINEER holds SERVICE_EXECUTE, SERVICE_EDIT, SERVICE_PAUSERESUME, SERVICE_ARCHIVE.

    theirs Handed over to Sarah Mitchell, who owns it. DATA_SCIENTIST holds SERVICE_EXECUTE.

    may see USER holds SERVICE_READ.

    may change or run ADMIN holds SERVICE_EXECUTE, SERVICE_EDIT, SERVICE_PAUSERESUME, SERVICE_ARCHIVE.

    DATA_SCIENTIST may not create a service, so data-engineering made this one and handed it to Sarah Mitchell with Transfer ownership. Only the owner may delete it, and only with SERVICE_DELETE, which DATA_SCIENTIST does not hold.

    In the consoleWorkloads > Services > User audit

    James O'Connor may change or run it: their own role DATA_SCIENTIST holds SERVICE_EXECUTE.

  • customer-360-lookup service, serves bank_gold.customer_360

    may change or run DATA_ENGINEER holds SERVICE_EXECUTE, SERVICE_EDIT, SERVICE_PAUSERESUME, SERVICE_ARCHIVE.

    may change or run DATA_SCIENTIST holds SERVICE_EXECUTE.

    theirs Handed over to James O'Connor, who owns it.

    may change or run ADMIN holds SERVICE_EXECUTE, SERVICE_EDIT, SERVICE_PAUSERESUME, SERVICE_ARCHIVE.

    Handed to James O'Connor the same way. The role DATA_SCIENTIST held directly gives SERVICE_EXECUTE, so the owner runs it. Rachel Nguyen holds only the group's USER, so the service shows but does not run for that account.

    In the consoleWorkloads > Services > User audit

Catalog and storage

  • bank_bronze database, six raw tables

    theirs Theirs by agreement. Ilum records no owner. DATA_ENGINEER holds SQL_EXECUTE, JOB_CREATE.

    may change or run DATA_SCIENTIST holds SQL_EXECUTE, JOB_CREATE.

    may see USER holds TABLEEXPLORER_READ.

    may change or run ADMIN holds SQL_EXECUTE, JOB_CREATE.

    Ilum records no owner for a database: it is data-engineering's because its jobs write it. TABLEEXPLORER_READ shows its tables to every role. SQL_EXECUTE and JOB_CREATE reach its rows, whoever holds them.

    In the consoleTools > Table Explorer

    James O'Connor may change or run it: their own role DATA_SCIENTIST holds SQL_EXECUTE.

  • bank_silver database, card_transactions

    theirs Theirs by agreement. Ilum records no owner. DATA_ENGINEER holds SQL_EXECUTE, JOB_CREATE.

    may change or run DATA_SCIENTIST holds SQL_EXECUTE, JOB_CREATE.

    may see USER holds TABLEEXPLORER_READ.

    may change or run ADMIN holds SQL_EXECUTE, JOB_CREATE.

    Ilum records no owner for a database: it is data-engineering's because its jobs write it. TABLEEXPLORER_READ shows its tables to every role. SQL_EXECUTE and JOB_CREATE reach its rows, whoever holds them.

    In the consoleTools > Table Explorer

    James O'Connor may change or run it: their own role DATA_SCIENTIST holds SQL_EXECUTE.

  • bank_gold database, daily_spend, customer_360

    theirs Theirs by agreement. Ilum records no owner. DATA_ENGINEER holds SQL_EXECUTE, JOB_CREATE.

    may change or run DATA_SCIENTIST holds SQL_EXECUTE, JOB_CREATE.

    may see USER holds TABLEEXPLORER_READ.

    may change or run ADMIN holds SQL_EXECUTE, JOB_CREATE.

    Ilum records no owner for a database: it is data-engineering's because its jobs write it. TABLEEXPLORER_READ shows its tables to every role. SQL_EXECUTE and JOB_CREATE reach its rows, whoever holds them.

    In the consoleTools > Table Explorer

    James O'Connor may change or run it: their own role DATA_SCIENTIST holds SQL_EXECUTE.

  • ilum-data bucket, the files of all three

    may change or run DATA_ENGINEER holds JOB_CREATE, SQL_EXECUTE.

    may change or run DATA_SCIENTIST holds JOB_CREATE, SQL_EXECUTE.

    may see USER holds FILEEXPLORER_READ.

    theirs Only ADMIN holds FILEEXPLORER_UPLOAD, FILEEXPLORER_DELETE, FILEEXPLORER_MOVE, FILEEXPLORER_EDIT.

    One bucket of the install's MinIO holds the three databases, a folder each. Every role holds FILEEXPLORER_READ and may browse its files. Uploading, moving and deleting there are ADMIN's.

    In the consoleTools > File Explorer

    James O'Connor may change or run it: their own role DATA_SCIENTIST holds JOB_CREATE.

  • SQL statements, Spark SQL, Trino, DuckDB

    may change or run DATA_ENGINEER holds SQL_EXECUTE.

    may change or run DATA_SCIENTIST holds SQL_EXECUTE.

    cannot touch USER holds none of SQL_READ, SQL_EXECUTE.

    may change or run ADMIN holds SQL_EXECUTE.

    The console checks SQL_EXECUTE, not the table: a statement may read or write any table its engine reaches. Saved queries and SQL notebooks belong to whoever saved them, and only they delete them.

    In the consoleTools > SQL

    James O'Connor may change or run it: their own role DATA_SCIENTIST holds SQL_EXECUTE.

Platform

  • the release Helm, install and upgrades

    cannot touch Outside the console.

    cannot touch Outside the console.

    cannot touch Outside the console.

    theirs Installed and upgraded with Helm by the platform team.

    helm install ilum ilum/ilum makes it and helm upgrade changes it, so it belongs to whoever may run Helm in its namespace: the platform team.

    In the consolenone, it is helm and kubectl

  • users, groups, roles security, who holds what

    may see DATA_ENGINEER holds GROUP_READ, USER_READ, USERROLE_READ.

    may see DATA_SCIENTIST holds GROUP_READ, USER_READ, USERROLE_READ.

    may see USER holds GROUP_READ, USER_READ, USERROLE_READ.

    theirs Only ADMIN holds USER_EDIT_ACCESS, USER_CREATE, GROUP_CREATE, GROUP_EDIT, USERROLE_CREATE, USERROLE_EDIT.

    Only ADMIN creates users, groups and roles, changes who holds what, and hands over what another person owns. A group carries roles and permissions, and its members hold them on top of their own role.

    In the consoleSecurity > Users, Groups, Roles

  • presets Spark settings, delta, iceberg

    may see DATA_ENGINEER holds PRESET_READ.

    may see DATA_SCIENTIST holds PRESET_READ.

    may see USER holds PRESET_READ.

    theirs Only ADMIN holds PRESET_CREATE, PRESET_EDIT, PRESET_DELETE.

    Named Spark settings for clusters, services, schedules and jobs. The chart brings delta and iceberg. Only ADMIN creates, edits and deletes them, and deleting one also takes its owner.

    In the consoleResources > Presets

A person owns what they create in the console: a cluster, a schedule, a service, a preset, a saved query or a SQL notebook. A job, a table and a bucket have no owner.

In depth: every permission of the four roles, where a table lives, catalog and files.

What a data product has to carry

A product is a table that a consumer can find, judge and trust without a meeting. Ilum fills in part of its entry, and the owning domain writes the rest.

What it carries

bank_gold.daily_spendgold

Stored as
Hive table, Parquet files, 58,320 rows
Location
s3a://ilum-data/bank_gold.db/daily_spend
Schema
10 fieldstxn_date datecustomer_state stringcategory stringchannel stringpayments bigintapproved bigintvolume_usd decimal(25,2)avg_ticket_usd decimal(15,2)decline_rate_pct doublehigh_risk_payments bigint
Built from
bank_silver.card_transactions
Refreshed by
bank-gold-kpis 30 3 * * * owner Priya Patel
Served by
bank-insights owner Sarah Mitchell, analytics
Access
TABLEEXPLORER_READ shows it to every role, SQL_EXECUTE reaches its rows
Audit
The Event Log, each person their own actions and ADMIN everybody's
Owner
data-engineering
Glossary and usage
business terms and example queries
Service level
freshness and availability targets
Quality checks
run in the pipeline that builds it
Classification
public, internal or restricted
Filled in by Ilum: Stored as, Location, Schema, Built from, Refreshed by, Served by, Access, Audit. Written by the owning domain: Owner, Glossary and usage, Service level, Quality checks, Classification.

How to build it on Ilum

In the order that works: boundaries first, platform second, domains one at a time.

Step

01Draw the domain boundaries

Use domain-driven design. Align domains with business capabilities and the teams that already exist, and look for bounded contexts where one team has end-to-end responsibility. Start with one or two pilot domains, not all of them.

You need

One or two domains with an owner

A team that owns a data set end to end, and the first table it will publish.

02Install the shared platform once

One Helm release of Ilum, connected to your object storage. The Hive Metastore comes with it, and the Data Catalogs page of the console connects a Nessie catalog as well. Sign-in through LDAP or OAuth2. OpenLineage collects lineage from the start.

In the consoleData Catalogs

You need

A Kubernetes cluster and object storage

Any conformant Kubernetes, with S3, MinIO, GCS, Azure Blob or HDFS underneath. The Community edition installs with Helm and has no license fee.

03Give each domain a namespace

The platform team adds a cluster entry of type Kubernetes for the domain, with a namespace and a quota of its own. On save Ilum creates the namespace, a service account and the quota, with the default RBAC of the chart. Airflow, Jupyter and Trino are installed once for all domains, and anyone whose role holds JOB_CREATE may start a job on any cluster.

In the consoleWorkloads > Clusters > Add Cluster

You need

A small platform team

Two or three people to run the shared platform.

04Define the data product standard

A table format, Iceberg, Delta or Hudi. Registration in the shared catalog. A named owner. A published schema. Freshness and availability targets. Quality checks that run in the pipeline. Lineage comes free from the jobs that build the product.

05Publish and consume through the catalog

A domain publishes a table by registering it in the shared catalog. Other domains find it in the Table Explorer and query it with Trino or Spark SQL by name, without copying it.

In the consoleTools > Table Explorer

06Govern federated, then onboard the rest

A governance group with one representative per domain sets the global rules, and the domains hold each other to them. The Event Log shows each person their own actions and shows ADMIN everybody's. Measure lead time, incidents and platform-team load, then onboard the remaining domains at the pace the pilots proved.

In the consoleEvent Log

You need

A governance group

One representative per domain to agree on formats, classification and access rules.

When data mesh fits

Tick what is true of your organization today.

If one team can still see the whole picture, a central lakehouse is simpler.

A mesh fits. Start with one or two pilot domains, where the bottleneck hurts most.

Is your organization ready?

Three counts decide where to start: the organization, the technology and the culture.

Organization

Clear domain boundaries, autonomous teams and business-driven data needs. Start with pilot domains now.

Centralized decision-making and unclear ownership. The boundaries come first.

Technology

Cloud-native infrastructure, containers, APIs and a DevOps culture, the base a self-serve platform needs.

A legacy on-premises estate with manual processes. Invest in the platform before adding domains.

Culture

A product mindset, cross-functional teams and data literacy carry a mesh.

Project-based delivery and siloed teams. Change management and training come before the technology will help.

Questions and answers

What is data mesh architecture?

A decentralized approach to analytical data built on four principles: domain-oriented ownership, data as a product, a self-serve data platform and federated computational governance. Domain teams own and serve their data. A central platform team runs the shared infrastructure instead of every pipeline.

How does data mesh differ from a data lakehouse?

Data mesh is an organizational model: who owns data and how it is governed. A data lakehouse is a technical architecture: open table formats on object storage with warehouse features. A mesh is usually built on a lakehouse, with each domain responsible for its tables in a shared catalog.

What are the four principles of data mesh?

Domain-oriented decentralized data ownership, data as a product, self-serve data infrastructure as a platform, and federated computational governance.

When should I adopt data mesh?

When the central data team has become the bottleneck, when domain teams lack context about data processed for them, when quality problems come from centralized processing far from the source, or when governance across many consumers and business domains creates more overhead than value. If one team can still see the whole picture, a central lakehouse is simpler.

How does data mesh scale?

Horizontally, domain by domain. Each new domain gets a group and a cluster entry with its own namespace on the shared platform, and publishes its own data products. No central team has to grow with it. Value compounds as domains consume each other's products through the shared catalog.

What makes a data mesh succeed?

Executive sponsorship for the organizational change, real investment in the self-serve platform, clear data product standards and governance, training and support for domain teams, gradual migration rather than a big bang, and measuring business outcomes rather than only technical metrics.

How do I identify domain boundaries?

Use domain-driven design. Align with business capabilities and the organization as it is, look for the natural owner of each data set, find bounded contexts where one team has end-to-end responsibility, consider how consumers use the data, and make sure each domain can operate on its own.

What is the return on data mesh?

The returns come from four places: data products ship faster because domains do not queue for a central team. The central team's workload shrinks to running the platform. Quality improves because the people who know the data own it. And cost falls where domains run only what they need. Measure your own request lead time, incident count and platform backlog before and after.

What are the common pitfalls?

Changing technology without changing ownership, cutting too many small domains with unclear boundaries, underinvesting in the self-serve platform, having no data product standard, skipping federated governance, and migrating everything at once.

How does Ilum support data mesh?

Ilum is the self-serve platform, run by one platform team. Each domain is a group with a role, and gets a cluster entry with its own Kubernetes namespace and quota for its Spark jobs and services. Whoever creates a schedule, a service or a saved query owns it, and only the owner deletes it. Storage, the catalog (the Hive Metastore, or a Nessie catalog), Trino, Airflow, Jupyter and OpenLineage lineage are shared, so a product published by one domain is discoverable and queryable by the others. Table-level grants are not part of the Community edition. It runs on any Kubernetes: cloud, on-premises or hybrid.

Data mesh

Start with one domain

Install the Community edition, give the first domain a namespace and publish its first table. If you want help drawing the boundaries, talk to an engineer who has done it.

Contact

Tell us about your cluster.

Name one workload you want to move.

Tell us where it runs today.

We answer with a plan, not a deck.

[email protected]

We reply within two working days.