Skip to content
ImagineWorld

Automating Data Product Lifecycle Management

node_idnode-book_managing-data-as-a-product_chapter-07-automating-data-product-lifecycle-management
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num7
chapter_titleAutomating Data Product Lifecycle Management
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 7 — Automating Data Product Lifecycle Management

Section titled “Chapter 7 — Automating Data Product Lifecycle Management”

In the previous chapter, we saw how to deploy, govern, and use a data product in production. In this chapter, we will analyze how to automate the data product lifecycle through an XOps platform.

We will first analyze the role of the XOps platform within the data ecosystem, delving into its core capabilities and high-level architecture.

We will then see how the XOps platform uses its core capabilities to support all the actors present in the data ecosystem through a curated and unified experience that supports the development, operational management, and consumption of data products.

Finally, we’ll explore XOps platform implementation, outlining key principles to guide the critical decision between building (make), purchasing (buy), or adopting a hybrid approach.

This chapter will cover the following main topics:

  • Understanding the XOps platform
  • Boosting developer experience
  • Boosting operational experience
  • Boosting consumer experience
  • Evaluating make-or-buy options

The XOps platform acts as a powerful enabler, streamlining and automating data product development, management, and utilization whenever possible.

In this section, we’ll delve into its critical role in fostering a data-as-product management paradigm. We’ll explore its core functionalities and how to implement them within a future-proof solution that can effortlessly adapt to your organization’s evolving needs.

Data per se does not have value. It gains value when it is used to support a business case of organizational interest. However, data generated by operational applications that digitalize the organization’s processes must be collected, consolidated, and transformed before it can be used to support relevant business cases. Traditionally, this process of creating value from operational data, through intermediate transformations to final use, has always been seen as a linear process (linear value chain). Each actor involved (that is, suppliers, producers, and consumers) focuses on a specific part of the process and does not have an end-to-end view of it. The division of responsibilities is orthogonal to the value creation process itself. The actors interact according to upstream/downstream relationships, often not regulated by clear interfaces and precise responsibilities.

We have already seen in Chapter 1*, From Data as a Byproduct to Data as a Product* how this model of value generation from data is systemically dysfunctional and unsustainable over time. The approach of managing data as a product plays a key role in this regard. It not only breaks down solutions into smaller, more manageable parts but also reduces the distance between different actors, fostering the formation of cross-functional teams around relevant business problems. These teams follow the entire process of creating data product-based solutions, sharing goals, responsibilities, and language. In a data-as-a-product management approach, data is a shared asset, and as such, everyone within the organization must be actively involved in its management. Data products define the boundaries within which this collaboration between different actors takes place.

However, most of the tools and solutions available on the market to support data management are designed for the linear value production model (linear value chain). In particular, they focus on optimizing specific tasks related to the integration process. That is, they are designed to specifically support the experience and workflow of data integrators, who bear the majority of the responsibilities related to data management. They are not designed to be accessible to other upstream (data suppliers) and downstream (data consumers) actors. They do not seek to involve them in the active production of value from data in order to facilitate the transition to a more participatory and sustainable operating model.

Conversely, an XOps platform must support all operations related to value production from data, providing integrated functionalities that support and actively involve all actors in data management and utilization (value network). It must act as a true platform that mobilizes the entire data ecosystem, helping different actors collaborate directly, reducing the need for intermediation, to solve relevant business problems together using data (see Figure 7*.1*):

Figure 7.1 – Moving from value chain to value network

The must-have capabilities of an XOps platform can be grouped into the following three categories based on the type of interactions and experiences they aim to support within the ecosystem:

  • Developer experience capabilities
  • Operation experience capabilities
  • Consumer experience capabilities

Products or platforms that provide integrated capabilities to support the developer experience and operation experience are generally called data developer platforms or DataOps platforms. Products or platforms that provide integrated capabilities to support the consumer experience are generally called enterprise data marketplaces. An XOps platform combines these two types of products or platforms into an integrated, though not necessarily singular, solution. This solution is capable of providing a uniform and coherent user experience (experience continuum) for every key interaction that connects the actors in the data ecosystem in the distributed value production process (see Figure 7*.2*):

Figure 7.2 – The experience continuum within the XOps platform

A mobilization platform of this kind, which encourages all actors within the organizational ecosystem to work together in data management by fostering long-term relationships to achieve common goals, is a relatively new concept in data management practice. Therefore, there is no standard, widely accepted name for it yet. Possible alternative names for this concept include data product catalog or data experience platform. Other names may emerge in the future. In this book, we have chosen to use the name XOps platform and will remain consistent with this to avoid confusion.

We have seen so far how an XOps platform fits into the processes of value generation from data. Let’s now look in more detail at how it concretely supports these processes.

An XOps platform groups together products and functionalities useful for implementing the core capabilities necessary to create a shared workspace where all actors can participate and collaborate to jointly produce value from data (value network). The platform must provide two main engines of value creation to enable the establishment and growth of this value network: the transactional engine and the learning engine.

Delving into the platform transaction engine

Section titled “Delving into the platform transaction engine”

The transactional engine consists of the set of services and experiences the platform offers to the ecosystem, specifically designed to facilitate relationships and value exchanges among the actors within it. It works to reduce development, maintenance, and operational coordination costs (transaction costs) to increase engagement and collaboration among the various actors. In essence, the transactional engine focuses on growing the value network within the ecosystem.

