Formerly known as Wikibon

Breaking Analysis: How JP Morgan is Implementing a Data Mesh on the AWS Cloud

A new era of data is upon us. The technology industry generally and the data business specifically are in a state of transition. Even our language reflects that. For example, we rarely use the phrase “Big Data” anymore. Rather we talk about digital transformation or data-driven companies. Many have finally come to the realization that data is not the new oil…because unlike oil, the same data can be used over and over for different purposes. But our language is still confusing. We say things like “data is our most valuable asset,” however in the same sentence we talk about democratizing access and sharing data. When was the last time you wanted to share your financial assets with your co-workers, partners and customers?

In this Breaking Analysis we want to share our assessment of the state of the data business. We’ll do so by looking at the data mesh concept and how a division of a leading financial institution, JPMC, is practically applying these relatively new ideas to transform its data architecture for the next decade. 

What is a Data Mesh?

As we’ve previously reported, data mesh is a concept and set of principles introduced in 2018 by Zhamak Dehghani, Director of Technology at Thoughtworks. She created this movement because her clients, some of the leading firms in the world, had invested heavily in predominantly monolithic data architectures that failed to deliver desired results. 

Her work went deep into understanding why her clients’ investments were not generating better payback. Her main conclusion was the prevailing method of trying to force our data into a single monolithic architecture is an approach that is fundamentally limiting. 

One of the profound ideas of data mesh is the notion that data architectures should be organized around business lines with domain context. That the highly technical and hyper-specialized roles of a centralized cross-functional team are a key blocker to achieving our data aspirations. 

This is the first of four high level principles of data mesh, specifically: 

  1. That the business domain should own the data end-to-end, rather than have to go through a centralized technical team;
  2. A self-service platform is fundamental to a successful architectural approach where data is discoverable and shareable across an organization and ecosystem;
  3. Product thinking is central to the idea of data mesh – in other words data products will power the next era of data success;
  4. Data products must be built with governance and compliance that is automated and federated. 

Number three is one of the most significant and difficult to understand. Most discussion around data value in the past decade have centered around using data to create actionable insights. In other words, data informs humans so they can make better decisions. We see this as a necessary but insufficient condition for successful data transformations in the 2020s. In other words, if the end game is better insights we see that as an important but evolutionary extension of reporting. Rather we believe that building data products that can be monetized – either to directly cut costs or more importantly, generate new revenue, as the more interesting (and now attainable) target goal.

There’s lots more to the data mesh concept and there are tons of resources on the Web to learn more, including an entire community that has formed around data mesh. But this should give you a basic idea. 

Data Mesh is Tools Agnostic

One other notable point is that in observing Zhamak’s work, she has deliberately avoided discussions around specific tooling, which has frustrated some folks. Understandably, because we all like to have references that tie to products and companies. This has been a two edged sword in that on the one hand it’s good because data mesh is designed to be successful independent of the tools that are chosen. On the other hand it’s led some folks to take liberties with the term data mesh and claim “mission accomplished” when their solution may be more marketing than reality. 

JP Morgan Chase & Its Data Mesh Journey

We were really interested to see just this past week, a team from JPMC held a meetup to discuss what they called “Data Lake Strategy via Data Mesh Architecture.” We saw the name of the session and thought “that’s a weird title.” And wondered if they are just taking their legacy data lakes and claiming they’re now transformed into a data mesh? 

But in listening to the presentation the answer is a definitive “no – not at all.” A gentleman named Scott Hirleman organized the session that comprised the three speakers shown above: James Reid, a divisional CIO, Arup Nanda who is a technologist and architect and Sarita Bakst, an information architect…all from JPMC. 

This was the most detailed and practical discussion we’ve seen to date about implementing a data mesh. And this is JPMC…we know they were an early Hadoop adopter, an extremely tech savvy company and have invested probably billions in the past decade on data across this massive company. And rather than dwell on the downsides of its Big Data past we were pleased to see how they’re evolving their approach and embracing new thinking around data mesh.

In this post, we’re going to share some of the slides they used and comment on how it dovetails into the concept of data mesh as we understand it, and dig a bit into some of the tooling that is being used by JP Morgan, specifically around the AWS cloud. 

It’s all About Business Value  

JPMC is in the money business and in that world, it’s all about the bottom line. 

James Reid, the CIO, showed the slide above and talked about the team’s overall goals, which centered on a cloud-first strategy to modernize the JPMC platform. He focused on three factors of value: #1 Cut costs– always, of course. #2 Unlocking new opportunities or accelerating time to value. And we really like #3, which we’ve highlighted in red – data re-use as a fundamental value ingredient. And his commentary here was all about aligning with the domains, maximizing data reuse and making sure there’s appropriate governance. 

