© Owner/Author 2024. This is the author’s version of the work. It is posted here for your personal use. Not for redistribution.

Data Mesh: A Systematic Gray Literature Review

Abel Goedegebuure [email protected] Indika Kumara [email protected] Stefan Driessen [email protected] Willem-Jan van den Heuvel [email protected] Tilburg UniversityWarandelaan 2TilburgNorth BrabantNetherlands5037 AB Geert Monsieur [email protected] Damian Andrew Tamburri [email protected] Eindhoven University of TechnologyGroene Loper 3EindhovenNorth BrabantNetherlands5612 AZ  and  Dario Di Nucci [email protected] University of SalernoVia Giovanni Paolo II, 132Fisciano SASalernoItaly84084
Abstract.

Data mesh is an emerging domain-driven decentralized data architecture that aims to minimize or avoid operational bottlenecks associated with centralized, monolithic data architectures in enterprises. The topic has picked the practitioners’ interest, and there is considerable gray literature on it. At the same time, we observe a lack of academic attempts at defining and building upon the concept. Hence, in this article, we aim to start from the foundations and characterize the data mesh architecture regarding its design principles, architectural components, capabilities, and organizational roles. We systematically collected, analyzed, and synthesized 114 industrial gray literature articles. The review provides insights into practitioners’ perspectives on the four key principles of data mesh: data as a product, domain ownership of data, self-serve data platform, and federated computational governance. Moreover, due to the comparability of data mesh and SOA (service-oriented architecture), we mapped the findings from the gray literature into the reference architectures from the SOA academic literature to create the reference architectures for describing three key dimensions of data mesh: organization of capabilities and roles, development, and runtime. Finally, we discuss open research issues in data mesh, partially based on the findings from the gray literature.

copyright: none

1. Introduction

The world is living in the golden age of data. IDC (International Data Corporation) predicts that by 2025, the amount of digital data generated by enterprises and individuals will grow 61% to 175 zettabytes (Rydning et al., 2018). While the advances in the analytic data landscape can enable organizations to turn their ever-growing raw data into value, the difficulties in the integration, management, and governance of data at scale hamper the success of data analytic projects of organizations (Ramachandran, 2020; Janssen et al., 2020). In the current practices of centralized data management, domain teams rely on a central data management team to collect, process, and manage domain data. This central team is becoming the bottleneck for unlocking the value from domain data. There is a need to shift the domain data’s responsibility from the central team to domain teams (Dehghani, 2022a).

A data mesh is emerging as a novel decentralized approach for managing data at scale by applying domain-oriented, self-serve design and product thinking (Dehghani, 2022a). Zhamak Dehghani first defined the term data mesh in 2019 (Dehghani, 2019b). Figure 1 shows the search index for “Data Mesh” on Google Trends from January 2019 to December 2023 (monthly average). The interest in data mesh grew gradually until early 2022. Then, there was a sharp increase, followed by a generally sustained popularity. Despite its popularity, little academic literature exists on the data mesh topic. However, as organizations increasingly investigate data mesh, we saw an opportunity to systematically review the gray literature to better characterize the concept and drive a research agenda.

Refer to caption\Description

Google trends for the term “Data Mesh”.

Figure 1. Google trends for the term “Data Mesh”.

Zhamak (Dehghani, 2022a) defines the architecture of data mesh based on four principles: data as a product, domain ownership of data, self-serve data platform, and federated computational governance. The data assets in an organization are offered as products that enable consumers to efficiently and autonomously discover and use domain data. Domain teams closest to the origin of data create and manage data products. A mesh of data products emerges when domains consume data products from each other. To ensure the data products are interoperable and compliant with internal and external regulations and policies, a federated governance team is responsible for defining and enforcing product interoperability standards and compliance policies across the data mesh. Finally, a self-serve data platform supports the domains by offering infrastructure and platform services necessary to build, maintain, and manage data products.

To a certain extent, we observed a strong analogy between data mesh and service-oriented architecture (SOA), particularly with domain-driven microservices (Dehghani, 2022a, 2019b; Jochen Christ and Harrer, 2022). SOA represents a software application as a set of loosely coupled collaborating services (Papazoglou and Van Den Heuvel, 2007). It promotes the idea of building applications by composing existing applications from multiple parties through discovering and invoking network-available services. The microservices architecture is a variant of SOA. The success of the domain-oriented design and microservices architecture was an inspiration for inventing the data mesh architecture (Dehghani, 2022b, 2019b, a). Data products are often exposed as services and consumed through APIs. A data mesh relates and connects data products, which is analogous to a service mesh. The product owners can publish their data products, and consumers can discover and interconnect the desired products to perform cross-domain data analysis and build new value-added data products, which is analogous to service composition.

In this paper, we report a Systematic Gray Literature Review (SGLR) that aims to identify and review the gray literature on the data mesh to synthesize the practitioners’ understanding of the data mesh and identify research challenges for academia. We selected and analyzed 114 gray literature articles. Our findings include the practitioners’ characterization of four principles of a data mesh, common architectural components in a data mesh, and potential benefits and drawbacks of a data mesh. Moreover, the similarities between SOA and data mesh motivated us to adopt the well-established reference architectures from SOA to organize the findings from our SGLR into three reference architectures. Our map** of data mesh to SOA can also help the research community understand research challenges in data mesh and the potential use of SOA research results to address those challenges.

The remainder of this article is organized as follows. Section 2 describes our systematic literature review methodology. Based on the findings of the gray literature, Section 3 explores the data mesh and its four principles and Section 4 presents its potential benefits and drawbacks. Section 5 describes our three reference architectures for the data mesh, while Section 6 lists potential research challenges. Section 7 summarizes the academic research studies on data mesh and the literature review studies relevant to our survey. Finally, we discuss the threats to the validity of our research in Section 8 and conclude the paper in Section 9.

2. Methodology

Due to the novelty of the data mesh paradigm, little academic literature is available on the topic. At the same time, since the data mesh concept has its roots in the industry as opposed to academics (Dehghani, 2022b, 2019b), gray literature about the topic, such as blog posts and white papers, is widely available. Since the quality of structured literature reviews (SLRs) depends greatly on the availability of enough source material, a gray literature review (GLR) was conducted to investigate the state-of-the-art for the data mesh. In this work, we follow the guidelines provided by Garousi et. al. (Garousi et al., 2019), who adapted the SLR guidelines of Kitchenham and Charters (Keele et al., 2007) specifically for GLRs. Following these methodologies, our GLR is organized into three stages: a planning and design phase, an execution phase, and a reporting phase. A high-level overview of these phases and their steps are depicted in Figure 2.

Refer to caption\Description

Systematic gray literature review process.

Figure 2. Systematic gray literature review process.

2.1. Planning and Design of the Gray Literature Review

Our main goals were to provide a unified definition of the data mesh concept, create reference architectures for the data mesh, and identify research challenges. We formulated four research questions to achieve these goals:

RQ1. What is a data mesh?:

A data mesh embodies four design principles (Dehghani, 2022b, 2019b, a): data as a product, domain-driven data ownership, self-serve data platform, and federated computational governance. Practitioners may have different perspectives on these principles and experiences applying them. Hence, RQ1 aims to understand and characterize the four principles of data mesh from a practitioner’s standpoint.

RQ2. Why is the data mesh needed?:

Specifically, what are the benefits and concerns of adopting it, and when should it be used? A data mesh has advantages and disadvantages and is not a one-size-fits-all approach for data management. Thus, RQ2 aims to understand the data management issues that data mesh tries to address and the potential benefits, use cases, implementation challenges, and drawbacks of data mesh.

RQ3. How should an organization build data mesh?:

Some organizations have started their data mesh journey and report their experience, including development and operation guidelines, options, and examples. Hence, RQ3 aims to analyze the relevant gray articles to create a set of reference architectures to guide organizations in making better design choices when embarking on their data mesh journey. Furthermore, due to the novelty of the data mesh architectures, we aim to build reference architectures by map** findings from the gray literature into the architectures used in comparable domains.

RQ4. What are the research challenges concerning data mesh?:

Practitioners report critical challenges in the gray articles; hence, RQ4 aims to identify research challenges concerning data mesh based on practitioners’ challenges.

Refer to caption
\Description

The search and selection process. Steps are shown sequentially, and each step reduces the number of candidate sources until the final selection. After the final exclusion step, an inter-rater reliability test—featuring the well-established Cohen Kappa coefficient calculation—was performed with κ=0.79𝜅0.79\kappa=0.79italic_κ = 0.79 to ensure that reviewer bias was not inappropriately high.

Figure 3. The search and selection process. Steps are shown sequentially, and each step reduces the number of candidate sources until the final selection. After the final exclusion step, an inter-rater reliability test—featuring the well-established Cohen Kappa coefficient calculation—was performed with κ=0.79𝜅0.79\kappa=0.79italic_κ = 0.79 to ensure that reviewer bias was not inappropriately high.

Following the protocols by Kitchenham et. al. (Keele et al., 2007), we defined several search strings to identify relevant gray literature sources. Then, each string was applied to our selected search engine (Google), after which our pre-established inclusion and exclusion criteria were used to refine the results as shown in Figure 3.

As is common practice in GLRs, our search string selection process was based on trial queries with different search strings, which can indicate the usefulness of that search string (Straus and Corbin, 2014). We started with the keywords used in our research questions. We kept improving the combination until we settled on the following query, which yielded promising results for answering our research questions.

Query::

Data Mesh (Requirements | Benefits |  Drawbacks  | Concerns | Advantages | Disadvantages | Challenges | Components | Architecture | Design)

The query was then executed in the Google search engine on September 1stsuperscript1𝑠𝑡1^{st}1 start_POSTSUPERSCRIPT italic_s italic_t end_POSTSUPERSCRIPT 2021, and all search results were checked against our inclusion and exclusion criteria. Due to the relative novelty of data mesh, information and sources at that time were mostly limited to the generic data mesh principles. Therefore, the GLR was extended to include data sources about the architectural design of data mesh until May 1stsuperscript1𝑠𝑡1^{st}1 start_POSTSUPERSCRIPT italic_s italic_t end_POSTSUPERSCRIPT 2022. This step resulted in 155 data sources from 2019 until 2022.

To effectively process our sources in line with grounded theory, we limited our gray literature source selection to text-based sources, such as reports, blog posts, white papers, official documentation from vendors, presentations, and transcriptions of keynotes and webinars. Additionally, duplicate and non-English sources were eliminated to remove bias and ensure the text was legible to the authors.

To guarantee the relevance and quality of the sources used for this GLR, we applied several quality criteria inspired by previous gray literature reviews (Garousi et al., 2019; Butijn et al., 2020; Kumara et al., 2021). As a first step, we eliminated any work that does not explicitly contain either a theoretical discussion or a practical implementation of a data mesh that can aid us in answering our proposed research questions. Examples of the former include a formal definition, an example architecture, or an overview of the benefits and challenges of data mesh implementation. Examples of the latter include discussing tools or an instantiation of (components of) a data mesh.

Next, works that consist primarily of subjective statements that promote the author’s opinion, as opposed to factual information, were excluded. Furthermore, we checked whether the publishing organization is respected in information technology and whether the author is a reputable individual, i.e., they are associated with a reputable organization, have reputable expertise, or have published other articles in the field of data management.

Finally, two authors checked each article against the content and quality criteria to eliminate potential selection bias. A mutual agreement was required for final inclusion in the data set, and disagreements were discussed between the authors. The resulting inter-rater reliability assessment (Saal et al., 1980) yielded a Cohen Kappa of 0.79, which indicates substantial agreement between the authors.