Managing data as a product requires certain superstructures that increase local complexity with the promise of reducing global system complexity over time. The reduction of global complexity benefits all actors by lowering costs, increasing release speed, and overall creating a system that is easier to evolve sustainably. However, an initial investment is necessary from all involved actors to achieve these medium-term benefits. To trigger this process of spontaneous collaboration, which encourages each actor to consider medium-term global objectives rather than only short-term local interests, it is crucial to minimize this initial investment. The XOps platform pursues this goal by addressing the transactions that constitute the key value creation processes within the ecosystem. Specifically, it aims to reduce the complexity of these transactions, and consequently their associated costs, through standardization, abstraction, and automation:

  • Standardization allows the platform to manage common utility services at a platform level, preventing each data product from having to implement them independently
  • Abstraction enables the use of standardized services through declarative interfaces that hide the underlying technological complexity
  • Finally, automation speeds up activities that individual actors must perform to achieve their goals

Standardization, abstraction, and automation reduce the cognitive load on individual actors, allowing them to focus independently on value-added activities for the organization. The reduction in cognitive load also enables a broader range of actors to actively participate in data management.

The XOps platform, in acting as a transactional engine, not only aims to reduce the costs of key transactions but also must govern interactions among the actors involved in these transactions. It must create a trusted environment where various actors can collaborate securely. It is the platform’s responsibility to act as a guarantor of compliance with globally defined governance rules, promoting virtuous behaviors through reward mechanisms and inhibiting inappropriate behaviors through guardrails and quality checks.

The learning engine consists of the set of services and experiences the platform offers to the ecosystem specifically designed to help the actors within it learn, improve, and evolve. This is how the platform supports the actors in managing and adapting to the increasing complexity of the artifacts produced and the interactions necessary to produce them. The learning engine focuses on managing the complexity that grows with the expansion of the value network.

As with the transactional engine, the learning engine also focuses on reducing the cognitive load that actors operating within the ecosystem must handle. However, the two engines operate on different types of cognitive load. The transactional engine primarily addresses the types of cognitive load related to the complexity of the specific task (intrinsic cognitive load) or the environment in which the task must be performed (extraneous cognitive load). Standardization and automation specifically reduce intrinsic cognitive load, while abstraction reduces extraneous cognitive load. The learning engine, however, focuses on germane cognitive load, which is the effort required to understand a problem, make appropriate decisions, and execute the task consequently to produce effective solutions. This is the highest value-added cognitive activity because it is directly related to problems and how to generate solutions rather than the tools used or the context in which one operates. In carrying out this activity, the actors involved construct a model of the problem space, combining new information with existing knowledge to build the desired solutions. It is through this activity and the interactions among the actors involved that true learning occurs.

The XOps platform must facilitate learning processes at all levels, from individual learning to group learning to organizational learning. To this end, it must support the processes of knowledge creation, collection, and dissemination. There are two types of knowledge that the XOps platform must manage to support the data ecosystem: business knowledge and contextual knowledge.

Business knowledge pertains to the domain model in which the organization operates, including the main entities that compose it, how they are related, and through which core processes. Collecting and redistributing this type of knowledge at the organizational level is essential for establishing a shared and uniform basic understanding of how the organization operates. This common foundation is crucial for creating derived models and building solutions to specific problems. Sharing business knowledge accelerates the solution modeling process, facilitates interaction between different actors, and enables the construction of a modular system composed of interoperable parts at both the syntactic/technological and semantic levels (composable architecture).

Contextual knowledge, on the other hand, pertains to the operational modalities of the data management function, including its objectives, how they align strategically with the organization’s goals, and how they align practically with the portfolio of planned activities. Collecting and redistributing this type of knowledge is essential to ensure that various parts of the ecosystem can work independently and in a distributed manner while maintaining alignment with the strategic objectives defined by the organization they are part of. Similarly, creating visibility on results obtained from the various activities and interactions within the ecosystem allows the rest of the organization to intervene through the control function (System 3) to adjust priorities or objectives or through the coordination function (System 2) to revise the execution plan of the data management function (System 1).

Both types of knowledge are formalized or created through the interactions and value exchanges that occur among the actors in the ecosystem. The learning engine’s task is twofold: to facilitate the collection of knowledge created in each interaction and to enhance interactions by leveraging previously collected knowledge. For knowledge to be collected, redistributed, and reused, it must be modeled and described, preferably in a formal and unambiguous manner using ontologies. The XOps platform, through the learning engine, must facilitate the construction and evolution of ontologies, making their use as pervasive as possible in every interaction and user experience. We will delve deeper into ontologies and how to use them to manage knowledge in Chapter 10, Distributed Data Modeling.

The XOps platform, through its value creation engines, works to promote the adoption of the new paradigm centered on managing data as a product within the ecosystem. The greater the adoption, the more significant the positive network effects. Among these effects, the most important is the increased ability to reuse existing products and knowledge to solve new business problems more quickly. To encourage the adoption of the new paradigm, the XOps platform’s transactional engine and learning engine work synergistically, promoting strategic alignment (purpose), enabling everyone to operate as autonomously as possible (autonomy), and supporting continuous learning (mastery). Purpose, autonomy, and mastery are the three main drivers the platform uses to motivate actors to participate in data management, undertake new activities, and assume new responsibilities to produce greater overall value for the organization (see Figure 7*.3*):

