Why lakehouse layers aren’t one-size-fits-all


Bronze, silver and gold are common labels for organizing lakehouses, but when it comes to data layers, there’s more than metal to think about.

In the medallion method, the bronze tier generally represents data at the ingestion layer, the silver tier represents data where it’s being enriched and the gold tier represents business data ready for dashboards and reporting. This model gives users a simple way to visualize how to structure their data.

But it’s not a fixed law. Data leaders have much more to consider when determining the number and purpose of data layers. AI only complicates the architecture decision-making process. Other data lakehouse concerns revolve around data redundancy, security and the folder structure underneath the data buckets.

James Serra, a data consultant and author of “Deciphering Data Architectures: Choosing Between a Modern Data Warehouse, Data Fabric, Data Lakehouse, and Data Mesh,” said it makes sense for customers to be familiar with the medallion architecture.

“It’s a good starting point at the very least,” he said.

But Serra, at Microsoft data architect, said the medallion approach falls short when describing layers. Instead, he prefers using raw, clean and presentation as more helpful layer descriptors. The number of labels isn’t locked into place; some organizations may need more layers, while others require fewer.

“I frequently have discussions with customers … and I always start out by saying, you don’t have to have just three layers, you can have more or less than that. I’ve seen anywhere from two to seven or eight layers,” he said.

Before you build the architecture

Regardless of how an organization names its labels, it must think more broadly about architecture decisions.

David Marco, president and executive advisor at EWSolutions, which focuses on data and AI governance, said having bronze, silver and gold layers is fine. But these alone don’t create data quality or readiness.  What’s crucial is to create an action plan for getting there, he said.

One consideration is the use of data domains — in other words, the “nouns” of an organization, Marco said, encompassing categories such as customer, product and material.

A predefined domain model is a key component, Marco said, but it doesn’t need to run thousands of pages. A single sheet or a PowerPoint can suffice. The domain model and an understanding of subcategories help organizations avoid overlap among domains.

In addition, an enterprise must eliminate unnecessary data, Marco said.

“We need to get rid of our redundancy in as much as we can,” he said, citing as an example one company that had more than 20 distinct order-entry systems. “Every CIO I speak to talks about it: IT footprint reduction.”

Marco said he’s seen clients with a seven-fold data redundancy. In other words, a company with seven petabytes of data could run its backups, analytics and operations on one petabyte.

How many layers do you need?

For companies assessing their environments, a three-tier structure is a good starting point. It provides a high-level view, but from there, data leaders must work out how many data layers they need. The first step is to evaluate data sources and then determine how those might change over time.

“It’s a good idea to go through and think of all the sources that you have now and in the future,” Serra said. “Because if you don’t need real-time streaming, then that’s going to simplify your architecture. But make sure you don’t need it for the next couple years at the very least.”

With the data sources cataloged, data managers can assess the specific attributes of each. The speed of the data coming into an organization is one such consideration. Here, evaluators should carefully define real-time. For some, real-time is once every hour. For others, it’s thousands of events per second.

Next, the organization should consider the size of the data and the type of the data — whether it’s JSON, Parquet or Delta format.

Answering the speed, size and type questions helps determine the number of layers required. Three will suit some organizations, but others might want extra layers. A business adopting enterprise AI could need an AI-ready data layer while a company with a strict compliance regimen might require an anonymization layer.

Some lakehouse scenarios might call for fewer layers, said Soumya Ghosh, senior director and global head of the Databricks Center of Excellence at the business and technology consultancy Slalom.

Near-real-time operational analytics is one example.



Source link

Recent Articles

Related Stories