The final selection consists of 114. Figure 4(a) shows the distribution of the selected sources. A full overview of each source can be found in our online appendix (see Section 2.3).

Refer to caption
(a) The publication date of the selected sources.
Refer to caption
(b) Topics discussed in the analyzed studies.
Figure 4. Source statistics.
\Description

Source statistics

2.2. Conducting and Reporting the Gray Literature Review

The second set of steps is related to the execution of the review in line with a qualitative analysis methodology. Structural coding was used to get an initial overview of the topics, after which descriptive coding was used to summarize parts of the topics. Structural coding was used to identify larger text segments on a broad topic. Descriptive coding was then used to go more in-depth on these topics by summarizing the basic topic into a word or short phrase (Saldaña, 2021). We leveraged Atlas.ti111https://atlasti.com/ for the coding process.

Like (Kumara et al., 2021), an initial set of 20 sources was randomly selected and analyzed to establish an initial set of codes. These were discussed between the first three authors of the paper. The entire dataset was coded once consensus on the initial set of codes was reached. The grou** of codes into topics and the identification of categories were established through discussion by the first three authors of this paper.

We first used the data extracted from the gray literature using the established codes to answer RQ1 and RQ2. Next, to address RQ3, we created three reference architectures by map** our findings to the reference architectures used in service-oriented computing (Papazoglou, 2008; Papazoglou et al., 2007; Li et al., 2019; Kumara et al., 2017). The first three authors of the paper collaboratively created the reference architectures over a set of meetings. The other authors validated such architectures. We addressed any discrepancies through discussions. We followed a similar approach to answer RQ4. We identified the potential research challenges by map** the difficulties mentioned by the practitioners in the gray articles to the relevant research issues from the service-oriented computing (Papazoglou et al., 2007; Wei and Blake, 2010; Papazoglou and Van Den Heuvel, 2007) and data management (Dustdar et al., 2012; Stonebraker et al., 2018; Al-Ruithe et al., 2019; Janssen et al., 2020).

The results from the systematic gray literature are presented in the rest of this paper. We defined four main categories as shown in Figure 4(b). In the online appendix, we provide the details of each category, including topics, underlying atomic codes, and the sources that address these codes.

2.3. Replication Package

We made the related data available online222https://github.com/IndikaKuma/DataMesh to enable further validation and replication of our study. It contains the full list of sources, the qualitative analysis (i.e., codes, grou**s, and analysis) performed with the Atlas.ti tool, and code tables.

3. RQ1. What is Data Mesh

In short, a data mesh is a domain-oriented decentralized architecture for managing (analytical) data at scale. It enables the decomposition of an organization’s monolithic analytical data space into data domains aligned with business domains. Such decomposition moves the responsibility of managing and providing high-quality data and valuable insights from the conventional central data team into domain teams that intimately know the data.

Zhamak (Dehghani, 2022b, 2019b, a) defines the data mesh concept using four principles: (i) data product thinking, (ii) domain ownership of data, (iii) federated computational governance, (iv) and self-serve data platform. Based on the findings from our gray literature, Sections 3.1, 3.2, 3.3 and 3.4 aim to study the practitioners’ perspective on these principles and how they expand or implement the principles.

3.1. Principle 1: Data as a Product

This principle applies product thinking to analytical data, offering it as a valuable asset to potential data consumers.

Elements of a Data Product.

Zhamak (Dehghani, 2022b, 2019b, a) defines a data product as an architectural quantum (an independently deployable, high-cohesive component encompassing all the structural elements required for its function (Ford et al., 2022)). A data product is a composition of all its key elements: 1) data and metadata, 2) code for ingesting, processing, serving, and governing data, and 3) infrastructure for building, deploying, and executing code and storing data and metadata. The metadata of a data product may include information such as product owners, access endpoints, data models, access policies, data quality metrics, and data lineage. A data product is a node in the data mesh and an autonomous entry that receives or takes the input data from one or more sources, applies some computation/transformation on the received data, and produces and serves the results expected by the consumers.

While most gray literature generally agrees with Zhamak’s definition of a data product as an architectural quantum, some sources (Nivas Shankar and Hasson, 2021; Hicks, 2021) consider a curated data set (without code and infrastructure) a data product. Several sources also introduced the concept of a data contract (Strengholt, 2021; Bulpin, 2021; Raab and Chiapusso, 2021; Jochen Christ and Harrer, 2022; Wolf, 2022; Strengholt, 2022a) to represent the interface of a data product. It can include data access endpoints and the syntax, semantics, quality, and terms of use of the data offered by the data product. The practitioners proposed implementing data contracts by storing the relevant metadata or defining them as API using standards such as Open API 333https://www.openapis.org/.

Zhamak recommends using the infrastructure as code (IaC) approach to automate the provisioning of the infrastructure of a data product (Dehghani, 2022a). The gray literature also highlighted the importance of IaC (AgileLab, 2021; Limited, 2021; Dehghani, 2021a; Ramos, 2021; Wolf, 2022) and provided several examples of data products that use IaC for deploying them (Nivas Shankar and Hasson, 2021; Orwat, 2021; Raab and Chiapusso, 2021; McKenzie, 2021). IaC employs the source code to manage and provision infrastructure resources and deploy and configure applications, enabling the application of software engineering tools and best practices (Morris, 2020).

Types of Data Products.

Zhamak (Dehghani, 2022b, 2019b, a) mentioned three types of data products: source-aligned, aggregates, and consumer-aligned. The gray literature also uses the same terminology for categorizing data products. Source-aligned data products (Schultze and Wider, 2020b; Menning, 2021; Strenholt and Courtright, 2022; Thoughtworks, 2021; Ramos, 2022; Strengholt, 2022e; Jochen Christ and Harrer, 2022; Strengholt, 2022b) ingest and process data from source systems such as operational databases, external APIs, and sensors. The processed data is then offered as a product to be consumed by the organization’s end-users or downstream data products. The aggregate data products (Dehghani, 2019a; Kumar, 2022; Jochen Christ and Harrer, 2022) compose the data from the upstream data products to produce the value-added data for downstream consumers. Compared to the aggregates, consumer-aligned data products (Schultze and Wider, 2020b; Strenholt and Courtright, 2022; Thoughtworks, 2021; McLarty, 2021; Platter, 2021b; Ramos, 2021; Strengholt, 2022d; Jochen Christ and Harrer, 2022; Strengholt, 2022b) are generally not sold as data products to other domains; instead, they serve data to implement the end-user use cases of the organization.

Refer to caption
\Description

An example of data products in different domains, adopted from (Jochen Christ and Harrer, 2022).

Figure 5. An example of data products in different domains, adopted from (Jochen Christ and Harrer, 2022).

Figure 5 shows data products spread across domains. Some data products, e.g., product search, order, and invoice, are source-aligned products. They mostly ingest raw data from the underlying operational data sources (e.g., product and order databases), clean and transform the raw data, and store them locally. They also provide the interfaces to serve their local domain data to other data domains. The aggregate data products, e.g., 360-degree customer views and product recommendations, aggregate data from one or more domains and offer as a value-added product to one or more domains. Some data products, e.g., funnel analytics and CRM dashboards, primarily serve end-users (i.e., consumer-aligned data products).

Characteristics of Data Products.

Zhamak initially introduced six properties for a data product (Dehghani, 2019b) and later added two properties (Dehghani, 2022a). From the gray literature, we tried to identify the practitioner’s perspectives on them.

Discoverable.:

Data consumers should be able to discover the data products in an organization easily. A common approach proposed in the gray literature is to use a central data/product catalog to store the metadata of data products (Moses, 2020; Schultze and Wider, 2020b; Serra, 2021; AgileLab, 2021; JPMorgan, 2021; Pollock, 2021; Nivas Shankar and Hasson, 2021; Vellante, 2021; Wulveryck, 2021; golombek, 2021; Perlov, 2021; Oracle, 2021a; Chinnasamy and Menon, 2021; Keboola, 2021; Rajagopalan, 2021; Das, 2020; Gaur, 2021; Orwat, 2021; Dalvik, 2020; Sequeda, 2021; Nguyen, 2021; Moses, 2021; Shahrin, 2021; Madan, 2021; Raab and Chiapusso, 2021; Oracle, 2021b; Reid, 2021; Wells, 2021; Broda, 2022c, b, a, d; Thoughtworks, 2021; Modi, 2021; Ramos, 2021; Broda, 2022e; Maharana, 2021; AWS, 2021; Velante, 2021; Jochen Christ and Harrer, 2022; Strengholt, 2022c). The data catalog can enable consumers to search for data products using metadata. However, Zhamak (Dehghani, 2022a) does not recommend a central data catalog managed by a separate team, as data products are responsible for deciding and providing their discoverability information. Instead, the data product can offer a discovery interface that can be used to build product search and exploration capabilities at the mesh level.

Interoperable.:

It should be (relatively) easy to combine or integrate data from different data products into composite data products. The consistent use of open standards and conventions across data products can increase interoperability between data products. The gray literature mentions several standards and practices a data mesh architecture should encompass (Furia, 2021; Wulveryck, 2021; Riccomini, 2021; Yordanov, 2021; Chinnasamy and Menon, 2021; Dalvik, 2020; Sequeda, 2021; Broda, 2022a, b; Ramos, 2021; Broda, 2022e; Jochen Christ and Harrer, 2022). For example, the open standards for describing data products and their composition, including interfaces, metadata, and (access and management) policies, can ensure the interoperability of data products within and across organizations. In addition, standard metadata fields and business glossary models can guarantee that all data products are described unambiguously. Finally, a common method for data quality modeling can ensure all domains define their products’ data quality concerning the same KPIs (key performance indicators).

Addressable.:

The interfaces of a data product should provide unique, programmatically accessible endpoints. The interfaces include those for ingesting and serving data and discovering and managing data products (Dehghani, 2022a). The gray literature primarily focused on data access endpoints and mentioned examples such as web service APIs (Wulveryck, 2021; Hicks, 2021; Oracle, 2021a; Gugliciello, 2021; Baker, 2021b; Oracle, 2021b; Ramos, 2021; Wolf, 2022; Strengholt, 2022a), storage buckets (Schultze and Wider, 2020b; Nivas Shankar and Hasson, 2021; Vellante, 2021; Oracle, 2021a; Oostra, 2021b; Orr, 2020; Cooke, 2021; Oostra, 2021a; Modi, 2021; Ramos, 2021; AWS, 2021; Velante, 2021), topics in publish-subscribe messaging systems (Schultze and Wider, 2020b; Wulveryck, 2021; Hicks, 2021; Oracle, 2021a; Dehghani, 2019a; Oostra, 2021b; Orwat, 2021; Stirling, 2021; Pungas, 2021; Oostra, 2021a; Baker, 2021b; Raab and Chiapusso, 2021; Oracle, 2021b; Broda, 2022a; Ramos, 2021; Schultze and Wider, 2020a; Jochen Christ and Harrer, 2022), and SQL endpoints (Gillin, 2021; Hicks, 2021; Andrew, 2022).

Natively Accessible.:

Zhamak (Dehghani, 2022a) emphasizes that a data product should provide multiple endpoints to consume its data so consumers can use their preferred methods to access data products. Along the same lines, the gray literature mentioned that the data product needs to support polyglot data output interfaces (Serra, 2021; Oracle, 2021a; Cooke, 2021; Madan, 2021; Oracle, 2021b; Dehghani, 2021a; Strengholt, 2022e).

Understandable.:

The data models and natural language documentation of data products should help potential consumers understand the products’ semantics, syntactic, and behaviors/usage (Dehghani, 2022a). For example, the documentation of a data product can include the entities in the data the product consumes and produces, the relationship between those entities, the relationships with the other data products in the mesh, and the information about access patterns and how to request the access to data (Furia, 2021; Wulveryck, 2021; Stirling, 2021; Lidman, 2021; Adevinta, 2021; Dehghani, 2021a; Ramos, 2022). The information about product owners and subject matter experts can ensure that the consumers know whom to contact when needing more information related to the data. The schemas for all the data views can be used to describe the data structure. Service level objectives (SLOs) can describe the product’s quality and act as a data contract. The metadata of data lineage and provenance can show the origin of the data and give consumers trust in the data product as it becomes clear how the data is created and processed. The literature suggests using common data modeling languages or standards can help improve the understanding of data/messages exchanged between data products (Wulveryck, 2021; Stirling, 2021).

Secure.:

A data product must enforce the necessary security policies to ensure the consumers can use it in a secure and regulatory-compliant way (Dehghani, 2022a). The policies include but are not limited to data access control, data encryption at rest and data in transit, data confidentiality, and data retention. In the data mesh architecture, while the security policies are primarily managed centrally, their enforcement happens in a decentralized fashion (Dehghani, 2022a). The policy-as-code approach, where policies are defined and enforced using code in a high-level language, was recommended by Zhamak (Dehghani, 2022a) and other practitioners (Riccomini, 2021; Oracle, 2021a; Strengholt, 2021; Oracle, 2021b; Jochen Christ and Harrer, 2022; Strengholt, 2022a) for managing security policies of data products.

Trustworthy.:

Data consumers should be able to trust the data coming from a data product. The gray literature provides several guidelines to enhance the trustworthiness of data products. Product owners can use a methodology provided by the federated governance team to model data quality to define their own product’s quality on several dimensions (e.g., completeness, accuracy, and timeliness) (Jarvin Mutatiina and Blaauw, 2020; Nivas Shankar and Hasson, 2021; Moses, 2021; Wolf, 2022). Moreover, the self-serve platform can support product developers in ensuring quality throughout the product’s lifetime (e.g., automated monitoring of data quality issues and execution of corrective actions) (Stirling, 2021; Baker, 2021a). Product owners and consumers can also use a formal contract that defines a set of service-level objectives (SLOs), reflecting the target quality for each data product  (Madan, 2021; Reid, 2021; Ramos, 2022; Strengholt, 2022a). Finally, another approach to improve the trustworthiness of data is to provide data provenance and lineage information to the product consumers so that they can inspect the origin and history of the data they use (Wulveryck, 2021; Cooke, 2021; Thoughtworks, 2021).

Valuable on its own.:

The data offered by a product should possess long-term value to the rest of the organization. Even without being aggregated with other data products, a data product should support meaningful use cases (Dehghani, 2022a). However, the gray literature mostly provides the use cases where the data from one domain becomes valuable to the organization once it is combined or correlated with the data from other domains, for example, user behavior data and sales information (Schultze and Wider, 2020b) and smart device data and enterprise data (Wolf, 2022). The value of a data product should be continuously monitored and maintained. The gray literature mentioned adopting the DataOps methodology (Munappy et al., 2020) for automating the continuous delivery of high-quality data products to consumers (Riccomini, 2021; Limited, 2021; Oracle, 2021b; Ramos, 2021).

3.2. Principle 2: Domain Ownership of Data

A central data team often manages and shares analytical data in traditional data architectures. In contrast, data mesh distributes the ownership of data to the teams or individuals (belonging to the domains in the organizations) closest to the data and knows the data intimately (Dehghani, 2022a). Autonomous domain teams are responsible for building and managing data products from domain data. Zhamak (Dehghani, 2022b, 2019b, a) advocates applying the Domain-Driven Design (DDD) approach (Evans and Evans, 2004) to decompose the analytical data in an organization into data domains that align with organizational units.

Domain Formation.

The gray literature is in agreement with Zhamak regarding the use of DDD for identifying data domains and their data products (Oracle, 2021a; Rajagopalan, 2021; Orwat, 2021; Engineering, 2021; Stirling, 2021; Lidman, 2021; McKenzie, 2021; Oracle, 2021b; Kumar, 2022; Strenholt and Courtright, 2022; McLarty, 2021; Platter, 2021b; Dehghani, 2021a; Ramos, 2021; Maharana, 2021; Jochen Christ and Harrer, 2022; Strengholt, 2022b). DDD decomposes an organization’s business functions and capabilities into domains, enabling the designing of software systems based on models of the underlying domains (Evans and Evans, 2004). A domain model describes selected aspects of a domain using the vocabulary (i.e., abstractions) shared by domain experts, users, and developers. Organizations already use separation of responsibilities by decomposing the organization into different business domains (e.g., products, sales, and marketing). Data products can be built around operational and analytical data produced by these business domains. Hence, business domains form logical constituents for the distribution of data ownership and may be decomposed into subdomains to manage their complexity better. Section 5.2 discusses the application of DDD for building data products.

Responsibilities.

Zhamak (Dehghani, 2022b, 2019b, a) identified two key responsibilities for domain teams: building and maintaining data products and carrying out governance activities at the domain level. The gray literature also mentions similar responsibilities (Moses, 2020; Furia, 2021; Nivas Shankar and Hasson, 2021; Gillin, 2021; Menning, 2021; Riccomini, 2021; Mitrus, 2021; Hicks, 2021; Thandavarayan, 2021; Oracle, 2021a; Keboola, 2021; Rajagopalan, 2021; Saurabh, 2021; Oostra, 2021b; Snowflake, 2021; Dalvik, 2020; Sequeda, 2021; Orr, 2020; Cooke, 2021; Moses, 2021; Shahrin, 2021; Madan, 2021; Pungas, 2021; Baker, 2021b; Raab and Chiapusso, 2021; Butler, 2021; Thoughtworks, 2020, 2021; Strenholt and Courtright, 2022). Domain teams possess in-depth knowledge about domain data, including potential use cases and consumers of data, as well as the processes and techniques for maintaining data quality. Hence, they can determine which domain data assets should be provisioned as data products. They can use the tools and services the self-serve data platform provides to create, manage, and serve data products (see Section 3.4). Domain teams also carry out governance activities to ensure compliance and conformance of data products to relevant regulations, organizational policies, and standards (see Section 3.3).

3.3. Principle 3: Federated Computational Governance

Data mesh uses a decentralized governance model in which sovereign domains govern their data products (Dehghani, 2022b, 2019b, a). Overarching governance on a global level across the mesh of the data products mainly aims to ensure interoperability between data products and to enforce standardizations and organization-wide policies (Jarvin Mutatiina and Blaauw, 2020; Moses, 2020; Furia, 2021; Wulveryck, 2021; ELEKS, 2021; Lam, 2021; Riccomini, 2021; Thandavarayan, 2021; Keboola, 2021; Limited, 2021; Dehghani, 2019a; Cooke, 2021; Moses, 2021; Bulpin, 2021; one Musa, 2020; Shahrin, 2021; Butler, 2021; Thoughtworks, 2020; Broda, 2022a; McLarty, 2021; Strengholt, 2022c). Balancing the levels of centralization and decentralization can be challenging in the federated governance model. On the one hand, centralization gives more control to ensure interoperability and compliance. On the other hand, the domains need sufficient autonomy to build data products that align with their business.

Global Governance.

We refer to the governance activities conducted by the federated governance team on the data mesh level as global governance. The federated governance team comprises different kinds of representatives such as domain experts, subject matter experts, governance experts, members from the legal department, the platform team, and the management (Dehghani, 2022a). The common global governance activities include:

Defining and Enforcing Organization-wide Standards.:

A key goal of standards is to increase the interoperability of data products (Dehghani, 2022b, 2019b, a). Standards can also used to ensure data products adhere to security and privacy requirements modeled by the federated governance team. Zhamak (Dehghani, 2022a) emphasized the standardization of the interfaces of data products, data and query modeling, and data lineage. The gray literature proposed several standards: W3C data catalog vocabulary for product metadata modeling (Sequeda, 2021), cloud events for event data (Menning, 2021), Open API for product interfaces (Gugliciello, 2021; Jochen Christ and Harrer, 2022), JSON schema for data modeling (Riccomini, 2021; Jochen Christ and Harrer, 2022), and ONNX (Open Neural Network Exchange) for machine leaving models (Jochen Christ and Harrer, 2022).

Defining and Enforcing Data Governance Policies.:

Data governance policies define rules or guidelines that enforce consistent and correct collection, storage, access, usage, and management of data assets in an organization. Zhamak (Dehghani, 2022a) recommends cross-cutting concerns such as regulatory compliance, user identity management, and product ownership management for mesh-level governance policies. Several gray literature articles presented examples of using a central identity and access management (IAM) provider to manage users and their permissions (Nivas Shankar and Hasson, 2021; Maharana, 2021) and a data catalog for automatically discovering and classifying sensitive data (Nivas Shankar and Hasson, 2021; Raab and Chiapusso, 2021; Maharana, 2021).

Develo** a Methodology to Define and Assess Data Quality.:

The federated governance team is also responsible for creating a methodology to define data quality to be enforced by data product owners (Dehghani, 2022a). According to literature sources (Jarvin Mutatiina and Blaauw, 2020; Riccomini, 2021; Stirling, 2021; Moses, 2021; Pollock, 2021), a standardized methodology and tools can ensure that all data products define quality on a common set of quality dimensions with shared definitions. A lack of consistent data quality enforcement will lead to data swamps (Rajagopalan, 2021; Orwat, 2021). The practitioners propose using a common format for data quality constraints and results (Thandavarayan, 2021) and metadata rules for enforcing the consistent modeling of concepts shared across domains (Madan, 2021).

Maintaining a Common Business Glossary.:

Organizations use business glossaries of business terms and their definitions to ensure the same definitions are used throughout the organization when analyzing data. The data mesh principles discourage creating one canonical data model for the whole organization, which goes against decentralization (Dehghani, 2022a). However, some gray literature sources recognize the importance of having a shared definition of concepts used throughout the organization (e.g., master and reference data such as customers and currency codes) as this contributes to the interoperability of data products (Dehghani, 2019a; Strengholt, 2020, 2022c, 2022f).

Monitoring Data Mesh.:

The federated governance team should continuously observe and assess the overall health of the data mesh and make necessary interventions. Zhamak (Dehghani, 2022b, 2019b, a) discusses collecting metrics such as lead time to change a data product, the number of data product consumers, and data quality dimensions. They can be used to determine the value of a data product and make interventions such as promoting or demoting products. The gray literature sources also emphasized the importance of defining and measuring KPIs (Key Performance Indicators) such as levels of interoperability, compliance, and usage of data products (Moses, 2020; Equation, 2021; Baker, 2021b; Thoughtworks, 2021; Jochen Christ and Harrer, 2022).

Creating Incentive Models.:

Provisioning data products will add to the domain teams’ normal workload and will likely not fit their traditional job descriptions (Riccomini, 2021). For example, a supply chain department, whose main task is to optimize delivery routes, may not be keen on providing high-quality data to other domains. Without proper incentives, domains might not see a reason to build data products. Thus, organizations implementing or transforming to a data mesh architecture should develop an incentive model to motivate domains to provision their data as products and continuously govern the offered products (Dehghani, 2022b, 2019b, a). Several gray literature articles emphasized the need for aligning the incentives of data producers and data consumers and motivating data producers to generate the operational metadata necessary to assess the quality and trustworthiness of data products (Dehghani, 2022b, 2019b; Nivas Shankar and Hasson, 2021; Gillin, 2021; Hicks, 2021; Limited, 2021; Stirling, 2021).