Figure 7.3 – Platform value creation engines

So far, we have seen how the platform operates and through which engines it creates value for the ecosystem it aims to mobilize. It is now time to delve into its architecture.

In Chapter 3, Data Product-Centered Architectures, we saw how the functionalities offered by the XOps platform can be conceptually divided into two planes: the control plane and the utility plane. The utility plane contains the adapters used by the control plane functionalities to access external services. An adapter enables access to an external service by providing a service based on a standard interface (first-order services). The control plane functionalities orchestrate external services using the standard interfaces implemented by the adapters (second-order services). This allows the control plane to focus on offering higher-level services to users, ensuring a unified experience centered on the concept of data products.

Each adapter is an instance of a specific capability of the utility plane. All instances of a utility plane capability share the same API. The main capabilities that the utility plane should have are the following:

  • Command execution: Through adapters that implement this capability’s API (executor-api), the platform can execute commands on an external application or service and monitor their execution. This capability can be implemented by specific adapters to interact with continuous integration/continuous deployment (CI/CD) applications to start deployment pipelines, permission management applications to grant access to a resource, task management applications to open a ticket, and so on.
  • Event notification: Through adapters that implement this capability’s API (observer-api), the platform can transfer information to an external application or service whenever certain events of interest occur (for example, the publication of a new data product). This capability can be implemented by specific adapters – for example, to communicate metadata associated with a data product to external data catalogs when the product is released.
  • Policies validation: Through adapters that implement this capability’s API (validator-api), the platform can verify the compliance of a resource managed by the XOps platform with a policy or suite of policies. This capability can be implemented by specific adapters to validate a resource using external policy engines such as Open Policy Agent (OPA) or custom functions.
  • Signals aggregation: Through adapters that implement this capability’s API (collector-api), the platform can collect signals (logs, metrics, and traces) generated by external sensors and make them queryable. This capability can be implemented by specific adapters to read telemetry or quality data from an external observability application related to a specific instance of a data product.
  • Configuration management: Through adapters that implement this capability’s API (configurator-api), the platform can create, modify, and read configurations from an external system. This capability can be implemented by specific adapters – for example, to interact with an external vault to read secrets necessary to access other external services.

Multiple adapters can be associated with the same capability by implementing the corresponding standard API (see Figure 7*.4*):

Figure 7.4 – Utility plane APIs and adapters

This allows the control plane to operate in hybrid environments. An API exposed by the utility plane can, for example, be implemented by different specific adapters that act as mediators toward different cloud provider services. The functionalities of the control plane that use this API can dynamically choose which adapter to use based on the context or user preferences. Furthermore, since the interaction between control plane functionalities and adapters that instantiate utility plane capabilities occurs via standard APIs, it is possible to change adapters without impacting the functionalities of the control plane and, consequently, their users. This means that it is not necessary to directly intervene on existing data products every time an application or service of the underlying technology platform changes. Simply creating a new adapter is sufficient.

The platform capabilities implemented through the control plane functions can be grouped, as we saw in the previous section, based on the type of user experience they support. At the developer experience level, the main capabilities that the platform should have are the following:

  • Policy development: Through this capability, the platform supports the development and evolution of computational policies used to automatically verify compliance with governance global rules of data products
  • Ontology development: Through this capability, the platform supports the development and evolution of ontologies at both corporate and individual domain levels, facilitating conceptual modeling processes in a distributed environment
  • Data product development: Through this capability, the platform supports the development and evolution of data products by providing product teams with reusable blueprints, modules, building blocks, and sidecars

At the level of operation experience, the main capabilities that the platform should have are the following:

  • Policies enforcement: Through this capability, the platform verifies the defined computational policies. Policies can be verified both before the product release (static policies) and during its operational life (runtime policies).
  • Data product metadata management: Through this capability, the platform stores, indexes, and makes available for search all metadata associated with a data product. The main metadata of a data product is contained within its descriptor file provided to the platform during publication. The platform can then generate additional metadata associated with a data product during its operational life.
  • Data product lifecycle management: Through this capability, the platform manages and automates where possible the lifecycle of a data product, handling its deployment and all subsequent state and/or runtime environment transitions.
  • Data product monitoring: Through this capability, the platform monitors the operational status of released data product instances, aggregating and enabling analysis of all signals generated by sensors and communicated via observability ports.
  • Data notification management: Through this capability, the platform collects events occurring within the platform itself and communicates them to interested observers.

At the level of consumer experience, the main capabilities that the platform should have are the following:

  • Data product portfolio management: Through this capability, the platform promotes strategic alignment among all actors in the ecosystem by providing a complete view of the product portfolio’s status and showing connections between products, use cases, and organizational objectives.
  • Data product searching: Through this capability, the platform allows users to search for a data product within the catalog of released products and analyze its structure to understand the relevance of the results based on specific user needs.
  • Data product access management: Through this capability, the platform allows users to request and obtain access permissions to data exposed by a data product. It is also through this capability that the platform tracks granted permissions and manages their lifecycle.
  • Data product composition: Through this capability, the platform facilitates the no-code composition of existing products to generate new data products or create data views to support analytical applications.
  • Collaboration management: Through this capability, the platform facilitates collaboration among actors in the ecosystem, such as allowing assignment of responsibilities, team creation, task management, or simply exchanging notes and messages.