Don’t get caught up in the term data lake – we think that’s just how JP Morgan communicates internally. It’s invested in the data lake concept – and they like water analogies at JPMC. They use the term data puddles for example, which are single project data marts and data ponds which comprise multiple puddles that can can feed into data lakes.

As we’ll see – JPMC doesn’t try to force a single version of the truth by putting everything into a monolithic data lake. Rather it enables the business lines to create and own their own data lakes that comprise fit-for-purpose data products. And they use a catalog of metadata to track lineage and provenance so that when they report to regulators, they can trust that the data they are communicating are current, accurate and consistent with previous disclosures.  

Cloud-First Platform that Recognizes Hybrid

JPMC is leaning into public cloud and adopting agile methods and microservices architectures; and it sees cloud as a fundamental enabler. But it recognizes that on-prem data must be part of the data mesh equation. 

Below is a slide that starts to get into some of the generic tech in play:

We’d like to make a couple of points here that tie back to Zhamak Deghani’s original concept.

The first is that unlike many data architectures, this diagram puts data as products right in the fat middle of the chart. The data products live in business domains and are at the heart of the architecture. The databases, Hadoop clusters, files and APIs on the left hand side serve the data product builders. The specialized roles on the right hand side – the DBAs, data engineers, data scientists and data analysts serve the data product builders. Because the data products are owned by the business they inherently have context. This is nuanced but an important difference from most technical data teams that are part of a pipeline process that lacks business and domain knowledge. 

And you can see at the bottom of the slide, the key principles include domain thinking and end-to-end ownership of the data products – build, own, run/manage. 

At the same time the goal is to democratize data with self-service as a platform. 

One of the biggest points of contention on data mesh is governance and as Sarita Bakst said on the meetup “metadata is your friend.” She said, “this sounds kinda geeky” – but we agree, it’s vital to have a metadata catalog to understand where data resides, the data lineage and overall change management. 

So to us – this passed the data mesh stink test pretty well. 

Data as Products – Don’t Try to Boil the Ocean

The presenters from JPMC said one of the most difficult things for them was getting their heads around data products. They spent a lot of time getting this concept working. Below is one of the slides they used to describe their data products as it related to their specific segment of the financial industry:

The team stressed that a common language and taxonomy is very important in this regard. They said, for example, it took a lot of discussion and debate to define what is a transaction. But you can see at a high level three product groups around Wholesale Credit Risk, Party and Trade & Position data as products. And each of these can have sub-products (e.g. KYC under Party). So a key for JPMC was to start at a high level and iterate to get more granular over time. 

Lots of decisions had to be made around who owns the products and sub-products. The product owners had to defend why that product should exist, what boundaries should be put in place and what data sets do and don’t belong in the product. And which sub-products should be part of these circles. No doubt those conversations were engaging and perhaps sometimes heated as business line owners carved out their respective turf. 

They didn’t say this specifically, but tying back to data mesh, each of these products, whether in a data lake, data hub, data pond, data warehouse or data puddle is a node in the global data mesh. 

Supporting this notion, Sarita Bakst said this should not be infrastructure bound – logically any of these data products, whether on-prem or in the cloud, can connect via the data mesh. 

So again we felt like this really stayed true to the data mesh concept. 

Key Technical Considerations

This chart below shows a diagram of how JP Morgan thinks about the problem from a technology point of view. 

Some of the challenges JPMC had to consider was how to write to various data stores, can you/how can you move data from one data store to another? How can data be transformed? Where is data located? Can the data be trusted, how can it be easily accessed, who has the right to access the data…these are problems that technology can solve. 

To address these issues, Arup Nanda explained that the heart of the slide above is the Data Ingestor (versus ETL). All data producers/contributors send data to the Ingestor. The Ingestor then registers the data so it’s in the data catalog, it does a data quality check and it tracks the lineage. Then data is sent to the Router, which persists the data based on the best database destination as informed by the registration. 

This platform is designed to be flexible. In other words the data store for a data product is not pre-determined and fixed. Rather it’s decided at the point of inventory and that allows changes to be easily made in one place. The Router simply reads that optimal location and sends it to the appropriate data store. 

The Schema Inferrer is used when there is no clear schema on write. In this case the data product is not allowed to be consumed until the schema is inferred and settled. The data in this case goes to a raw area and the Inferer determines the proper schema and then updates the inventory system so that the data can be routed to the proper location and accurately tracked. 