Local Governance.

We refer to the governance activities conducted by the product/domain teams on a product/domain level as local governance. The product owner, potentially in combination with other domain members, is responsible for conducting the local governance activities. Zhamak (Dehghani, 2022b, 2019b, a) identified several governance activities at the domain level: domain data modeling, data quality assurance, and execution of data access control policies. The gray literature mentions similar responsibilities for the local governance team:

Managing the Data Models of the Product.:

The product team possesses domain knowledge and thus can accurately model the product’s data (Nivas Shankar and Hasson, 2021; Gillin, 2021; Hicks, 2021; Limited, 2021; Stirling, 2021; Madan, 2021). The schemas of such models need to be evolved accordingly to reflect the changes in the domain’s data sources (Nivas Shankar and Hasson, 2021; Baker, 2021a).

Managing Data Access.:

Domain experts thoroughly understand the data and can, therefore, best judge who should and should not have access to (which parts of) the data (Oracle, 2021a; Madan, 2021; Kumar, 2022; Ramos, 2021). In addition, tasks such as collecting data lineage, implementing data retention policies, and encrypting data can also be implemented at the product level (Nivas Shankar and Hasson, 2021; Perlov, 2021; Ramos, 2021).

Managing Compliance and Conformance.:

Like managing access controls, ensuring compliance and conformance throughout the product’s lifetime requires a thorough understanding of the domain data (Dehghani, 2022a; Perlov, 2021; Kumar, 2022). The examples mentioned by the gray literature include the adherence to the data modeling standards (Shahrin, 2021; Butler, 2021) and interoperability standards (Wells, 2021; Pollock, 2021), and ensuring privacy compliance (Perlov, 2021; Ramos, 2021).

Managing Data Quality.:

Using the quality assessment methodology defined by the federated governance team, the product team establishes the product’s target quality based on a set of quality dimensions (Dehghani, 2022a). The data quality tests mentioned in the gray literature include measuring data quality dimensions, validating schemas, and checking for violations of domain-specific business rules (Stirling, 2021; Nguyen, 2021; Shahrin, 2021; Madan, 2021; Thoughtworks, 2021).

Monitoring Data Product Health:

Throughout the lifetime of the product, the product owner monitors its operational health and ensures its capacity to meet consumers’ needs (Moses, 2020; Equation, 2021; Jochen Christ and Harrer, 2022). The gray literature mentions several metrics for assessing the operational health of data products: data quality metrics, uptime, performance, and cost (Moses, 2020; Equation, 2021; Baker, 2021b).

Automation of Governance Activities.

Automation plays a significant role in the federated computational governance model to ensure it can effectively scale throughout an organization (Dehghani, 2022b, 2019b, a). According to gray literature sources (Nguyen, 2021; Ramos, 2021; Jochen Christ and Harrer, 2022), automation is key to co** with the data governance challenges introduced by frequent regulatory changes and increases in product consumers and data sources. They also provided examples for data governance actions that can be automated (Riccomini, 2021; Nguyen, 2021; Thoughtworks, 2021; Ramos, 2021; Jochen Christ and Harrer, 2022): data classification (e.g., sensitivity labels), data anonymization and encryption, data quality checks, data retention and deletion to ensure compliance, and automated monitoring, including alerts and automatic responses (e.g., scale a resource to meet demand).

3.4. Principle 4: Self-Serve Data Platform

Data mesh advocates building domain-agnostic infrastructure and platform services and offering them in a self-service manner to empower different actors involved in creating, deploying, and maintaining data products (Dehghani, 2022b, 2019b, a). The infrastructure services are to provision and manage computing resources such as VMs, networks, and storage disks. The platform services support the design, development, deployment, and management of data products, governance applications, and their components (e.g., data pipelines, ML pipelines, and microservices).

Objectives.

According to Zhamak (Dehghani, 2022b, 2019b, a), the self-serve platform aims to optimize the experience of data mesh stakeholders (e.g., product developers, consumers, and governance teams) in their respective tasks, i.e., develo**, consuming, and governing data products. The gray literature is in agreement with Zhamak. First, the self-serve platform can reduce product developers’ required level of specialization as they do not need in-depth knowledge of managing infrastructure and platform services (Moses, 2020; Furia, 2021; Thandavarayan, 2021; Snowflake, 2021; Baker, 2021a). Second, it can increase the efficiency of develo** and managing products as there is no duplication of efforts from each domain to manage platform services (Serra, 2021; Furia, 2021; Snowflake, 2021; Cooke, 2021; Stirling, 2021; Raposo, 2021; Baker, 2021b; Perio, 2022). Last, the common platform services can improve the uniformity of data products, reduce friction between domains, and facilitate interoperability between data products (Lam, 2021; Keboola, 2021; Thoughtworks, 2021; Platter, 2021a).

Building Self-serve Data Platform.

A team of highly specialized infrastructure and platform service developers builds and maintains the platform (Dehghani, 2022a). This central platform team has to be in close contact with all domains to identify and prioritize the requirements for platform services, their features, and their interfaces (Moses, 2022; Kumar, 2022). The gray literature recommends using IaC (Infrastructure as Code) blackprints to simplify the provision of data products using the self-serve platform (Serra, 2021; Nivas Shankar and Hasson, 2021; Cooke, 2021; Strengholt, 2021; Platter, 2021a; Dehghani, 2021a; Ramos, 2021; Maksimavicius, 2021; Wolf, 2022; Strengholt, 2022c). The IaC templates encompass predefined configurations for infrastructure resources and platform services and integrate security measures, policies, and standards in line with those set by the federated governance team. For example, the data platform team can develop IaC templates for different data product types (e.g., data pipelines, ML pipelines, and ML model services) and different product component types (e.g., a data ingestion component using the Kafka message broker, a data store component using Google object store, and a training pipeline executor component using the AWS SageMaker). The product developers can find the correct IaC templates, customize them as necessary, and use the updated templates to provision and manage their data products.

Components of Self-Serve Data Platform.

Zhamak proposes a logical decomposing of the platform into three layers: data infrastructure utility plane, data product experience plane, and mesh experience plane (Dehghani, 2022b, a). They aim to encapsulate the capabilities to manage infrastructure and platform resources, build data products, and govern the data mesh. A few gray literature sources discussed this logical architecture of the self-serve platform (Ramos, 2022). However, many practitioners provided examples for platform components.

Fundamental Computing Resources.:

The platform should offer compute, network, and storage resources, including virtual machines, network devices, and object stores. The literature sources mostly mention using resources from public IaaS (Infrastructure as a Service) providers (Schultze and Wider, 2020b; Nivas Shankar and Hasson, 2021; Snowflake, 2021; Oracle, 2021b; Andrew, 2022; Maharana, 2021; Jochen Christ and Harrer, 2022).

Polyglot Data Stores.:

Regarding data storage, the common recommendation from the practitioners (Jarvin Mutatiina and Blaauw, 2020; Serra, 2021; JPMorgan, 2021; Uttamachandani, 2022; Limited, 2021; Cooke, 2021; Moses, 2021; Wells, 2021; Dehghani, 2021a; Ramos, 2021) and Zhamak (Dehghani, 2019b, 2022a) is polyglot data stores that enable using multiple data storage technologies transparently within a single system. Data products might contain different data types that require different data stores. For example, a data product might consist of highly structured, tabular data stored in a relational database. In contrast, other data products might consist of highly unstructured data that can best be stored in an object store (e.g., videos or images). Thus, the platform must support the storage and serving of polyglot data.

Services for Data Product Components.:

Data products generally consist of components such as data ingestion, data (ETL) pipeline, ML training pipeline, ML model storage, ML feature storage, message broker, and API (Serra, 2021; Devane, 2021; Uttamachandani, 2022; Limited, 2021; Oostra, 2021b; Moses, 2021; Madan, 2021; Baker, 2021a; Raab and Chiapusso, 2021; Ramos, 2021; Wolf, 2022). The product developers should be able to use platform services to implement and manage such product components. For example, the developers should be able to use the pipeline orchestration tools from the platform to develop, deploy, schedule, execute, and monitor data and ML pipelines in a self-service manner.

Metadata Repository/Data Catalog.:

Products, their components, and their artifacts (e.g., ML models and database tables) have various metadata; thus, the platform needs a service to generate, store, and manage metadata. Moreover, company-wide metadata, such as standardized definitions of business terms and reference data, should also be available so product developers can incorporate them into their data products (Strengholt, 2020, 2022a, 2022f). As mentioned in Section 3.1, a data catalog can be used to develop a product catalog service that stores product metadata to enable the discovery of data products.

Federated Query Engine.:

The self-serve platform should offer a federated query engine to query data from different domains and sources, enabling product aggregators to create composite data products easily (Gillin, 2021; Uttamachandani, 2022; Limited, 2021; Ramos, 2021; Jochen Christ and Harrer, 2022).

Monitoring.:

The platform should offer tools that enable domain teams to monitor their data products and the federated global governance team to monitor the data mesh as a whole  (Dehghani, 2022a). The tools should include but not be limited to functionality that enables monitoring of the operational health, lineage, costs, and performance concerning data quality metrics (Moses, 2020; Equation, 2021; Baker, 2021b). They should also support logging, alerts, and automated interventions (e.g., scaling up resources) (Moses, 2020; Keboola, 2021). Finally, the monitoring tools must be integrated with the other relevant platform services, for example, adding monitoring capabilities to data pipelines and ML pipelines (Baker, 2021a).

Product Lifecycle Management.:

The platform should offer capabilities (e.g., product versioning, source control, and testing) to allow product developers to manage the lifecycle of a data product (Moses, 2020; Cooke, 2021; Madan, 2021; Jochen Christ and Harrer, 2022). Developers should be able to apply DevOps (Ebert et al., 2016) practices when deploying and operating data products (Yordanov, 2021; Uttamachandani, 2022). For example, they should be able to use CI-CD (Continuous Integration and Continuous Delivery or Continuous Deployment) platform services to atomically build and test the data pipelines and APIs used by the products, deploy them using the pipeline orchestration and container hosting services of the self-serve platform.

Security and Privacy.:

The platform services must enable the realization of data products’ security and privacy requirements (Dehghani, 2019b, 2022a). For example, the platform can include a data encryption service to secure data at rest and in motion (Nivas Shankar and Hasson, 2021; Perlov, 2021; Kumar, 2022). In addition, an identity and access management (IAM) service can be provided to manage user and product identities and enforce access control policies for data products and other platform services (Serra, 2021; Perlov, 2021; Oracle, 2021a; Reid, 2021; Maharana, 2021; Jochen Christ and Harrer, 2022).

Policy Enforcement.:

The platform should offer tools that allow local and global federated governance teams to define, store, attach, observe, and enforce governance policies (Dehghani, 2019b, 2022a). As mentioned in Section 3.1, the gray literature recommends using the policy-as-code approach for automating policy enforcement. Thus, the platform needs to support necessary tools such as OPA(Open Policy Agent) engines (Oracle, 2021a, b). Moreover, the platform must also provide services to support policy implementation, e.g., data anonymization service and data quality metrics calculation service (Devane, 2021; Orwat, 2021; Raab and Chiapusso, 2021; Dehghani, 2021a; Jochen Christ and Harrer, 2022).

Business Intelligence (BI) Tools.:

BI dashboards and reporting applications are common types of consumer-aligned data products (JPMorgan, 2021; Jochen Christ and Harrer, 2022; Strengholt, 2022b). Thus, the platform should enable business users to explore data, create visualizations, generate insights, and create reports in a self-service manner (Uttamachandani, 2022; Madan, 2021; Adevinta, 2021; Ramos, 2021; Wolf, 2022).

