
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.
Domains that know the data
- data-engineering
- analytics
- risk
Central data team
Shared catalog
- bank_silver.
card_transactions - bank_gold.
daily_spend - bank_gold.
customer_360
- data-engineering
- analytics
- 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.
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.
| Centralized data platform | Data mesh | Data lakehouse | |
|---|---|---|---|
| Benefits | Single source of truth, central governance, a simple architecture | Domain autonomy, ownership that scales with the organization, data quality from domain knowledge, faster delivery | Unified storage, ACID transactions, schema evolution, low cost |
| Challenges | Bottlenecks at scale, no domain context, slow to adapt, monolithic complexity | Coordination across domains, cultural change, investment in the platform | Still centralized by default. A technical answer, not an organizational one |
| Best for | Small organizations with simple data needs | Large organizations with many distinct data domains | Technical 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.
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
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_ENGINEERholdsCLUSTER_EDIT,JOB_CREATE.may change or run
DATA_SCIENTISTholdsJOB_CREATE.may see
USERholdsCLUSTER_READ.theirs Comes with the install.
ADMINholdsCLUSTER_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_ACCESShands it to a person.In the consoleWorkloads > Clusters > default
James O'Connor may change or run it: their own role
DATA_SCIENTISTholdsJOB_CREATE.its own cluster cluster, a namespace of its own
may change or run
DATA_ENGINEERholdsCLUSTER_CREATE.cannot touch
DATA_SCIENTISTholds none ofCLUSTER_CREATE.cannot touch
USERholds none ofCLUSTER_CREATE.theirs The platform team adds one for each domain.
ADMINholdsCLUSTER_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_EDITthe group may add storages as well.The platform team adds it and may hand it over. Anyone with
JOB_CREATEstill starts jobs on it.The platform team adds it and may hand it over. Anyone with
JOB_CREATEstill 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_ENGINEERholdsJOB_CREATE,JOB_DELETE.may change or run
DATA_SCIENTISTholdsJOB_CREATE.may see
USERholdsJOB_READ.may change or run
ADMINholdsJOB_CREATE,JOB_DELETE.Every firing of a schedule starts a job, and a job has no owner.
JOB_READlists every job of every domain,JOB_CREATEstarts one on any cluster, andJOB_DELETEstops or deletes anybody's.In the consoleWorkloads > Jobs
James O'Connor may change or run it: their own role
DATA_SCIENTISTholdsJOB_CREATE.
Seen across domains
Lineage Marquez, one graph for every domain
may see
DATA_ENGINEERholdsLINEAGE_READ.may see
DATA_SCIENTISTholdsLINEAGE_READ.may see
USERholdsLINEAGE_READ.may see
ADMINholdsLINEAGE_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_ENGINEERholdsEVENTLOG_READ.may see
DATA_SCIENTISTholdsEVENTLOG_READ.may see
USERholdsEVENTLOG_READ.theirs Only
ADMINholdsEVENTLOG_READ_ALL.EVENTLOG_READ, which every role holds, shows a person their own entries.EVENTLOG_READ_ALL, held only byADMIN, shows everybody's, a handover included asOWNERSHIP_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_SCIENTISTholdsSCHEDULE_READ.may see
USERholdsSCHEDULE_READ.may change or run
ADMINholdsSCHEDULE_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_SCIENTISTholdsSCHEDULE_READ.may see
USERholdsSCHEDULE_READ.may change or run
ADMINholdsSCHEDULE_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_SCIENTISTholdsSCHEDULE_READ.may see
USERholdsSCHEDULE_READ.may change or run
ADMINholdsSCHEDULE_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_ENGINEERholdsSERVICE_EXECUTE,SERVICE_EDIT,SERVICE_PAUSERESUME,SERVICE_ARCHIVE.theirs Handed over to Sarah Mitchell, who owns it.
DATA_SCIENTISTholdsSERVICE_EXECUTE.may see
USERholdsSERVICE_READ.may change or run
ADMINholdsSERVICE_EXECUTE,SERVICE_EDIT,SERVICE_PAUSERESUME,SERVICE_ARCHIVE.DATA_SCIENTISTmay 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 withSERVICE_DELETE, whichDATA_SCIENTISTdoes not hold.In the consoleWorkloads > Services > User audit
James O'Connor may change or run it: their own role
DATA_SCIENTISTholdsSERVICE_EXECUTE.customer-360-lookup service, serves bank_gold.customer_360
may change or run
DATA_ENGINEERholdsSERVICE_EXECUTE,SERVICE_EDIT,SERVICE_PAUSERESUME,SERVICE_ARCHIVE.may change or run
DATA_SCIENTISTholdsSERVICE_EXECUTE.theirs Handed over to James O'Connor, who owns it.
may change or run
ADMINholdsSERVICE_EXECUTE,SERVICE_EDIT,SERVICE_PAUSERESUME,SERVICE_ARCHIVE.Handed to James O'Connor the same way. The role
DATA_SCIENTISTheld directly givesSERVICE_EXECUTE, so the owner runs it. Rachel Nguyen holds only the group'sUSER, 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_ENGINEERholdsSQL_EXECUTE,JOB_CREATE.may change or run
DATA_SCIENTISTholdsSQL_EXECUTE,JOB_CREATE.may see
USERholdsTABLEEXPLORER_READ.may change or run
ADMINholdsSQL_EXECUTE,JOB_CREATE.Ilum records no owner for a database: it is data-engineering's because its jobs write it.
TABLEEXPLORER_READshows its tables to every role.SQL_EXECUTEandJOB_CREATEreach its rows, whoever holds them.In the consoleTools > Table Explorer
James O'Connor may change or run it: their own role
DATA_SCIENTISTholdsSQL_EXECUTE.bank_silver database, card_transactions
theirs Theirs by agreement. Ilum records no owner.
DATA_ENGINEERholdsSQL_EXECUTE,JOB_CREATE.may change or run
DATA_SCIENTISTholdsSQL_EXECUTE,JOB_CREATE.may see
USERholdsTABLEEXPLORER_READ.may change or run
ADMINholdsSQL_EXECUTE,JOB_CREATE.Ilum records no owner for a database: it is data-engineering's because its jobs write it.
TABLEEXPLORER_READshows its tables to every role.SQL_EXECUTEandJOB_CREATEreach its rows, whoever holds them.In the consoleTools > Table Explorer
James O'Connor may change or run it: their own role
DATA_SCIENTISTholdsSQL_EXECUTE.bank_gold database, daily_spend, customer_360
theirs Theirs by agreement. Ilum records no owner.
DATA_ENGINEERholdsSQL_EXECUTE,JOB_CREATE.may change or run
DATA_SCIENTISTholdsSQL_EXECUTE,JOB_CREATE.may see
USERholdsTABLEEXPLORER_READ.may change or run
ADMINholdsSQL_EXECUTE,JOB_CREATE.Ilum records no owner for a database: it is data-engineering's because its jobs write it.
TABLEEXPLORER_READshows its tables to every role.SQL_EXECUTEandJOB_CREATEreach its rows, whoever holds them.In the consoleTools > Table Explorer
James O'Connor may change or run it: their own role
DATA_SCIENTISTholdsSQL_EXECUTE.ilum-data bucket, the files of all three
may change or run
DATA_ENGINEERholdsJOB_CREATE,SQL_EXECUTE.may change or run
DATA_SCIENTISTholdsJOB_CREATE,SQL_EXECUTE.may see
USERholdsFILEEXPLORER_READ.theirs Only
ADMINholdsFILEEXPLORER_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_READand may browse its files. Uploading, moving and deleting there areADMIN's.In the consoleTools > File Explorer
James O'Connor may change or run it: their own role
DATA_SCIENTISTholdsJOB_CREATE.SQL statements, Spark SQL, Trino, DuckDB
may change or run
DATA_ENGINEERholdsSQL_EXECUTE.may change or run
DATA_SCIENTISTholdsSQL_EXECUTE.cannot touch
USERholds none ofSQL_READ,SQL_EXECUTE.may change or run
ADMINholdsSQL_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_SCIENTISTholdsSQL_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/ilummakes it andhelm upgradechanges it, so it belongs to whoever may run Helm in its namespace: the platform team.In the consolenone, it is
helmandkubectlusers, groups, roles security, who holds what
may see
DATA_ENGINEERholdsGROUP_READ,USER_READ,USERROLE_READ.may see
DATA_SCIENTISTholdsGROUP_READ,USER_READ,USERROLE_READ.may see
USERholdsGROUP_READ,USER_READ,USERROLE_READ.theirs Only
ADMINholdsUSER_EDIT_ACCESS,USER_CREATE,GROUP_CREATE,GROUP_EDIT,USERROLE_CREATE,USERROLE_EDIT.Only
ADMINcreates 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_ENGINEERholdsPRESET_READ.may see
DATA_SCIENTISTholdsPRESET_READ.may see
USERholdsPRESET_READ.theirs Only
ADMINholdsPRESET_CREATE,PRESET_EDIT,PRESET_DELETE.Named Spark settings for clusters, services, schedules and jobs. The chart brings delta and iceberg. Only
ADMINcreates, 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.
bank_gold.daily_spendgold
- Stored as
- Hive table, Parquet files, 58,320 rows
- Location
s3a://ilum-data/bank_gold.db/daily_spend- Schema
- 10 fields
txn_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-kpis30 3 * * *owner Priya Patel- Served by
bank-insightsowner Sarah Mitchell, analytics- Access
TABLEEXPLORER_READshows it to every role,SQL_EXECUTEreaches its rows- Audit
- The Event Log, each person their own actions and
ADMINeverybody'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
How to build it on Ilum
In the order that works: boundaries first, platform second, domains one at a time.
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.
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.
We reply within two working days.