That’s a high level snapshot of some of the technical workflow and how the sausage factory works in this use case. Very interesting and worth technical practitioners watching at least the technical section of this 83 minute video, which starts around 19 minutes in. 

How JPMC Leverages the AWS Cloud for Data Mesh

Now let’s look at the specific implementation on AWS and dig into some of the tooling.

As described in some detail by Arup Nanda, the diagram above shows the reference architecture used by this group at JP Morgan. It shows all the various AWS services and components that support their data mesh approach. 

Start with the Authorization block right underneath Kinesis. The Lake Formation is the single point of entitlement for data product owners and has a number of buckets associated with it – including the raw area we just talked about, a trusted bucket, a refined bucket and a bucket for any operational adjustments that are required. 

Beneath those buckets you can see the Data Catalog Registration block. This is where the Glue Catalog resides and it reviews the data characteristics to determine in which bucket the router puts the data. If for example there is no schema, the data goes into the Raw bucket and so forth, based on policy.  

And you can see the many AWS services in use here, identity, the EMR cluster from the legacy Hadoop work done over the years, Redshift Spectrum and Athena – JPMC uses Athena for single threaded workloads and Redshift Spectrum for nested types that can be queried independently of each other.

Now remember, very importantly, in this use case, there is not a single lake formation, rather multiple lines of business will be authorized to create their own lakes and that creates a challenge. In other words, how can that be done in a flexible manner to accommodate the business owners? 

Note: Here’s an AWS-centric blog on how they recommend implementing data mesh

Enter Data Mesh 

JPMC applied the notion of federated lake formation accounts to support its multiple lines of business. Each LoB can create as many data producer and consumer accounts as they desire and roll them up to their master line of business lake formation account shown in the center of each block below. And they cross connect these data products in a federated model as shown. These all roll up into a master Glue Catalog seen in the middle of the diagram so that any authorized user can find out where a specific data element is located. This superset catalog comprises multiple sources and syncs up across the data mesh. 

So again this to us was a well thought out and practical application of data mesh. Yes it includes some notion of centralized management but much of that responsibility has been passed down to the lines of business. It does roll up to a single master catalog and that is a metadata management effort and seems compulsory to ensure federated and automated governance. 

Importantly, at JPMC, the office of the Chief Data Officer is responsible for ensuring governance and compliance throughout the federation. 

Which Vendors Play in Data Mesh?

Let’s take a look at some of the suspects in this world of data mesh and bring in the ETR data.

Now of course ETR doesn’t have a data mesh category – and there’s no such thing as a data mesh vendor – you build a data mesh, you don’t buy it. So what we did is used the ETR data set to filter certain sectors to identify some of the companies that might contribute to the data mesh to see how they’re performing. 

The chart above depicts a popular view we often like to share. It’s a two dimensional graphic with Net Score or spending momentum on the vertical axis and Market Share or pervasiveness within the data set on the horizontal axis. And we’ve filtered the data on sectors such as analytics, data warehouse, etc, that reflected participation in data mesh. 

Let’s make a few observations.

As is often the case, Azure and AWS are almost literally off the charts with high spending velocity and a large presence in the market. Oracle also stands out because much of the world’s data lives inside of Oracle databases – it doesn’t have the spending momentum but the company remains prominent. You can see Google Cloud doesn’t have nearly the presence but its momentum is elevated. 

Remember, that red dotted line at 40% indicates our subjective view of what we consider a highly elevated spending momentum level. 

A Quick Aside on Snowflake

Snowflake has consistently shown to be the gold standard in Net Score and continues to maintain highly elevated spending velocity in the ETR data set. In many ways Snowflake with its data marketplace, data cloud vision and data sharing approach fits nicely into the data mesh concept. Snowflake, however has used the term data mesh in its marketing but in our view it lacks clarity and we feel like they’re still trying to figure out how to communicate what that really is.

We don’t see Snowflake as a monolithic architecture, however their marketing sometimes uses terms that allow one to infer legacy thinking. Our sense is this is actually customer-driven. What we mean is Snowflake customers are so used to monolithic architectural approaches and because Snowflake is so simple to use, they “pave the cowpath” and apply Snowflake to their legacy organizational structures and ways of thinking.

In reality, the value of Snowflake, in the context of data mesh, is the ability to quickly and easily spin up (and down) virtual data stores and share data across the Snowflake data cloud with federated governance. Snowflake’s vision is to abstract the underlying complexity of the physical cloud location (i.e. AWS, GCP or Azure) and enable sharing across the globe, within its governed data cloud. Ideally minimizing the need to make copies to share data (notwithstanding sometimes copies are necessary for latency considerations).