4. RQ2. Motivations, Benefits, Concerns, and Applicability

This section presents the motivation for the data mesh approach, its perceived advantages and disadvantages, and the factors determining its adoption in organizations.

Motivations.

Data Mesh was developed as a direct response to centralized monolithic data management approaches that have been industry standards, such as data warehouses and data lakes. Based on the literature examined in this survey, we find three factors that motivate organizations to adopt a data mesh paradigm in their organization.

Scaling with Data Sources.:

As the number of data sources grows within an organization, it becomes increasingly difficult to maintain an overview of the various sources and guarantee their high-quality delivery. This problem became especially apparent during the rise of big data and has been one of the main motivations for develo** data lakes in favor of data warehouses (Giebler et al., 2019). Despite the widespread adoption of data lakes, gray literature demonstrates organizations still struggle to discover and make available all data within the organization  (golombek, 2021; Carr, 2021; Cooke, 2021; Equation, 2021; Tekiner, 2021; Moses, 2021), make various data sources interoperable  (Carr, 2021; Rajagopalan, 2021; Oracle, 2021b; Equation, 2021) and establish data quality and consistency at the source (Jarvin Mutatiina and Blaauw, 2020; Carr, 2021; Thoughtworks, 2021; Rajagopalan, 2021; Thoughtworks, 2020). Data mesh proposes to solve these issues at the source rather than address them centrally.

Central Teams as a Bottleneck.:

The flip side to the ever-increasing number of data sources is the growing number of data-driven use cases in organizations. Usually, the data for these use cases is provided by a centralized team of hyperspecialized data engineers who also manage the monolithic data platforms in which the data is aggregated. However, relying on centralized teams hinders scalability and agility in data delivery, which is required to address the diverse needs of various data consumers (Jarvin Mutatiina and Blaauw, 2020; Roima, 2021; Rajagopalan, 2021; Oostra, 2021b; Snowflake, 2021; Moses, 2020; Rasool, 2021; Bulpin, 2021; Bauer, 2021; Thoughtworks, 2020; Dehghani, 2019a; Thoughtworks, 2021; Schultze and Wider, 2020a; Jochen Christ and Harrer, 2022).

Separation of Provider and Consumer Expertise.:

Another problem, which the previous problem compounds, is that, in most organizations, data provider expertise is separated from data consumer expertise. Effective data usage requires a deep understanding of the data and the proposed use case. Relying on centralized teams to understand both the context of the providing domain and the consuming domain puts additional stress on the existing bottleneck, whereas the data provider and data consumer can be counted on to know their respective domains  (Furia, 2021; Gillin, 2021; Nivas Shankar and Hasson, 2021; Snowflake, 2021).

Benefits.

From the gray literature, we identified the following potential benefits of data mesh compared to traditional data architectures. We briefly discuss each identified potential benefit’s relation to the problems that drive data mesh transition, as identified above.

Scalability.:

A data mesh architecture is much more scalable than a centralized data architecture since dependencies on a central management platform team are reduced, which allows the organization to scale horizontally (i.e., more data sources) and vertically (i.e., more consumers) without creating a bottleneck (Jarvin Mutatiina and Blaauw, 2020; Moses, 2020; Devane, 2021; Nivas Shankar and Hasson, 2021; ELEKS, 2021; Thandavarayan, 2021; Perlov, 2021; Equation, 2021; Bulpin, 2021; one Musa, 2020; Schultze and Wider, 2020b).

Increased Agility.:

The benefits mentioned above make organizations more agile as they reduce the reliance on centralized teams and bring data providers directly in contact with data producers. By removing the bottleneck, they can deliver new data applications at a faster rate and can thus respond quickly to changing needs and goals (Jarvin Mutatiina and Blaauw, 2020; Thandavarayan, 2021; Perlov, 2021; KPMG, 2021; Gaur, 2021). Overall, organizations can create more data-driven applications that unlock the value of their data (Perio, 2022).

Higher Data Quality.:

By making those close to the origin of the data responsible for offering it as a data product, accountability for data quality is established (JPMorgan, 2021; Nivas Shankar and Hasson, 2021; golombek, 2021; Limited, 2021; Bulpin, 2021; Strenholt and Courtright, 2022; Wolf, 2022; Strengholt, 2022d). Domain teams can use their domain-specific knowledge to build data products that are valuable to various customers (Serra, 2021; Carr, 2021; Oostra, 2021b, a). The federated governance team defines a set of global standards and policies that the domains must adhere to when creating data products (Jarvin Mutatiina and Blaauw, 2020; Furia, 2021; Thandavarayan, 2021).

Better Data Discovery:

In the data mesh, domain teams are incentivized to maximize the usage of domain data products and, hence, to make the products easily discoverable (Gaur, 2021; Gleinser, 2021; Bulpin, 2021). Therefore, they create self-describing data products and publish product metadata to the central product registry/catalog for easy discoverability (JPMorgan, 2021; Strenholt and Courtright, 2022). Improving the discoverability of data (products) lets organizations effectively scale the amount of data in their ecosystem.

Better Governance.:

Data mesh also allows for better big data governance. The decentralized approach is more suitable for governing a high volume of data by distributing governance responsibilities to the domains close to the origin of the data (Jarvin Mutatiina and Blaauw, 2020; Devane, 2021; JPMorgan, 2021). Because data providers are in direct contact with data consumers, they can better judge who should and should not be able to use certain data in certain conditions and facilitate organizations to comply with external regulations (Perlov, 2021; Bulpin, 2021; McLarty, 2021).

Reduced Data Lead Time.:

Lastly, domains can independently provision and maintain data products, and consumers can independently use these products through the self-service model without needing to rely on any centralized team. Moreover, domains and federated governance teams are empowered through the self-service platform, dramatically reducing the data lead time throughout the organization (Jarvin Mutatiina and Blaauw, 2020; Cooke, 2021; Oostra, 2021a; Thoughtworks, 2020; Broda, 2022a).

Concerns and Disadvantages.

Data mesh comes with its own set of challenges. Below, we present an overview of the main concerns for the data mesh recognized by the gray literature.

Change management.:

Moving to a data mesh architecture will challenge organizations from technical and organizational perspectives (Jarvin Mutatiina and Blaauw, 2020; Thandavarayan, 2021; Gillin, 2021). Organizations already have established data management processes and a hierarchical organizational structure that will likely need restructured (Gillin, 2021; Perlov, 2021; Rajagopalan, 2021; Strenholt and Courtright, 2022). The employees may be intimidated by changes and resist. To overcome this challenge, the organizations can train their teams on the cultural shift (the way of working) (Rajagopalan, 2021; Shahrin, 2021), educate the stakeholders about the bigger picture and the overall benefits of the transition to the data mesh (Moses, 2021; Shahrin, 2021; Strenholt and Courtright, 2022), and empower the existing business domain teams with data engineers (Shahrin, 2021). The organizations can create an enabling team to work closely with domain teams to help onboard and consume data, train, and guide teams on data mesh best practices (Strengholt, 2022d; Jochen Christ and Harrer, 2022).

Lack of Talent.:

Data mesh requires domain teams to start operating independently, so the teams need members with the necessary technical skills (e.g., data engineering and machine learning). While a vital goal of the self-serve platform is to empower the developers of less technical expertise to develop data products, building self-serve platform services can be challenging and require time and effort for research and development. Unfortunately, there is a lack of experienced data engineers (Gillin, 2021; Saurabh, 2021; Engineering, 2021; Equation, 2021; Thoughtworks, 2020), which was also a common bottleneck in the data warehouse and lake architectures (Thoughtworks, 2020).

Data Duplication.:

As domains repurpose data for new use cases in composite data products, data from source domains may be copied and duplicated. In particular, when implemented on a large scale, data mesh can potentially increase data management costs (Jarvin Mutatiina and Blaauw, 2020; ELEKS, 2021; Hicks, 2021; Thandavarayan, 2021; Perlov, 2021; Strengholt, 2022d). Furthermore, as data is stored in different organizational locations, it will become more challenging to govern data  (Saurabh, 2021; Equation, 2021; Strengholt, 2022d). The remedies proposed by the practitioners include creating data virtualization techniques (e.g., zero-copy data access) that enable ingesting data without copying them and develo** open protocols for sharing data securely and efficiently (Rajagopalan, 2021; Saurabh, 2021; Gilmore, 2019).

Effort Duplication.:

Even though the self-serve platform tries to reduce the duplication of efforts concerning data platform management, there will still be a certain degree of duplication of efforts and skills for building and maintaining pipelines throughout the different domains compared to a team working on centralized data (Moses, 2020; Furia, 2021; ELEKS, 2021; Rajagopalan, 2021; Moses, 2022).

Technical Debt.:

Multiple data products and pipelines developed by independent teams may not adhere to a common set of software development best practices and principles (Jarvin Mutatiina and Blaauw, 2020; Riccomini, 2021; Thandavarayan, 2021). Using improper practices when develo** data products can lead to a huge technical debt. Hence, a mature federated governance model can reduce the technical debt by accurately recognizing and enforcing standards, best practices, and so on (Jarvin Mutatiina and Blaauw, 2020; Riccomini, 2021; Dehghani, 2022a).

Complexity.:

The distributed and decentralized nature of the data mesh increases the overall complexity as it requires managing and coordinating many independent and diverse units (Oracle, 2021a; Dehghani, 2021a; Strengholt, 2022d). The data mesh can also introduce more interoperability challenges for organizations that adopt a multi-cloud approach (Rajagopalan, 2021). The complexity can decrease as the self-service platform and computational governance model mature (Dehghani, 2022a).

Applicability.

The gray literature recognizes several conditions for which the data mesh is more suitable than a centralized data architecture.

Large and Diverse Data Landscape.:

Organizations with a large data landscape and many data providers and consumers might benefit from a decentralized architecture (Jarvin Mutatiina and Blaauw, 2020; Moses, 2020; Roima, 2021; Serra, 2021; AgileLab, 2021; Mitrus, 2021; Thandavarayan, 2021; Kainos, 2021; Moses, 2021; one Musa, 2020; Lewis, 2021). Also, when organizations possess diverse data sets that frequently change over time, the data mesh might serve better than a centralized approach with many point-to-point connections (Furia, 2021; Mitrus, 2021; Kainos, 2021; Dehghani, 2021a).

Need for Agility.:

Organizations whose data platform and central data provisioning teams reduce their innovative capabilities and require a faster time to market for data applications can benefit from a data mesh architecture (Jarvin Mutatiina and Blaauw, 2020; Moses, 2020; Roima, 2021; Devane, 2021; Mitrus, 2021; Rajagopalan, 2021). Also, when there is a need to experiment with data frequently, data mesh is more beneficial than a centralized architecture as it removes the dependency on an oversized and overloaded data provisioning team (Moses, 2020; Bauer, 2021).

Need for better Data Governance.:

Centralized data lakes can quickly become data swamps without data ownership and governance models. Data mesh can resolve these issues for organizations needing clear data ownership and highly governed data based on domain knowledge (Serra, 2021; Furia, 2021; Moses, 2021). In addition, organizations that face many external regulations can use data mesh to ensure compliance as the data mesh facilitates better data governance (Nivas Shankar and Hasson, 2021; Perlov, 2021; Feingold, 2021).

Data mesh may not be the most practical data architecture for all organizations. The gray literature mentions several scenarios where the data mesh approach may not be the most suitable option.

Lack of Domain-Orientation.:

The data mesh presumes an organizational structure of independent cross-functional teams aligned with the structures of business domains. If an organization (e.g., typically small and medium-sized companies) does not follow domain-driven design principles and does not have multiple teams who can make data products independently, then the data mesh approach may not fit the organization (Roima, 2021; golombek, 2021; Kainos, 2021; Rajagopalan, 2021; Strengholt, 2022d; Jochen Christ and Harrer, 2022).

Low Data Governance Maturity Level.:

The data mesh needs matured data governance support to prevent data silos and to ensure the regulatory compliance of data processing across autonomous domains. Thus, it may not be suitable for organizations with a low level of maturity in data governance (e.g., no automated data quality assessment or regulatory compliance checking) (Devane, 2021; Kainos, 2021; Shahrin, 2021; Strengholt, 2022d; Jochen Christ and Harrer, 2022).

Low Data Platform Maturity Level.:

The self-serve data platform is key to reducing the cost of owning data products and implementing data governance across domains. Building a self-serve data platform can be impractical for organizations without experienced data platform engineers (Kainos, 2021; Jochen Christ and Harrer, 2022).

Lack of Data Use Cases.:

When an organization has a small number of useful analytical data sources and a few data use cases, the cost and risks of transitioning a data mesh would far outweigh the benefits (Devane, 2021; Kainos, 2021; Jochen Christ and Harrer, 2022).

5. RQ3. How should an Organization Build a Data Mesh?

This section presents a set of reference architectures to describe the data mesh architecture in detail. We leveraged the relevant architectures used in the service-oriented computing domain and the insights from our gray literature review.

5.1. A Layered Architecture of Capabilities and Roles in Data Mesh

This section introduces a layered model to logically organize different constructs, roles, and responsibilities in a data mesh architecture. We mapped the relevant findings from our gray literature study into the xSOA model (Papazoglou and Van Den Heuvel, 2007; Papazoglou et al., 2007), which aims to group and logically structure the capabilities of complex SOA applications. Figure 6 shows the layered model of the data mesh. The separation into layers highlights the different needs regarding i) providing the infrastructure and platform services necessary for realizing and consuming data products, ii) creating, consuming, and composing data products, and iii) managing data products throughout their lifecycle. It is important to highlight that although higher layers build on lower layers, they only represent a separation of concerns and do not imply a hierarchy.

As discussed in Section 3.1, Zhamak and the gray literature categorize data products into source-aligned, aggregates, and consumer-aligned. By adopting service types in SOA, we classify them into atomic and composite data products. Like composite web services, composite data products use other data products (atomic or composite) for their source data and integrate them to create new value-added products. Hence, aggregates and consumer-aligned products are composite products. The source-aligned data products are atomic because they only ingest data from the operational source systems.

The layered architecture shown in Figure 6 does not depict all responsibilities in a data mesh architecture. Instead, it provides a view of the responsibilities needed to create individually managed data products. For example, the federated governance team’s responsibility to create a business glossary is not included in this architecture because this is not related to building a specific managed data product at runtime.

Refer to caption
\Description

The layered architecture of capabilities and roles in data mesh.

Figure 6. The layered architecture of capabilities and roles in data mesh.

Roles.

We identified six different roles for data mesh actors:

Data Platform Teams:

are responsible for building and maintaining the self-serve data platform (Dehghani, 2019b; Mitrus, 2021; Oostra, 2021b; Raab and Chiapusso, 2021; Moses, 2022; Kumar, 2022). They also create the IaC blackprints that product developers can use to provision and configure infrastructure resources and platform services for hosting and managing data products. They need to possess software and data engineering skills (Mitrus, 2021).

Product Owners:

are responsible for offering and governing the data products in their domains (Dehghani, 2022b, 2019b; Jarvin Mutatiina and Blaauw, 2020; Gillin, 2021; ELEKS, 2021; Thandavarayan, 2021; Keboola, 2021; Rajagopalan, 2021; Snowflake, 2021; Sequeda, 2021; Pungas, 2021; Raab and Chiapusso, 2021; Broda, 2022a; Kumar, 2022; Broda, 2022c; Thoughtworks, 2021). They must ensure that the data products are interoperable and meet the requirements of the consumers. They are generally responsible for domain-level governance activities (see Section 3.3).

Product Developers:

build and publish data products on the data mesh using the tools/services the self-serve platform provides (Dehghani, 2022b, 2019b; Gillin, 2021; ELEKS, 2021; Riccomini, 2021; Rajagopalan, 2021; Das, 2020).

Product Aggregators:

build and provide composite data products. The gray literature does not explicitly mention the aggregator role. We introduced it to clearly distinguish between the responsibilities and capabilities of building source-aligned atomic data products from composite data products.

Product Consumers:

use data from the data products (JPMorgan, 2021; Nivas Shankar and Hasson, 2021; Lam, 2021; Strengholt, 2021; Abedrabbo, 2021). Product aggregators are also product consumers since they consume multiple other data products and aggregate them into composite data products.

Federated Governance Teams:

comprise representatives from different domains across the organization and govern the mesh globally (Dehghani, 2022b; Gillin, 2021; Riccomini, 2021; Thandavarayan, 2021; Perlov, 2021; Jochen Christ and Harrer, 2022). Section 3.3 discusses the governance activities of the federated governance team.

Self-Serve Layer.

Self-serve platforms offer a set of tools/services in a self-service fashion that the actors involved in a data mesh architecture can use to fulfill their responsibilities (see Section 3.4). For example, product developers can use the platform services to develop, test, deploy, and evolve their data products. In contrast, the product owners and the federated governance team can use platform services to monitor and govern individual data products and the overall data mesh.

Data Product Layer.

The data product layer sits on top of the self-serve layer. As discussed in Section 3.1, data products consist of data, metadata, code, interfaces, and the infrastructure to deploy the product. Once the product developers define and implement all components, the data products can be published in a product catalog. Product consumers browse the catalog to discover candidate data products for their use cases and check the corresponding metadata to verify that they suit their needs. Product metadata can also enable consumers to automatically connect (binding) to the data products to obtain their data. For example, if a data product uses a storage bucket as a serving endpoint, it can publish the metadata, such as the URL of the bucket and the names and schemas of the result objects, to the catalog (Orwat, 2021).

Composite data products use data from other (atomic or composite) data product(s), potentially apply complex transformations, and publish the results as new data products (see Section 3.1). Composite data products contain the same components as atomic data products. However, product aggregators perform additional actions to build composite data products, similar to the additional responsibilities in xSOA (Papazoglou and Van Den Heuvel, 2007). To distinguish between these responsibilities, the layered architecture in Figure 6 differentiates between product developers, who build atomic data products, and product aggregators, who create composite data products.

Composite data products need to provide new value to the organization. A simple integration of two data sources can easily be replicated and may not provide sufficient additional value. Therefore, a product aggregator may need to perform complex transformations on the data from upstream data products to create value-added data. Furthermore, composing products may involve coordinating a series of steps,e.g.,, ingesting data from multiple data products, merging the data from a subset set of products, cleaning and standardizing data, and validating and storing intermediate and final results.

Composite data products must conform with the upstream data products throughout their lifetime. For example, upstream product developers might change their data products (e.g., schema and product interfaces), which can affect downstream consumers (Cooke, 2021; Stirling, 2021; Baker, 2021a; Jochen Christ and Harrer, 2022, 2022). Product aggregators must deal with such issues by adopting suitable strategies such as product versioning and using an anti-corruption layer (an adapter layer) (Baker, 2021a; Jochen Christ and Harrer, 2022).

Management and Governance Layer.

Data products must be managed and governed at runtime to ensure they provide value to the organization. As discussed in Section 3.3, there are two levels of governance: local and global. The local governance (per each product) is responsible for the quality and conformance of individual data products. For example, the local governance team must ensure that a data product operates within the specified SLOs throughout its lifetime and remains compliant with local and global policies and external regulations. The owners of the composite products also need to monitor the performance of upstream data products in terms of service level objectives (SLOs). The performance of the composite data products can be affected by that of upstream data products. Thus, a product aggregator needs to monitor the performance of upstream products to determine any SLO violations and ensure the composite products operate within its SLOs. The main goal of global governance at runtime is to ensure that the mesh architecture can scale throughout the organization effectively. The federated governance team monitors the mesh to assess the data mesh’s overall health and enforce the global policies, interoperability standards, and guidelines.

5.2. A Layered Architecture for Data Mesh Development

The data mesh literature does not explicitly provide an end-to-end methodology for implementing data mesh in or across organizations. However, the literature advocates applying the principles of domain-driven design (DDD), product thinking, and platform-based development. In particular, data products should be identified by applying DDD to the data produced by the business domains of the organization (Dehghani, 2022b, 2019b; Pollock, 2021; Dehghani, 2021b; Limited, 2021; Das, 2020; Orwat, 2021; Engineering, 2021; Cooke, 2021; Stirling, 2021; Moses, 2021; Baker, 2021b; McKenzie, 2021; Oracle, 2021b; Reid, 2021; Strenholt and Courtright, 2022; Strengholt, 2020; Abedrabbo, 2021; Platter, 2021b; Ramos, 2021; Maharana, 2021; Jochen Christ and Harrer, 2022; Strengholt, 2022c, b). Inspired by a layered model for SOA development (Papazoglou, 2008), we introduce a layered model for data mesh development that integrates the previously mentioned principles. Figure 7 shows the proposed layered approach to data mesh development. The model comprises seven distinct layers: business domains, data domains, data-bounded contexts, data products, data product components, self-serve platform services, and operating infrastructure.

Refer to caption
\Description

A layered model for the data mesh development.

Figure 7. A layered model for the data mesh development.

Following the DDD method, the first layer decomposes an organization’s business into disjoint domains. A business domain consists of a set of business processes that share a common set of business capabilities and collaborate to accomplish the business goals and objectives of the domain (Papazoglou, 2008). These processes produce valuable data for the domain and the rest of the organization and can thus be offered as data products. For example, a manufacturing organization may include domains such as distribution, manufacturing, finance, and human resources (Papazoglou, 2008). The distribution domain may comprise key business processes such as consumer purchasing, order management, and inventory. The purchasing process may produce data containing information about products or services, time of purchase, and the amount spent. This data may be exploited to build data products to answer queries about purchase history, customer buying patterns, and other relevant details, such as stock availability and product appearance.

The second layer partitions the analytical data of a business domain into one or more data domains. Data domains define boundaries around the analytical data. From the viewpoints of data mesh and data governance, data domains categorize and organize data to assign accountability and responsibility for the data. As discussed above, different business processes in a business domain may produce multiple data. Due to the diversity and complexity of processes, the responsibility for each process may be assigned to a separate team (Danilova, 2019). Similarly, the analytical data of processes may be owned by different teams, originating multiple data domains from the same business domain. The gray literature also recommends aligning business and data domains and creating new domains for shared data as appropriate (Dehghani, 2021b; Limited, 2021; Das, 2020; Engineering, 2021; Cooke, 2021; Stirling, 2021; Rasool, 2021; Baker, 2021b; McKenzie, 2021; Oracle, 2021b; Strenholt and Courtright, 2022; Strengholt, 2022c, b).