The following diagram shows the conceptual architecture of the XOps platform with the respective core capabilities described thus far:

Figure 7.5 – XOps platform capabilities map

The platform capabilities must be implemented incrementally, focusing on the core interactions among the actors that need to be supported, to provide a unified and consistent experience.

“ Platforms are designed one interaction at a time. Thus, the design of every platform should start with the design of the core interaction that it enables between producers and consumers. The core interaction is the single most important form of activity that takes place on a platform—the exchange of value that attracts most users to the platform in the first place.” (Geoffrey G. Parker et al., Platform Revolution)

In the following sections, we will identify some of the core interactions that characterize the experiences the XOps platform aims to support. For each of these interactions, we will delve into how the capabilities described so far can support them. Let’s start from the next section by analyzing key interactions that need to be supported at the developer experience level.

Each data product to be released must provide, through a descriptor document, all necessary information both to assess its compliance with defined governance policies and to manage and operate it correctly within the runtime environment. There are typically no restrictions on its internal structure, which is hidden through the abstraction provided by its exposed interfaces (information hiding). The team developing a product can, therefore, autonomously choose the technologies and internal architecture. However, implementing this internal infrastructure from scratch for each product generates a cognitive load on the development team, requiring both greater specialized technical skills and longer development times. To improve the development experience, the XOps platform must provide reusable components that can be combined to build new data products, reducing technological complexity and development times. The platform must also support the governance capability in defining policies that ensure the quality of developed data products and modeling teams that define ontologies useful for ensuring that data products are semantically interoperable and, therefore, cross-domain composable. Let’s see how in this section.

A building block is a reusable component in the development of various data products. It can be an infrastructure component (for example, a database), an application component (for example, a set of data transformation primitives), an interface (for example, the standard API of an observability port), or a composition of these three types of components. For simplicity, we’ll call data product modules the building blocks defined by composing simpler building blocks. In this section, we’ll focus on atomic building blocks, which are not composed of simpler building blocks. In the next section, however, we’ll see how to compose them to create more complex modules, eventually leading to the creation of complete blueprints for data products.

Atomic building blocks can provide components useful for implementing a specific type of data product or generic components useful to all data products. Building blocks that provide cross-concern functionalities (for example, data input and output management, monitoring, security, and so on), potentially useful to all data products, are generally called data product sidecars. We’ll delve into sidecars in the upcoming sections. Here, we’ll begin to delve into atomic building blocks that provide specific components useful to certain types of data products but not necessarily to all. For convenience, we’ll simply use the term building block to refer to them. We’ll use the terms module, blueprint, or sidecar to refer to the other types of building blocks described so far and represented in the following diagram:

Figure 7.6 – Building blocks’ taxonomy

A building block is a standard component provided by the platform that can be instantiated and used within a data product. Using an existing building block allows the product team to avoid developing the associated components themselves. At the same time, it centralizes management, facilitating maintenance and evolution in accordance with governance policies and platform best practices. Regardless of the type of associated component (infrastructure, application, or interface), each building block must have a unique name and version through which it can be unambiguously referenced. Additionally, each building block must implement a standard interface that can be used to instantiate it. This interface should be declaratively defined, hiding the internal model used by the building block to instantiate the component. In other words, the interface should receive configurations as input and instantiate the component accordingly. Building blocks are platform components, and as such, they are domain-agnostic, meaning they do not directly contain business logic. Some building blocks may allow business logic injection through the configurations used during instantiation.

During the creation of the data product, the development team must be able to specify the configuration of building blocks they use directly within the descriptor file. These pieces of information are then used by the XOps platform during deployment to properly instantiate the building block.

In the Data Product Descriptor Specification (DPDS), for example, each component can be defined inline or through a reference object that points to an external definition. The referenced component can be defined by the product development team in a separate repository, or it can refer to a building block defined at the platform level. The following code snippet shows an example of how a descriptor can reference in DPDS an external building block, passing configuration parameters that the platform will then use during instantiation:

infrastructuralComponents: [
{
"description": "The topic used to store e-commerce sales events",
"mediaType": "application/odmp",
"$ref": "https://odm-platform.lux.com/building-blocks/kafka-
topic-1.0",
"variables": {
"name": {
"default": "onlineSales",
"description": "the name of the component"
},
"version": {
"default": "1.2.0",
"description": "the version of the component"
},
"topicName": {
"default": "online-sales",
"description": "the name of the new topic"
},
"partitions": {
"default": "3",
"description": "the topic partition number"
},
},
…]

The XOps platform should be able to manage a catalog of defined building blocks. During the publication of the data product, the XOps platform should replace all references to building blocks in the descriptor with their complete definition, overriding variables with the parameters specified by the development team. During deployment, the XOps platform should be able to instantiate all building blocks referenced by the data product, passing the specified configuration parameters to the deployment pipeline or default values for those not directly specified in the descriptor (see Figure 7*.7*):

Figure 7.7 – Building blocks’ catalog

Once the deployment of the building block is completed, the XOps platform should finalize by populating variables whose values can only be determined at runtime (for example, Kafka topic ID). The discoverability endpoint of the data product instance that exposes the descriptor should always return a version with complete descriptions of the components instantiated by a building block, together with a reference to the building block and the variables used to instantiate it into a component instance.

Each component within a data product descriptor may depend on one or more other components defined within the data product. For example, in DPDS, dependencies between components of the same type (for example, infrastructural components) are expressed through the dependsOn attribute, while dependencies between application components and infrastructural components or between interface components and application components are expressed through the consumesFrom and providesTo attributes. For instance, an application component might need another application component to handle configurations (for example, dependsOn: configSidecar) and two infrastructural components, respectively, to execute it (for example, consumesFrom: k8s) and to save its outputs (for example, producesTo: postgres). Building blocks used to define reusable components across multiple products may also have dependencies. It is the responsibility of the development team using a building block to ensure that all its dependencies are satisfied. They must define the necessary components for the building block and pass their IDs as configuration variables during referencing. Of course, these components may themselves be defined using other building blocks.

So far, we have seen how to use building blocks by reference. That is, the development team does not have the freedom to directly modify the building block except through the configuration parameters it exposes. This mode of usage is preferable as it ensures the reuse of standard components, certified at the platform level. However, in some cases, it may make sense to allow the use of a building block by copy. In this mode, the building block is cloned into the product team’s development environment, allowing them to modify and customize it. Thus, the reference to the original building block is lost. However, this allows the product team to quickly build a customized version of a building block if the version provided by the platform does not fully meet their needs without having to reimplement it from scratch. The use of building blocks by copy should be monitored and avoided whenever possible, favoring the evolution of the building block offered by the platform to meet new needs instead.

The platform team should manage building blocks as true products whose users are the development teams. Whenever possible, components should be commonly shared by creating a new building block. Similarly, existing building blocks should evolve over time to best meet the needs of their users.

Similar to data products, building blocks must also have an associated descriptor file. This descriptor document should describe the building block (for example, name, version, owner, and so on), list its possible configuration parameters, define its deployment pipeline and how to invoke it, specify its dependencies, and indicate whether it can be used only by reference or also by copy. The descriptor document of a building block should contain all the information useful to both product teams and the XOps platform for its utilization. The catalog of building blocks that the XOps platform should provide is responsible for listing published building block descriptors and making them easily searchable and referenceable.

In the next section, we will see how to compose atomic building blocks to create modules and blueprints.

Defining data product modules and blueprints

Section titled “Defining data product modules and blueprints”

A data product module is defined by composing atomic building blocks. Defining a module facilitates development teams when a set of building blocks of different types are designed to work together to implement a vertical functionality offered by the data product. For example, the standardized management of an observability port based on the OpenTelemetry protocol could be realized through a module composed of several atomic building blocks. Specifically, this module could contain a building block containing the port’s API (interface component), one containing the application that contains the services implementing the API (application component), and finally, one to manage the runtime environment of the application (infrastructural component). Instead of referencing the three building blocks separately and managing dependencies, the development team of a data product can directly reference the module by passing the necessary configuration variables, generally the composition of the variables exposed by the building blocks that compose it. The XOps platform manages the instantiation workflow of a module by executing the instantiation of the building blocks that compose it in the correct sequence.

A blueprint is a module that contains all components necessary to define completely a data product. It is used to define common types of products that can then be extended to add, as needed, the necessary business logic through the configurations of the individual building blocks that constitute it or through the addition of specific components. Depending on the underlying technological architecture and the types of data transformations that need to be implemented, it is useful to define specific product blueprints. In the case of Lux, for example, it might be useful to define a standard blueprint for data products that need to process data in streaming and one for products that need to process data in batch mode. The blueprint for streaming data management should include building blocks for managing data ingestion and consumption in real time as sequences of events and building blocks to instantiate the underlying infrastructure and applications needed to transform data in real time. Similarly, the blueprint for batch data management should include building blocks for managing delta data ingestion and its exposure through published views on a data virtualization layer and building blocks for managing necessary batch transformations.

Even for modules and blueprints, it is always preferable to use them by reference rather than by copy. However, copy usage should not be prevented but carefully monitored. As with building blocks, modules and blueprints must be managed by the platform team as products, described through appropriate descriptor documents, and published on a catalog offered by the XOps platform.

Now, let’s explore operational needs common to all data products that can be useful to implement through appropriate building blocks or modules called sidecars.

Leveraging sidecars to manage cross-cutting concerns

Section titled “Leveraging sidecars to manage cross-cutting concerns”

A sidecar is a building block or module that implements a function useful to multiple data products, though not necessarily all. It is essentially a piece of platform whose execution does not occur centrally but within the runtime context of the data product itself. The use of some sidecars may be made mandatory by governance policies depending on the type of data product.

We can group the types of sidecars into two main categories: adapter sidecars and utility sidecars. An adapter sidecar decouples the internal components of the data product from the external environment. Conceptually, it coincides with the adapters defined within hexagonal architectures to which pure data products are inspired. In practice, adapter sidecars are used to implement the ports of a data product. Let’s see for each port what functionalities the adapter sidecars can provide:

  • An input port adapter sidecar is responsible for acquiring data of interest from other data products through their output ports or from external applications and making it available for processing in one or more internal ingestion datastores. In general, it should accept as configuration the identifier of the system from which to read, the ingestion mode (for example, delta or full), any filters to be applied to the ingested data, and the ingestion frequency. Optionally, it could provide load balancing, decryption, health checks on the read data, fault injection, and ingestion monitoring functionalities.
  • An output port adapter sidecar is responsible for exposing data present in the consumption datastores to external consumption through services that allow controlled access. In general, it should accept as configuration the portion of data to be exposed, who can request access, and any limits on the amount and frequency of data read. Optionally, it could provide load balancing, encryption, health checks on the exposed data, and access monitoring functionalities.
  • A control port adapter sidecar standardizes the management of data product configurations and the exposure of actions that can be invoked on it at runtime by the development team or the platform team. It generally exposes two services. The configuration management service allows reading and modifying configurations that can then be used by other product components to modify their runtime behavior (for example, log level, reading frequency, and so on). The action execution service allows for specifying the action to be performed and the parameters to be used in execution (for example, enable or disable the product, delete data, grant access on a port, and so on). Each component of a data product should specify through a dedicated discoverability port which configuration parameters and actions it supports.
  • An observability port adapter sidecar standardizes methods of collecting signals generated by the product’s components and their exposure to external consumers. It can operate as a simple collector by aggregating and redistributing the generated signals, or it can also archive them and allow external consumers to query them.
  • A discoverability port adapter sidecar standardizes methods for accessing the data product’s descriptor and other static information useful for its use, such as configuration parameters and supported actions.

It is possible to have a single configurable sidecar per port type or to have multiple specific sidecars per port type. For example, you can have a single input port adapter for all supported API and protocol types or a specific adapter for each type of service/source system. In general, it is advisable to unify the interfaces of ports as much as possible but to have multiple implementations of specific sidecars according to functional needs. Unifying interfaces facilitates the use of the product by external agents. Through the specialization of implementations, however, modularity and composability of building blocks are favored, allowing them to be developed and tested independently by the platform team.

Utility adapters, on the other hand, implement utility functions that, for performance and cost reasons, do not make sense to be executed centrally by the platform. The implemented utility sidecars depend heavily on the context and needs of the organization.

An example of a commonly implemented utility sidecar is one that offers primitives for executing quality checks. Typically, this sidecar transforms the constraints defined in the data product descriptor document into calls to functions offered directly by the sidecar or indirectly through external frameworks (for example, Great Expectations or Soda) to execute data checks. The sidecar is then responsible for communicating the results of the executed checks (quality indicators) to the observability port adapter sidecar to make them accessible externally. Optionally, it can integrate with the control port adapter sidecar to read configurations of interest (for example, test execution frequency). Always thanks to integration with the control port adapter sidecar, it is possible to disable or enable some checks or create new ones at runtime. Quality checks could also be performed centrally through a platform service. However, this would require data movement. Packaging such a service into a utility sidecar and distributing the checks’ execution directly to the products is more convenient.

Another example of a utility sidecar useful in different contexts is the sidecar that handles data anonymization. Generally, this sidecar integrates with output port adapter sidecars to generate anonymized versions of the data to be exposed.

A final example of a utility sidecar is one that resolves the identity of business entities read from different input ports associated with systems that do not share the same master data. The identity resolution heuristics and the subsequent strategy to assign a unique identifier to each entity must obviously be shared by all source-aligned data products that deal with the same entities. It is useful, therefore, to uniquely define such an identity resolution service. However, it is more convenient to include this logic in a sidecar and perform identity resolution locally to individual data products rather than centralizing it at the platform level for scalability and performance reasons.

Sidecars, as with all other types of building blocks seen so far, facilitate the development of data products. They facilitate the development experience for product teams. However, the platform should not only support product development teams in developing data products but also support modeling teams in developing ontologies and the governance team in developing computational policies. Let’s see how in the next section.

Supporting computational policy and ontology development

Section titled “Supporting computational policy and ontology development”

To support the development activities across the entire data ecosystem, the platform must also provide useful functionalities for governance and modeling teams.

The governance team defines global policies that must be adhered to by data products to ensure their quality and interoperability, at least at a technical level. The platform should allow defining governance policy as code (PaC) to subsequently verify it automatically (computational policy). Computational policies should be managed as a product. The platform must support the governance team not only in defining computational policies but also in managing their entire lifecycle. It should be possible to define policies declaratively, document them, and specify their scope and verification methods.

Modeling teams define ontologies, conceptual models that describe the core data managed by a subdomain (subdomain ontology) or the entire organization (enterprise ontology). Ontologies should also be managed as products and used pervasively within all interactions occurring in the ecosystem. The platform should simplify their development and evolution throughout their lifecycle. This means it should be possible to define new ontologies, import public ontologies, extend existing ontologies by introducing new concepts or relationships, link ontologies together to build a federated conceptual model, and finally associate the defined concepts with data assets exposed by data products (semantic linking).

We’ve seen in this section how the platform can support the development of data products, computational policies, and ontologies. Now, let’s see in the next section how the XOps platform can operationally support these three types of products throughout their lifecycle.

The operational experience revolves around two main types of interactions: the release of data products developed in the runtime environment and their subsequent operations control. In this section, we will see how the XOps platform can support these two key interactions through its core capabilities.

Orchestrating the data product deployment pipeline

Section titled “Orchestrating the data product deployment pipeline”

Every data product must have an associated deployment pipeline to manage its release in the runtime environment. This pipeline is generally constructed by composing simpler pipelines associated with the release of individual components or groups of components. The reference to the pipeline to be used or to its sub-pipelines must be explicitly specified in the descriptor document.

The following code snippet shows how pipelines to promote the data product through the different stages of its lifecycle are referenced in DPDS:

"lifecycleInfo": {
"test": [...],
"prod": [...],
"deprecated": [...]
}

In a declarative manner, the example defines three stages in the product lifecycle: test, prod, and deprecated. For each stage, it specifies a sequence of tasks that must be executed to transition the product to that stage. Each task specifies the name of the executor adapter to be invoked to execute it (service); in this case, the adapter for Azure DevOps, the actions to be executed (template), and a set of configuration parameters to be used during the task execution (configurations). The following code snippet shows how the task that promotes the data product to the test stage is defined:

{
"test": [{
"service": {
"$href": "{azure-devops}"
},
"template": {
"name": "inventoryDpPipeline",
"version": "1.0.0",
"specification": "azure-devops",
"specificationVersion": "1.0.0",
"definition": {
"organization": "lux",
"project": "inventory",
"pipelineId": "3",
"branch": "main"
}
},
"configurations": {
"stagesToSkip": ["Deploy"]
}
}],
"prod": [...],
"prod": [...]
}

The XOps platform must be able to resolve references to the deployment pipeline and orchestrate its execution, possibly delegating some tasks to underlying CI/CD tools through appropriate adapters (data product lifecycle management capability). It is advisable to centralize the orchestration of deployment to track all released data products and ensure their compliance before and after deployment.

To deploy a data product instance through the XOps platform, it is first necessary to publish its descriptor document. In this phase, the XOps platform verifies the correctness of the descriptor document and its compliance with static governance policies (policies enforcement capability). If the descriptor document is valid, it is stored within the product registry (data product metadata management) and can be deployed in one of the available runtime environments. Additional checks can be performed before executing the deployment, for example, to ensure that a product can actually be deployed in the specified environment. Once the deployment is completed, all checks related to runtime governance policies verifiable only on the deployed product instance can be executed. If all checks pass successfully, the product has been successfully deployed; otherwise, a rollback must be performed. When the XOps platform successfully deploys a data product in a runtime environment, it notifies all external applications involved, passing them the descriptor document or parts of it, along with information regarding the deployment just executed (data notification management capability).

For all released data product instances, the platform must finally ensure monitoring throughout their operational life until decommissioning. We will see how in the next section.

Once an instance of a data product is created, the platform must provide the appropriate interfaces to access its control and observability ports.

Access to control ports is functional for easily passing configuration parameters to the product to modify its operational behavior without releasing a new version. Through the platform, it must also be possible to invoke control ports when necessary to perform actions on the data product instance.

Access to observability ports, on the other hand, is used to collect signals generated by data products and provide a view of their internal operational state (data product monitoring capability). The historical series of telemetry data can be exposed to potential consumers. Additionally, the platform can use the values of indicators exposed by observability ports (service level indicators (SLIs) and data quality indicators (DLIs) to calculate service level objectives (SLOs) and service level agreements (SLAs) declared by the data product in its descriptor document. If an SLO or SLA is violated, the platform must manage the notification of the event to interested external applications and agents (notification management capability). It must also provide the necessary tools to track and support incident management (IM) activities (collaboration management capability).

In the next section, we will finish our journey through the experiences that the XOps platform must support by delving into consumer experience.

The consumer experience revolves around two main types of interaction: the use and the composition of data products. In this section, we will see how the XOps platform can support these two key interactions through its core capabilities.

The XOps platform supports the use of released data products through marketplace functionality. It must provide an easily navigable catalog containing all released data products, displaying the relationships between various data products, the teams that develop them, the business cases they support, the physical assets exposed, and the concepts in the defined ontologies that they reference (data product portfolio management capability). Furthermore, the XOps platform should enable grouping and filtering of data products according to different criteria and support searches within the catalog (data product searching capability). The search functionalities should make use of the encoded knowledge within the referenced ontologies, combining traditional information retrieval techniques with semantic search.

Once a potentially interesting product is identified, the XOps platform should provide a detailed product page containing all necessary information for a potential consumer to understand which data is exposed and evaluate its utility based on their needs (data product metadata management capability).

Finally, the XOps platform must allow consumers to request access to the product or to a specific port (data product access management capability). The platform should manage the approval workflow for the request, and if the outcome is positive, grant access (data product access management). Optionally, the platform can provide usage monitoring and billing functionalities for certain products according to the pricing models specified in the descriptor document. Additionally, users should be able to add comments to a product and interact with the development team by asking questions or reporting issues (collaboration management capability).

The marketplace functionalities support data product usage. However, data products are not only meant to be used separately. On the contrary, they provide more value when combined to generate new data products or create views to support new analytical applications. In the next section, we will see how the XOps platform can assist users in composing products available in the catalog.

The platform should facilitate the composition of existing data products both to create new derived data products and to create data views on which to develop new analytical applications. Composition between existing data products should be possible in a low-code or no-code manner. In other words, it should be achievable by all actors within the ecosystem, especially business users without technical knowledge. When multiple products are combined to generate a new data product shared with the rest of the ecosystem, the platform should assist users in providing all the necessary information for publishing the data product in the catalog so that it is compliant with all global policies defined by the governance capability (data product composition capability).

So far, we have described the capabilities that an XOps platform should have and how they should be orchestrated to support the production of value within the data ecosystem. In the next section, which concludes the chapter, we will see how to proceed to implement an XOps platform.

In this section, we will see which strategy to follow to adopt an XOps platform that can assist in transitioning to a paradigm based on managing data as a product. Specifically, we will explore when is the right time to start evaluating such a platform, how to choose between make or buy, and finally, which elements to consider to capitalize on technology investments already made while maintaining a certain level of flexibility to adapt to future technological innovations.

In every paradigm shift, technology can assist in the transition. In this chapter, we have seen how an XOps platform is essential for removing friction in data product development, mobilizing the entire ecosystem around data products, and promoting value production by effectively and efficiently combining them. However, technology supports the transformation process but cannot guide it. Therefore, it doesn’t make sense to choose or implement an XOps platform before starting the journey. It is useful to begin the transformation on a small scale, experimenting with operational models and developing the first lighthouse data products. In this mobilization phase, the presence of the fully featured XOps platform is not necessary. It may still make sense to consider developing a minimum viable platform that can be further evolved in later phases. It becomes necessary to invest more in the platform when transitioning from the initial mobilization phase to scaling the initiative, seeking to spread the adoption of the paradigm across a broader ecosystem within the organization. At this point, the new operational model has been tested on a small scale, making it easier to outline the most useful capabilities that the platform should provide to support while scaling up. In short, it is possible to make a more mature choice by selecting the technology that best supports the operational model adopted rather than delegating the definition of the operational model to the technology.

The market has yet to offer complete solutions to manage data as products such as the one described here. However, this doesn’t necessarily mean that an XOps platform needs to be implemented internally. It’s possible to select different market solutions for each functional area and then integrate them to cover the core capabilities described here, providing a uniform user experience. For example, it is possible to choose a data developer platform and integrate it with a data catalog and/or a data marketplace. The important thing is that the selected tools allow for managing the concept of data products natively or through customization.

In general, it’s not necessary to cover all capabilities right away. It is possible to proceed incrementally based on needs, starting with a minimal platform (thinnest viable platform). This platform can then be extended over time by rolling out new capabilities as needed, following a make-or-buy logic (harvested platform). The XOps platform as a whole should be managed like a product and evolve over time to best meet the real needs of its users within the data ecosystem. The criterion for prioritizing platform development activities and, more generally, for evaluating its success is user adoption.

It’s normal in the XOps platform implementation to start with the part that supports the development experience, particularly from the data product registry, deployment management, and computational policies’ enforcement, in order to define necessary quality gates to ensure the quality of released data products. However, the other types of experiences described here, which are equally important for creating a value network that actively involves all actors in the ecosystem, should not be overlooked. For this reason, platform capability development should occur in parallel across all types of experience we want to support.

The XOps platform must obviously fit into an ecosystem of pre-existing and continuously evolving technologies. In the next section, we’ll see what characteristics the XOps platform should have to integrate seamlessly with existing external technologies or those that may potentially be adopted in the future.

Open Data Mesh Platform

Open Data Mesh Platform (https://platform.opendatamesh.org/) is an open source, multi-plane, and multi-module platform designed to automate the lifecycle of a data product. It uses DPDS (https://dpds.opendatamesh.org/) as the specification for representing a data product and offers functionalities to support development, manage releases, and validate data products. This platform exemplifies the architecture presented in this chapter and can be adopted as a foundational platform that can then be extended with new functionalities or integrated with external products. Opting for an open source platform strikes a good balance between building and buying.

To capitalize on past technological investments and facilitate the adoption of new innovative technologies in the future, the XOps platform must have several key characteristics (architectural principles).

First and foremost, it must provide a curated user experience. Even when the XOps platform is composed of multiple tools, it should never be just a simple bundle of these tools. The primary objective of the XOps platform is to orchestrate existing tools to create the desired interaction experience rather than attempting to replace them by directly implementing the necessary functionalities.

It is also important that integrations between the different modules and products that make up the platform occur through standard APIs that ensure decoupling between the involved components. This way, it is relatively easy to change a module or product to adopt a new, more innovative, or more cost-effective technology when the opportunity arises in the future.

Finally, it must define common specifications to declaratively represent the main managed resources – namely, data products, building blocks, ontologies, and computational policies. The representation of these resources through common specifications is the most important information the platform must manage; they are its master data. How this master data is then translated to be managed by the individual products that make up the platform is just a derived technical problem. The formats for representing core resources must be independent of the individual technologies that manage them, ensuring minimal lock-in and greater agility in extending the platform in the future.

In this chapter, we explored how to support the lifecycle of a data product in all its phases through an XOps platform designed to mobilize the entire data ecosystem in managing data as a product.

First, we delved into the role of the XOps platform within the data ecosystem. We saw how, through its value production engines (transaction engine and learning engine), it reduces friction in the creation of data products, computational policies, and ontologies, facilitates their operational management, and enables effective and efficient use of data to support the organization’s priority business cases.

We then examined the logical architecture and critical capabilities offered by the XOps platform. Specifically, we analyzed how these capabilities are orchestrated by the XOps platform to support the development, operation, and consumer experience.

Finally, we explored how to implement the XOps platform incrementally as a composition of modules, proposing key architectural principles to guide the make-or-buy decision for each module.

In the next chapter, we will begin to explore strategies for defining a path to adopting a data-as-a-product management paradigm.

For more information on the topics covered in this chapter, please see the following resources:

Get This Book's PDF Version and Exclusive Extras