The bottom line is we actually think Snowflake fits nicely into the data mesh concept and are well positioned for the future.

Other Vendors of Note

Databricks is also interesting because the firm has momentum and we expect further elevated levels on the vertical axis as it readies for IPO. The firm has a strong product and very good managed service. Initially, everyone thought Databricks would try to be the Red Hat of big data and build a service around Spark. Rather what it’s done is built a managed service, with strong AI/data science chops and is taking the data lake to new levels. It is one to watch for sure and on a collision course with Snowflake in our view. 

We need to do more research but have always believed Databricks fits well into a federated data mesh approach. 

We included a number of other database companies for obvious reasons – like Redis, Mongo, MariaDB, Couchbase and Teradata. SAP as well— that’s not all HANA for SAP, but they’re a prominent player in the market as is IBM. 

Cloudera, which includes Hortonworks and HPE Ezmeral, which comprises the MapR business that HPE acquired. These include some of the early Hadoop deployments that are evolving.  And of course Talend and Informatica are two data integration companies worth noting. 

And we also included some of the AI/ML specialists and data science players in the mix like Datarobot, which just did a monster $250M round, Dataiku, H2O.ai and Thoughtspot, which is a specialist using AI to democratize data and fits very well into the data mesh concept in our view. 

And we put VMware cloud in there for reference because it really is the predominant on-prem infrastructure platform. 

JPMC a Practical Example of Data Mesh in Action

First, thanks to the team at JP Morgan for sharing this data. We really want to encourage practitioners and technologists to go watch the youtube of that meetup. And thanks to Zhamak Deghani and the entire data mesh community for the outstanding work you do challenging established conventions. The JPM presentation gives you real credibility and takes data mesh well beyond concept and demonstrates how it can be done. 

This is not a perfect world. You have to start somewhere and there will be some failures. The key is to recognize that shoving everything into a monolithic data architecture won’t support massive scale and cloud-like agility. It’s a fine approach for smaller firms but if you’re building a global platform and a data business it’s time to re-think your data architecture and importantly, your organization.

Much of this is enabled by cloud – but cloud-first doesn’t mean you’ll leave your on-prem data behind. On the contrary, you must include non-public cloud data in your data mesh vision as JPMC has done. 

Getting some quick wins is crucial so you can gain credibility within the organization and continue to grow. 

One of the takeaways from the JP Morgan team is there is a place for dogma – like organizing around data products and domains. On the other hand you have to remain flexible because technologies will come and they will go. 

If you’re going to embrace the metaphor of puddles, ponds and lakes..we suggest you expand the scope to include data oceans – something we have talked about extensively on theCUBE. Data oceans – it’s huge! Watch this fun clip with analyst Ray Wang and John Furrier on the topic. 

And think about this. Just as we are evolving our language, we should be evolving our metrics. Much of the last decade of Big Data was around making the technology work. Getting it up and running and managing massive amounts of data. And there were many KPIs built around standing up infrastructure and ingesting data at high velocity. 

This decade is not just about enabling better insights. It’s more than that. Data mesh points us to a new era of data value and that requires new metrics around monetizing data products. For instance, how long does it take to go from data product idea to monetization? And what is the time to quality. Automation, AI and very importantly, organizational restructuring of our data teams will heavily contribute to success in the coming years. 

So go learn, lean in and create your data future. 

Ways to Keep in Touch

Remember these episodes are all available as podcasts wherever you listen.

Email david.vellante@siliconangle.com | DM @dvellante on Twitter | Comment on our LinkedIn posts.

Also, check out this ETR Tutorial we created, which explains the spending methodology in more detail.

Watch the full video analysis:

 Image credit: Alex
Note: ETR is a separate company from Wikibon/SiliconANGLE.  If you would like to cite or republish any of the company’s data, or inquire about its services, please contact ETR at legal@etr.ai.
Article Categories

Join our community on YouTube

Join the community that includes more than 15,000 #CubeAlumni experts, including Amazon.com CEO Andy Jassy, Dell Technologies founder and CEO Michael Dell, Intel CEO Pat Gelsinger, and many more luminaries and experts.
"Your vote of support is important to us and it helps us keep the content FREE. One click below supports our mission to provide free, deep, and relevant content. "
John Furrier
Co-Founder of theCUBE Research's parent company, SiliconANGLE Media

“TheCUBE is an important partner to the industry. You guys really are a part of our events and we really appreciate you coming and I know people appreciate the content you create as well”

You may also be interested in

Book A Briefing

Fill out the form , and our team will be in touch shortly.
Skip to content