The third layer identifies the bounded contexts within each data domain. The gray literature recommends using bounded contexts for sco** data products (Dehghani, 2022b; Rajagopalan, 2021; Orwat, 2021; Reid, 2021; Strenholt and Courtright, 2022; Strengholt, 2020; Ramos, 2021; Strengholt, 2022b). DDD designs and implements software systems based on domain models, which are the object models of the domains that incorporate both behavior and data in the domain (Fowler, 2012; Evans and Evans, 2004). Creating and maintaining a unified model for larger and more complex domains, where multiple teams work on separate subsystems, may not be feasible or cost-effective (Fowler, 2012; Evans and Evans, 2004). To tackle this issue, DDD partitions the solution space of a domain into bounded contexts, where each can have a separate domain model. A data domain can also be complex and include multiple logical grou**s of data. Each group can have a separate data owner and model (i.e., bounded contexts for decomposing data domains). For example, there may be different categories of customers: online only, physical only, third party, prospect, individual, group, corporation, government, and charity. Managing data for each or subset of these categories might differ, and multiple teams or individuals might be responsible for it. Consequently, multiple bounded contexts emerge within a customer data domain.

Various dependencies (design time and runtime) may exist between data bounded contexts. The gray literature recommends using the strategic design patterns of DDD (e.g., customer-supplier and anti-corruption layer) to integrate bounded contexts (i.e., context map**) (Strengholt, 2022c). For example, a bounded context of a composite product can use the anti-corruption layer to minimize the impacts of the changes to the data models of the data products from the upstream bounded contexts (Jochen Christ and Harrer, 2022). For example, a data product for sales funnel analysis uses the customer search data product to get customers’ browsing history. The funnel analysis product can implement an anti-corruption layer to prevent the adverse effect of changes in browsing history data format.

The fourth layer identifies data products within each bounded context. For building applications for a bounded context, DDD recommends applying so-called tactical design patterns: entity, value object, aggregate, service, repository, factory, event, and module. These patterns can be used to enrich a domain model of a bounded context, and the enriched model can be used to derive the application architecture components. For example, in a microservice architecture, services, APIs, and events can be deduced from the domain model using the tactical design patterns (Singjai et al., 2021). The data mesh gray literature (Baker, 2021b; Platter, 2021b; Maharana, 2021; Jochen Christ and Harrer, 2022) also recommends applying these patterns, for example, using domain main events for ingesting and serving data and implementing a log of data changes, and using entities and aggregates for identifying products and creating database schemas and product APIs.

The fifth layer consists of the components that implement functional and non-functional requirements of data products. Different types of data products exist, such as datasets (offered as database views or APIs), data pipelines, ML training pipelines, and ML prediction services. Different data products may use different architectures. For example, data pipeline products may use popular data architecture styles such as Lambda and Kappa (Davoudian and Liu, 2020), and ML prediction services may use architecture styles as model-as-a-service or model-as-a-dependency (Warnett and Zdun, 2022). The resulting data products can have components like streaming data ingestion, ETL workflows, storage of raw, cleaned, and enriched data, model and feature storage, APIs, data quality assessors, and report generators. Data products can also share the implementation of some components, such as a generic data validating service or model validation service.

The sixth layer consists of the self-serve platform services that support the end-to-end lifecycle of data products and their components, from design, implementation, testing, deployment, execution, and monitoring to evolution. For example, data product developers should be able to use an ETL platform service in a self-service manner to create ETL pipelines for their data products, deploy and execute the created pipelines on-demand or according to a schedule, monitor the performance, resource usage, and errors of the executed pipelines, and make changes to the pipeline as necessary. Section 3.4 lists common platform services we found from the gray literature. The platform team is responsible for self-serve platform services. They may develop platform services from scratch, reuse and customize third-party software, use the platform services offered by cloud providers, and modernize existing platform services by incorporating self-service capabilities.

The seventh layer mainly includes the infrastructure resources used by the platform services and data products and the existing systems in the organization that act as data source systems.

In a data mesh, management and governance applications are used by the federated governance team, in addition to data products, to monitor and control data products. Figure 7 does not explicitly include those applications. However, since those applications may use the monitoring data of the data mesh, developers may develop and offer them as data products. Furthermore, the management applications should also be able to use self-serve platform services.

5.3. A Logical Runtime Structure of Data Mesh

This section presents a logical runtime view of a data mesh. The data mesh architectures presented in the gray literature source primarily focus on the runtime model of an inter-connected web of managed (governed) data products across data domains (Dehghani, 2022b; AgileLab, 2021; Furia, 2021; JPMorgan, 2021; Vellante, 2021; Oracle, 2021a; Rajagopalan, 2021; Oostra, 2021b; Dalvik, 2020; Cooke, 2021; Moses, 2021; Ericsson, 2021; Baker, 2021b; Oracle, 2021b; Wells, 2021; Kumar, 2022; Ramos, 2022; Velante, 2021; Jochen Christ and Harrer, 2022). We extracted the essential components from those architecture designs and created a consolidated model by consulting web service management architectures (Papazoglou et al., 2007; Papazoglou, 2008; Li et al., 2019; Kumara et al., 2017). Figure 8 depicts the reference architecture at runtime.

Refer to caption
\Description

Logical runtime structure of a data mesh.

Figure 8. Logical runtime structure of a data mesh.

A product container is a deployment and runtime environment for a data product and its managing agents. We borrowed the concept of a container and a management agent from Web services containers and management agents (Papazoglou, 2008). As in the web service management architectures (Papazoglou, 2008; Papazoglou et al., 2007; Li et al., 2019), we separate the communication between data products, source systems, and end-users (data channel and input/output interfaces) and the communication between the management agents and the management/governance plane (management channel and management interface). The input interface (Orr, 2020; Adevinta, 2021; Baker, 2021a; Kumar, 2022; Dehghani, 2021a; Maharana, 2021; Wolf, 2022; Jochen Christ and Harrer, 2022) enables data products to receive data from source systems and other data products. The output interface (Orr, 2020; Adevinta, 2021; Baker, 2021a; Kumar, 2022; Dehghani, 2021a; Maharana, 2021; Wolf, 2022; Pollock, 2021) allows data products to provide their data to consumers or composite data products. Finally, the management interfaces (Kumar, 2022; Dehghani, 2021a; Maharana, 2021; Jochen Christ and Harrer, 2022) enable monitoring and controlling the behaviors of data products (e.g., monitor product performance, raising alerts, controlling data routing, and enforcing security policies and data contracts). The modes of communication can be pull-based (e.g., retrieving data via a REST API (Dehghani, 2022b; Madan, 2021; Baker, 2021b; McKenzie, 2021; Oracle, 2021b; Broda, 2022a, b; Strengholt, 2020; Wolf, 2022; Strengholt, 2022c) or reading from a shared database/bucket (Nivas Shankar and Hasson, 2021; Hicks, 2021; Kumar, 2022; Strenholt and Courtright, 2022; Modi, 2021; Dehghani, 2021a; Ramos, 2021; Schultze and Wider, 2020a; Strengholt, 2022b; Wolf, 2022) or polling data from a message broker (Hicks, 2021; Oracle, 2021a; Madan, 2021; Oracle, 2021b; Broda, 2022a, b, d; Kumar, 2022; Strengholt, 2020; Broda, 2022e; Wolf, 2022; Jochen Christ and Harrer, 2022; Strengholt, 2022c)) or push-based (e.g., pushing the data to the downstream consumers as the data become available (Nivas Shankar and Hasson, 2021; Baker, 2021a; Broda, 2022e; Jochen Christ and Harrer, 2022; Dehghani, 2022a)).

The management agents (Dehghani, 2019b; Oracle, 2021a, b; Dehghani, 2021a) of a product implement management tasks at the product level, such as marking and enforcing policy decisions, collecting performance metrics, and managing the product life cycle (i.e., creating, updating, and destroying products). The gray literature recommends using the sidecar design pattern and the policy-as-code approach to implement the monitoring and policy enforcement capabilities of the management agents (Oracle, 2021a; Dehghani, 2021b; Oracle, 2021b; Broda, 2022b; Strengholt, 2022a). The sidecar pattern (Burns and Oppenheimer, 2016) decouples policy decision-making from the data product and can enable reuse and consistent implementation of monitoring and management logic across data products. The policy-as-code approach uses programming code to write policies, allowing applying software development best practices such as version control, automated testing, and automated deployment. A policy manifests as a set of rules that dictate the behaviors of the management agents, for example, how to enforce authentication and authorization policies for data product access, when to raise alerts, and where to route messages.

The components/applications in the management and governance plane can use the management interfaces of products to receive information (e.g., performance data, access logs, and alerts) from data products and to send configuration and policy updates to the data products. We identified several key components for this plane from the gray literature: data product registry and discovery service (Moses, 2020; Broda, 2022c; Thoughtworks, 2021; Ramos, 2021), policy authoring service and policy repository (Cooke, 2021; Jochen Christ and Harrer, 2022), global metadata repository (Dalvik, 2020; Cooke, 2021; Jochen Christ and Harrer, 2022; Strengholt, 2022f), and data mesh dashboard (Cooke, 2021; Jochen Christ and Harrer, 2022). The product registry and discovery service is connected to the management channel. Product developers publish the metadata of their products over the management channel. Consumers can discover data products by using the published metadata. The global metadata repository can store metadata shared across domains, such as master and reference data. The federated governance team can create global policies (e.g., interoperability, security, and compliance) using the policy authoring services, store them in the policy repository for reuse and versioning, and enact them using the management interfaces provided by the individual products. The team can use the data mesh dashboard to monitor the operational health of the data mesh, including the cross-domain access and usage of data products and level of policy compliance.

The self-serve platform plane provides infrastructure resources and platform services to develop, test, build, deploy, execute, monitor, and manage data products and governance components. For example, a data product can use the ML workflow platform service to create and run the training pipelines. The product registry and discovery service can use data/product catalog or metadata repository platform services. Section 3.4 discusses the key platform services of a self-serve platform.

6. RQ4. What are the Research Challenges concerning Data Mesh?

In this section, we put forward a set of research challenges for data mesh that need to be addressed. We identified them by map** the challenges mentioned by the practitioners in the gray literature to the relevant research issues from the service-oriented computing (Papazoglou et al., 2007; Wei and Blake, 2010; Papazoglou and Van Den Heuvel, 2007) and data management (Dustdar et al., 2012; Stonebraker et al., 2018; Al-Ruithe et al., 2019; Janssen et al., 2020).

Standardizing Data Mesh.:

The data products in a data mesh should be interoperable to enable the seamless composition of products and foster cross-domain collaboration. The data products also need to be portable so that self-serve platform services and governance applications can be modified or replaced with little or no modification to data products. The standardization of the data mesh can enable its interoperability and portability (AgileLab, 2021; Rajagopalan, 2021; Dehghani, 2019a; Bauer, 2021; Jochen Christ and Harrer, 2022; Strengholt, 2022c). The standards are necessary for i) defining data products, their interfaces, and their composition; ii) data product publishing and discovery, quality assessment, deployment, and governance; iii) self-serve platform services and their interfaces; and iv) artifacts used/produced by data products (e.g., data models, metadata, and ML models). The standardization efforts in the SOA and cloud domains can potentially help address these challenges. For example, the Web Service Description Language (WSDL) supports modeling services with diverse endpoints, message types, and access policies (e.g., HTTP endpoints, publish-subscribe topics, and FTP endpoints) (Papazoglou et al., 2007). Hence, WDSL and other related web service standards may help identify the concepts for modeling different types of data products. Topology and Orchestration Specification for Cloud Applications (TOSCA) is an OASIS standard language used to model the deployment topologies of complex applications (Bellendorf and Mann, 2020). It can be a suitable candidate for a technology-agnostic IaC language that can define the interoperable deployment blackprints for data products and self-serve platform components.

Methodologies and Tools for Data Mesh Development and Operation.:

The data mesh literature (Dehghani, 2022b; Moses, 2020; Perlov, 2021; Oracle, 2021a; Rajagopalan, 2021; Oostra, 2021b; Ramos, 2021; Strengholt, 2022c) provides general principles for develo** a data mesh architecture, e.g., domain-driven design (DDD), product thinking, platform thinking, and computational governance. However, no tools and detailed (empirically validated) methodologies exist for applying these principles to develop and operate a data mesh. Organizations would also need guidance and tools for systematically migrating their legacy data architectures into data mesh while assessing costs and benefits. The research issues may benefit from the rich knowledge about applying DDD for designing and implementing microservices (Zhong et al., 2024) and migrating legacy monolithic architectures into cloud-based microservices architectures (Hasan et al., 2023).

Data Product Life Cycle.:

Data products are at the heart of a data mesh. Each phase of a data product life cycle (e.g., identification, design, development, testing, deployment, discovery, composition, operation, monitoring, and evolution) can have open challenges (Dehghani, 2022b; Rajagopalan, 2021; Orwat, 2021; Reid, 2021; Strenholt and Courtright, 2022; Strengholt, 2020; Dowsett, 2021; Ramos, 2021; Strengholt, 2022b). For example, the product identification phase decomposes the analytical data landscape of an organization into a set of data products. The partitioning process needs to support applying domain-driven design correctly, ensure the modularity and utility of data products, and consider reuse of the artifacts of the existing data architecture, such as data source systems, data pipelines, machine learning pipelines, documentation, and execution logs. Further exploratory research studies are needed to properly understand the research challenges in each phase of the product life cycle. Due to the comparability of a data product and a service, we believe the existing relevant research studies on SOA and microservices can help understand and address the above product challenges. For example, there exist literature on web service discovery (Ngan and Kanagasabai, 2013) and composition (Sheng et al., 2014), DDD for microservices development (Zhong et al., 2024), and metadata management techniques for data stores (Singh and Bawa, 2018) and web services (Tosi and Morasca, 2015).

Self-serve Platform Services.:

The domain teams need to be able to use domain-agnostic platform services in a self-service manner to easily and independently build and manage their data products. While there exist research studies on self-serve systems, e.g., self-service BI (business intelligence) (Lennerholt et al., 2018) and self-service portals for cloud applications (Mietzner and Leymann, 2010), they do not cover each platform service type, e.g., data pipelines, ML pipelines, and IaC based data product provisioning. Moreover, the recommender systems can also be incorporated into platform services to assist users with building data products, e.g., providing recommendations interactively when creating a data pipeline or IaC blackprint. Finally, since organizations may already use data platforms, they may need guidance and techniques to add self-service capabilities to their legacy data platforms (Dehghani, 2019b; Gillin, 2021; Keboola, 2021; Snowflake, 2021; Cooke, 2021; Kumar, 2022; Wolf, 2022). The existing literature on recommender systems for software engineering investigates simplifying and assisting users in each phase of the software development lifecycle (Gasparic and Janes, 2016; Almonte et al., 2022). Many studies have explored generating code, including SQL and data processing code, from natural language descriptions (Xu et al., 2022). LLMs (Large Langauge Models) have also shown great potential in this research area (Rajbhoj et al., 2024; Zhang et al., 2024).

Data Mesh Governance.:

While data governance has been an active research topic for several decades, as noted in several recent reviews (Abraham et al., 2019; Davidson et al., 2023; Janssen et al., 2020), there are still many open research issues. Data mesh, especially its principles of decentralized ownership of data and federated computational governance, may add new dimensions to data governance research issues. For example, the efficient composition of data products across domain boundaries (and potentially across organizational boundaries) depends on the ability of the federated governance mechanisms to ensure that data products are interoperable, comply with QoS (Quality of Service) and policy requirements, and in line with the company-wide data strategy (Dehghani, 2022b; Perlov, 2021; Rajagopalan, 2021; Kumar, 2022; Strengholt, 2022c). Moreover, the end-to-end data governance automation using the policy-as-code approach (i.e., computational governance) is largely unexplored. The policy-as-code approach has been applied in use cases such as enforcing policies in microservice architectures (using the service mesh) (Chandramouli et al., 2020) and IaC-based deployment pipelines (Zeini et al., 2023), as well as enforcing contracts in machine learning environments (Truong and Nguyen, 2021).

Organizational Change Management.:

As discussed in Section 5.1, data mesh introduces a set of new roles and responsibilities for teams and individuals in an organization. In particular, the responsibilities of domain data are shifted closer to decentralized autonomous domain teams. Hence, for organizations that use centralized operating models and organizational designs, embarking on a data mesh journey may require a significant organizational change (in addition to technological changes). Data mesh can also significantly impact an organization’s existing data management and governance processes and practices. Thus, more studies are necessary to understand the organizational impacts of data mesh and the barriers to the adoption of data mesh, as well as to create guidelines and frameworks to perform and manage required organizational changes (Dehghani, 2019b; Gillin, 2021; Perlov, 2021; Keboola, 2021; Rajagopalan, 2021; Bauer, 2021; Strenholt and Courtright, 2022). The research on migrating on-premise systems to the cloud and legacy applications to microservices has also studied organizational challenges and potential solutions for them (Gholami et al., 2016; Vitharana and Daya, 2024). Further research could also help to understand and address the organizational challenges in data mesh transition.

7. Related Work

This section reports on the studies concerning data mesh and related surveys.

7.1. Studies on Data Mesh

Loukiala et. al. describe migrating from centralized, monolithic data platform architectures to a decentralized data-mesh-like architecture at a large Nordic manufacturing country (Loukiala et al., 2021). Their work emphasizes concrete steps that can be taken during such a migration and provides high-level contrasts between traditional data warehouse architecture and data mesh. Machado et. al. present several works on data mesh anatomy and architecture. The first is an overview and explanation of data mesh concepts highlighted by two implementations in the industry (an online retailer, i.e., Zalando, and a streaming platform, i.e., Netflix) (Araújo Machado et al., 2022). Then, in another paper, they introduce a “domain model” that contains the abstract classes of a data mesh and a high-level architecture (Machado et al., 2021). Finally, based on these works, they investigate existing (commercial) tools that can be used to realize a data mesh implementation and validate their architectural model through a proof-of-concept implementation demo (Machado et al., 2022). Similarly, Butte and Butte (Butte and Butte, 2022a) present a more-complete reference architecture. However, it is unclear what their architecture is based on, as the paper provides no clear references to the sources. These are currently the only published academic works explicitly discussing data mesh architecture. However, their descriptions of the data mesh concepts lack a thorough exploration of the state-of-the-art in data mesh. Instead, they are almost exclusively based on the blog posts of Zhamak Dehghani (Dehghani, 2022b, 2019b), as well as two corporate presentations: Zalando (Max and Arif, 2020) and Netflix (Cunningham, 2020).

Kumar and Sujata (Butte and Butte, 2022b) describe the key concepts of the data mesh, present a template for a data processing pipeline within a domain, and provide an example of a data mesh deployment using AWS cloud. Li et. al. (Li et al., 2022) presents a case study of applying data mesh concepts to power system data management. They use a federated data processing engine and a metadata layer over raw data sources to build value-added data services. Podlesny et. al. (Podlesny et al., 2022) discusses the potential data privacy issues that a distributed data mesh can have, focusing on exposing PII (Personal Identifiable Information) data through quasi-identifiers. Kraska et. al. (Kraska et al., 2023) propose a visionary system that aims to provide a unified data processing interface over a federated set of data processing engines, allowing non-expert end-users to use the data to access different specialized engines. Dahdal et. al. (Dahdal et al., 2023) presents an architecture for a middleware system on the edges that offers data-intensive applications for tactical battlefields as data products. The middleware offers common data management features such as data ingestion, storage, security, and APIs. Hooshmand et. al. (Hooshmand et al., 2022) proposes applying the data mesh approach to engineering product lifecycle management (PLM). They also suggest applying domain-driven design and using ontologies for data modeling.

7.2. Related Surveys

Oliveira et. al. investigated the state-of-the-art literature on ‘data ecosystems’ in 2018  (S. Oliveira et al., 2019). Data mesh falls under their intended definition of data ecosystems, and their work discusses many elements that are relevant to data mesh. However, none of the studies investigated mention data mesh or any closely related term. Another meta-study that investigates the activities and challenges in big data (eco)systems and their implications on architectures is presented by Davoudian and Liu  (Davoudian and Liu, 2020). Again, the activities and challenges identified in this paper relate directly to those of data mesh. However, the literature discussed herein focuses entirely on traditional data lakes and data warehouses as state-of-the-art. It is only recently that data mesh has started to appear in literature surveys. For example, Driessen et. al. (Driessen et al., 2022) explicitly discuss data mesh, which they consider a special kind of (internal) data market. However, in this work, data mesh is considered only abstractly in the larger context of data-exchanging ecosystems, and no extensive discussion of data mesh architecture is provided. Based on the existing literature, therefore, we conclude that there exists a knowledge gap on data mesh architecture: On the one hand, papers that explicitly discuss a data mesh architecture ((Loukiala et al., 2021; Machado et al., 2022)) do not consider a broad spectrum of sources on which to base their architecture definition. On the other hand, existing metastudies that look at the state-of-the-art in data ecosystems (Driessen et al., 2022; S. Oliveira et al., 2019; Davoudian and Liu, 2020) hardly discuss data mesh sources nor provide a reference architecture.

Given the work above, there are no reviews of the data mesh literature. Moreover, only a little academic literature is available on the topic, primarily based on a few gray articles. Therefore, this review paper systematically analyzed, assessed, and summarized such literature sources.

8. Threats to Validity

This section discusses the potential threats to external, construct, and internal validity (Wohlin et al., 2012) that may apply to our study. First, we note the risk of missing relevant studies for the systematic gray literature review. Since the field is develo** rapidly, it can be interesting to repeat the gray literature review after some time to see how the topic matures as the industry adopts it more. Hence, we extended the study to include sources from September 2021 to May 2022, which yielded 35 new sources.

Additionally, as part of our methodology’s article selection process, we rely on the authors’ (subjective) expertise to determine a source’s quality and relevance. Such a process risks introducing bias to the final selection. Therefore, two authors assessed each source, and an inter-reliability kappa coefficient was calculated to ensure bias was not too high.

Finally, the reference architecture was created systematically by examining various sources. However, as noted above, few complete, holistic architecture instances exist to compare with, and many sources only consider partial architectures. These partial architecture instances might lead to a sub-optimal holistic reference architecture. At the same time, we note that this problem is somewhat cyclical: a reference architecture can contribute significantly to the number of complete architecture instantiations, which in turn can improve future reference architectures.

9. Conclusion and Future Work

Although enterprises are increasingly becoming data-driven, their centralized monolithic data architectures still prevent them from leveraging the full value of their analytical data. The data mesh is an emerging domain-driven decentralized architecture and sociotechnical paradigm that promises to address the limitations of centralized enterprise data architectures. Even though the data mesh is gaining significant attention in the industry, there is an evident scarcity of academic research on the topic. This paper systematically selects and reviews 114 industrial gray literature on data mesh to identify key design principles, architectural components, organizational roles, benefits, and concerns. The findings from the review were further enriched with the academic literature from similar domains to create reference architectures for its key dimensions. Finally, we identified research challenges that need to be addressed to realize the vision of the data mesh. We believe the identified open issues and reference architectures can provide a framework for future data mesh research.

As for future work, we will propose domain-specific languages to define data products and decision-marking platforms for the three pillars of the data mesh: data as a product, self-serve platforms, and federated governance. We will create the metamodels for data products and contracts and develop a method to design and instantiate a data mesh architecture by leveraging the reference architectures provided in this paper.

References