Serverless as the New "Easy Button": How HP Inc. Used Serverless to Turbocharge Their Data Pipeline
Summary
- Serverless simplicity: HP Inc. eliminated cluster management overhead by migrating from AWS-based Spark to Databricks serverless compute.
- DLT efficiency: Databricks Lakeflow DLT streamlined Adobe Analytics ingestion, processing 8TB of granular website clickstream data reliably and cost-effectively.
- On-demand scaling: Serverless compute provides near-zero overhead and on-demand scalability, making data pipelines faster, cheaper, and easier to operate.
Serverless as the New "Easy Button": How HP Inc. Used Serverless to Turbocharge Their Data Pipeline

Talk by Jason Hart, Senior Databricks Engineer, Zahlen Solutions ; Matthew Wright, CEO, Zahlen Solutions LLC
How do you wrangle over 8TB of granular “hit-level” website analytics data with hundreds of columns, all while eliminating the overhead of cluster management, decreasing runtime and saving money? In this video, we’ll dive into how we helped HP Inc. use Databricks serverless compute and DLT to streamline Adobe Analytics data ingestion while making it faster, cheaper and easier to operate. We’ll walk you through our full migration story — from managing unwieldy custom-defined AWS-based Apache Spark™ clusters to spinning up Databricks serverless pipelines and workflows with on-demand scalability and near-zero overhead. If you want to simplify infrastructure, optimize performance and get more out of your Databricks workloads, this talk is for you.
Here’s more to explore:
Production ready data pipelines for analytics and AI: https://www.databricks.com/solutions/data-engineering
The Big Book of Data Engineering: https://www.databricks.com/resources/ebook/big-book-data-engineering-2nd-edition
See all the product announcements from Data + AI Summit: https://www.databricks.com/events/dataaisummit-2025-announcements
FAQs
What is Databricks serverless and why should I use it?
Serverless compute eliminates the need to manage clusters yourself. Databricks handles scaling and resource allocation automatically, reducing operational overhead and letting you focus on data pipelines instead of infrastructure.
How much data can Databricks serverless process?
HP Inc. processes 8TB of granular website analytics data with hundreds of columns using Databricks serverless. The platform automatically scales to handle large volumes without requiring manual cluster tuning or management.
How does DLT help with data pipeline simplicity?
Databricks Lakeflow DLT provides a declarative, streaming-native approach to data ingestion and transformation. It simplifies pipeline logic and automatically handles incremental updates, error handling, and monitoring.
What's the cost impact of migrating to Databricks serverless?
HP Inc. saved money by eliminating the overhead of managing AWS-based Spark clusters while improving runtime performance. Serverless compute scales with your usage, avoiding the cost of provisioning for peak loads.
Full transcript
Thanks everyone for joining us uh for this session and thanks our speakers from uh valance solutions and today um and are going to talk about uh how to use datab bricks serverless to process uh clicker streams. So uh if you have been in marketing uh or um sort of uh website instrumentation business you know that it's important to process a lot of data very fast and they're going to talk about how data bricks has enabled them to process click click streams.
So with that I pass it on to them. Okay awesome everybody hear me? Okay. Good volume there. Um, I want to thank Data Bricks for letting us speak today and also our partners Hila Packard, their clients. Um, I'm I'm the founder of Zolan Solutions and u, uh,. We'll just take a couple minutes and introduce ourselves. Zen's been around for about 15 years or so. We specialize in marketing data um, analysis, full kind of fullervice marketing data analysis.
We've been working a lot with marketing data pipelines probably in the last decade or so. And so ranging anywhere from uh your in-house complex uh marketing data flows to real-time data flows. We kind of cover the gambit and um I personally have been working in clickstream now I think for about 20 years and um it's been a long ride and and so just probably about not too much you would throw at me from a clickstream perspective that we probably haven't seen or dealt with.
But Jason, you want to introduce yourself? Yeah. Hi everyone. Uh I am a recovering CISA admin who fell into digital marketing that fell into data and analytics in that order. Uh and I have a a great love and appreciation for uh marketing data and engineering around marketing data and representing marketing data in such a way that it's actionable and you can make decisions from it and uh have been working with data bricks for about two years now.
Excellent. Um just a little bit about our company all in solutions. Uh we are a consultancy. Those are some of our clients that we work with. We work with pretty big pretty big clients. Um we are not the consultants you hire if you want pretty powerpoints. We're actually the guys you hire if you want to get it done. And so a lot of what you're going to see here is a representation of what we do, which is get it done when it comes to large complex data sets.
Um, I think, um, you know, as we talk a little bit about this, I'm going to spend some time talking about what I mean by the word clickstream because it can mean a lot of different things. Some of you may even know it by different names. Um, it's uh, it's traditionally been a really complex set of data in the marketing data domain to be able to deal with and data bicks makes uh, a lot of that pain uh, be more manageable in some really unique ways.
Um we'll be talking a little bit about um some of the traditional challenges with cluster management. Um how serverless solves some of those problems. I hope what you walk away with though is an understanding that a lot of these large complex data sets whether they're exactly clickstream data sets or whether they're just a traditional customer event log can be managed in a more effective way. And what we found particularly is that serverless not only can be an effective way to do it at scale but also can be even cost performant when it comes right down to it.
So let's talk a little bit about what clickstream data is for a second. Um the easiest way to think about this is that this is all of the activity that happens in a digital context that gets recorded and streamed into some location so it can be analyzed later on. Um, sometimes it's called uh telemetry data. Um, although telemetry data typically implies devices that send data in about something, but normally when you're on a web browser or on a mobile device, you're tapping, you're clicking, you're scrolling, that's generating interactions which then can be taken in and used and analyzed.
And you might be asking yourselves, how is that even valuable? And the reality is is that a large part of the digital um value chains that have been built over the last two decades have all relied on some way or another on clickstream data. Whether it be the data that informs AB tests where somebody can go in and do two experiences and say what's the outcome we're trying to measure here. Being able to use clickstream tells us which of the outcomes are actually reached by either of the two designs. um just being able to analyze efficiency of how things go through a checkout process or how users are proceeding through an environment.
What are the key drop off points? All of that comes from what we call clickstream data. Um it basically transformed how businesses used it over the past couple of decades. And initially um people were so desperate for this information that they would literally go and harvest log files. any of you here old enough to remember going through your old server log files and trying to say who was visiting what page you know what's the page that gets the most uh traffic and uh good luck on trying to tie together an actual visitor with a log file because you have an IP address and we all know how uh persistent those are right so it moved very quickly from these stateless log files into vendor provided data which allowed us to be able to go in and very easily and seamlessly connect in the experiences to see that when we see a person coming in, we see them interacting with the pages in certain ways.
We see them uh actually moving through the experience in a way that's expected. We can see where they drop off or where the traffic stops and we can infer a lot about that. Um throughout my career I've worked really closely with other marketing team members and oftentimes we would always get paired up with the uh with the uh attitudinal research team where they would go and do surveys and things like that and uh it was always interesting to uh to work with the attitudinal team because they would ask these detailed questions of people, you know, did you go and do this while you were on the site?
What did you do in this particular experience? Did the site meet your needs? And we would very quickly uh they would very quickly learn that we could actually go back and validate whether people were telling the truth or not. The one thing you learn very quickly is that people behave very differently than what they say they do. And so this behavioral data becomes a rich set of uh set of indicators for us to be able to run our digital businesses.
Some of the challenges of clickstream and I'm going to get a real tactical on this here um in a few minutes but let's just talk about it at a high level. What are we dealing with here? Clickstream data is inherently unstructured. It rapidly changes. It has high granularity and it creates a lot of difficulties both from a compute perspective and how you store that much data. Um large data data um large data sets really complicate the retrieval process.
Good luck on indexing any of this because almost all the dimensions that you have in a clickstream data set are so highly cardinal that it almost always resists indexing. Like even if you just try to split everything apart into different dimension tables, your joins are going to be so expensive that it just makes it almost impossible to get anything out of a traditional database. That's actually a good segue into talking about why Clickstream almost evolved out of a completely different domain of providers instead of just being assumed into the into the BI systems.
I remember so many times talking with chief data officers and other other executives and their main their main contention was why don't we just take this and put it into a cube? This is ridiculous. Why do we need to have a Google Analytics or an Adobe Analytics or a or a core metrics out there? We just put it right into a cube. A little an aside on that one. So, uh I was employee 22 23 at Omnature which eventually became Adobe Analytics.
And one of the one of the entities that we often competed against was a company by the name of Core Metrics. CoreMetrics was known for being able to provide these really beautiful reports, but they had everything relationally built in the back end so that all of the data that would end up coming in would get organized into your traditional BI type of structure with fact and dimension tables. They did a really good job, but it collapsed under the weight of its own ability because when you have a customer like a Walmart that has so much data coming in, a relational database at that time just simply couldn't scale effectively in that.
So oftentimes we would actually beat them in most of the deals that we would do as Omnature competing against core metrics just on the basis of their infrastructure could not scale effectively. That's one of the reasons why this whole domain of clickstream data kind of evolved separate from the BI systems and became its own entity. So let's talk really really detailed for a second on volume and what the traditional problem of volume looks like. , would you mind switching over to a browser real quick and uh we're going to show you our client's web page here and um reloading the page.
I'm not seeing anything here. We're just still seeing this. Can you Oh, uh, hit alt tab. Maybe I'm seeing the browser here, but it's not sharing the browser, is it? No, it's fine. Go out of present mode. There we go. Yeah. Hit in the browser here. So, what we're going to do is reload the web page real quick. And I want you to look over here on the side. That's a little extension called Omnibug. And uh what ends up happening is when a page loads, you end up having a pixel call that ends up sending data out to a provider and all of these data points right here become fields.
Go ahead and scroll down on that one. They all become fields and each one of those hits becomes a row of data in your telemetry. Right? So again, you may see things like this and say, well, you know, just throw it into a into a traditional database. But what happens when your customers need to say who went to this page and then went to that page and then went to another page? Those of you who do database work know that's a self join on top of an already humongous table.
So when you're talking about 10, 15, 20 terabyte tables, that becomes almost an intractable problem, right? Let's go back over here. So volume is really a problem. Um, keep showing here. Keep going. Keep going. There we go. Okay, volume's a big problem and the way we solved it traditionally is that we just got bigger clusters, right? Which is obviously a fixed fixed cost problem. Like go to your IT team and see how well they're able to scale up their cluster within a six-month period.
You're lucky if you can even do that. So, we had long timelines, really hard to forecast needs, especially if you're in a domain that's seasonally sensitive like e-commerce. It's a real problem. Signal detection is is really challenging because what ends up happening is you have to know everything you want to measure up front. Collecting telemetry isn't just like gathering data in other sources. You have to know ahead of time all the different types of data that you want.
And it's not enough to go in and say that you just want to measure everything. In fact, one of the key ways we knew somebody didn't know what they were talking about is if they came to us and said, "Yeah, just measure everything on my website." because in most cases what that means is they're not really certain about what's even important within their web context. And so um being able to measure effectively you almost never know everything that's important up front.
So you constantly have a changing implementation as you try as you discover new things and you need to measure new things integrations with other data sets. I oftentimes call that the one ring problem. Those of you familiar with Lord of the Rings, you think you have Sauron's ring, the one ring to rule them all, and you don't because it's cookie data, and the cookie identifiers disappear. Now, nowadays, it's about once every one and a half to two months.
And so, what you're normally doing is having to connect into a graph to be able to get any sort of identity resolution. And so, that becomes a challenge. Um, so you're really relying on first party uh persistent storage or identity co-ops to be able to resolve that real-time analysis. Again, I'm I'm convinced this is one of the main selling points that most of the analytic vendors still actually promote, and that is that they can give real-time data during Black Friday.
If you try to con scale most compute systems up to be able to do that or even collect it, it becomes a really really challenging thing very quickly. And so real-time ability to do that about all you can do is get low latency compute and you know guess at it from a trade-off standpoint when you're really going in when you're really um pushed to be able to uh do it through a traditional BI system obviously quality and accuracy because everybody's business model changes about every six months in digital you're having to constantly change your implementation which means your data schema is constantly changing right so this hopefully gives you a sense of why clickstream data isn't just isn't just a a big data set that we're having to deal with, but it's a really complex data set that has a lot of nuance to it.
Um, so, um, I'll just give you a brief, uh, brief overview here. How are we doing with time? I don't want to steal your thunder. I think we're doing fine. Okay. So, um, our first Clickstream database at HP back in the early 2000s was a SQL server. It actually did surprisingly well for SQL Server, right in the early 2000s. And we lived with that for about five years. Um, we then had a reorgan in our IT organization where the IT team came back to us and said, "This is too expensive on SQL Server.
You need to move over to SAS and enterprise guide." Anybody here know what SAS or enterprise guide is? Okay, we got one person in the back, two people who are as old as me. That's awesome. So SAS was what we used to do before we had a IML. That's how we did our models back then, right? It's actually a pretty decent system. Come on to our SAS system. We've got it on a superdome computer. It's never going to fail. You'll get so much faster.
And it only took two weeks of us having the clickstream data on that, running just some basic queries for our reports to bring that sucker down. So, that was kind of bad. They moved us back over to SQL Server. And then after that, probably within about a two-year period, that's actually when and I first started working together, we um HP had acquired Vertica as part of an enterprise services deal. Vertica was a colmer data store which initially I think I was a little bit nervous about it because it felt a little improved but um our selection of Vertica for our on-prem data warehousing was more of an eat your own dog food initiative within Hula Packard but I was surprised I actually did a really good job and scaled very well as you might guess a colmer data store does really effectively with high cardinal data sets that are really complex but the other problem with a vertica is that Um uh let's see I moved over here.
The challenge is that um the Vertica cluster was so specialized that it was very proprietary. So being able to join any of the data you had to bring it into Vertica specific way. It was very rigid. Um in many cases too there was a lot of specialized knowledge within Vertica. I remember, you know, here we have Vertica as as an acquisition for Hula Packard and we couldn't get the time a day from many Vertica consultants to come and tell us how to configure it.
So, it was a real headache to be able to get something like that. Um and so that was basically you know some of the initiation and the challenges and what ended up happening is that over time because the clickstream data grows in a colmer data store and it wasn't maintained very well there was a lot of um lot of technical debt that accumulated because of the IT resources that were required because of course you'd never let a business team touch any touch a database and all in all um it became a very inflexible machine to do any sort of analysis.
Today the Vertica system which they're migrating off and moving on to data bricks is almost inherently always treated as a silo. You had to pull things out of it large data sets out and try to join them into other other systems and it was pretty um pretty abysmal as an experience. Um, obviously some of the reasons HP chose data bricks was the seamless scalability, the ability to handle data sets and the integrated environment that provided um them with the tools that were needed uh to be able to use clickstream with all of the other data sets that they had. , you want to talk a little bit about um Spark cluster management and complexity there?
Let's go back one slide just I want to kind of rein uh re reinforce the point um you know when we took this this workload and we took it from Vertica and started putting it on on data bricks you know we we adopted the medallion architecture which is the bronze silver gold you know bring in all your raw data which we're bringing in from Adobe Analytics uh and that raw data was so enormous uh you can think about all of the parameters that were being captured there on the page on that demo that we just did.
But we had uh just about 1,200 columns in the data that we were importing. So very very wide wide tables. And then a company like HP gets like hundreds of millions of visits in a in a day and a month and each one of those is is resulting at least one row if not multiple rows of all of those uh of all of that data. So just an enormous data set. And when we were working with Vertica, we quickly ran into situations where we could only parse uh a small part of that overall data at any one time.
And so all of the data scientists, data engineers got to be in the habit of really only uh being able to to model as much data as they could fit into the memory or into the combined uh memory side of the of the nodes, the Vertica nodes. that was very limiting and it really led to a lot of really suboptimal results and a lot of expensive uh hours in terms of coming up with results that when we moved to data bricks a lot of those disappeared but still coming into you know a spark environment you're you were still dealing with spark cluster uh management node node management so I want to ask I want to take a a quick break here and how many people here have managed their own compute clusters, spark clusters.
All right. How many how many of you enjoy that activity? That was no hands. That was no hands. Um so you know the complexity of managing your spark uh compute cluster you know is specifying the node size the type of node the uh size of the cluster whether you want special uh configuration options for spark how long you want it to run before it times out uh you know if you want autoscaling how does how do you want that to work do you want spot instances all of these factors go into uh evaluating and optimizing the the compute cluster that you want your job or your your analysis to run on.
And it really is more than a data engineering exercise. It's it's an IT exercise. And I think a lot of environments that we've seen that gets foisted either onto IT where they make hasty decisions about what the rest of the anal uh the data scientists and the data engineers should be working with, which is usually woefully undersized because they're looking at cost constraints. Or you have the data engineers that are specifying some ad hoc uh standards and maybe no standards at all and you have just kind of a a wild west of different configurations, different uh different clusters being used and uh you know costs in that kind of scenario are usually uh hard to contain in that regard.
So the answer that we ran into not only because we were trying to scale a very wide data set which required very masses massive amount of memory and compute. Uh we stumbled on to serverless which was something that was relatively new at the time. We uh went through some some growing pains with it, but ultimately, you know, especially now, it's so much easier to rely on serverless, especially for all of our jobs, but even for our analysis and some of our other use cases, uh to be dealing with trying to tune a Spark cluster for a specific uh uh job, uh and the the uh the dynamics of that job.
We probably spent uh early on we probably spent weeks of time trying to dial in an exact cluster that would complete a job with this very enormous wide data set. And even then it was maybe one out of 10 times it would fail. And we wouldn't really know why other than you know we would be going in trying to look at the uh fail onto disk in terms of uh some kind of uh memory situation which was being caused that caused us to uh to ultimately fail.
But once we made the move to serverless uh it was it was a night and day difference. It was we went from kind of being ad hoc IT to relying on tuning the jobs themselves uh and not the hardware in which those jobs were were running on. So what's the difference between serverless and classic compute? You know classic compute runs on your uh cloud resources. It uh is running in your account. It's running in your VPC. uh whereas serverless is is running in the datab bricks uh VPC and their cloud resources and they have their own means of securely compartmentaliz each and each one of those uh accounts uh so that you know you're what you would normally have in terms of security in in uh instilled via a VPC type of context you have that controlled via your uh your security constraints within your your data data bricks Uh and so additionally, you're not paying for your compute and your uh storage and everything that goes along with it.
You're just paying a DBU uh cost to data bricks and all of that compute infrastructure, all of the networking, most of your networking, all of your storage is is included in that one price. So you can you can you know kind of manage one one fee instead of uh three different fees or three different types of of uh uh costs associated with running your jobs. Let's see. Yeah. So key benefits of serverless I would say it it takes you away from being a systems administrator and it puts you back into a data engineering or a data science workload where you're looking at how do you optimize the processing that's going on in terms of the data that you're processing not so much how it's done and the scaling uh it just works.
It just uh I mean I think probably some folks are going to look at us and say okay well you guys are just shills for data bricks. uh we paid to come here ourselves and uh this is really a public service in terms of this is an amazing technology that once you try it you're not going to go back and you might have maybe one workload out of a hundred that ultimately requires very specific uh environments or maybe requires a GPU to run uh maybe it's uh something that's more on the data science side that is not directly supported in serverless today but outside of that you're not going kind of miss going and kind of tweaking and running your own uh compute clusters and uh uh doing all that tuning because uh it it just serverless just works. , you want to clear?
Oh, thank you. So the perfect pairing for serverless is is DT. uh because DT is is a declarative framework for how you want your data to be processed and then serverless is a declarative framework for how you want that uh to be run on what's the resources you want that to be run on. So it's a it's a marriage uh made in heaven in terms of using those two things together really make what used to be say two years ago uh a huge uh engineering lift and now it's something that uh you can deploy more and democratize more to your data scientists and your analysts to assist in that process of defining the types of transformations and the the output the data output you ult ultimately want to consume the Auto loader is also a great feature of DT which if you have uh textual um input files, CSV files uh Kafka uh streams uh just makes it drop deadad simple to just consume that into a streaming table and DT and serverless DT uh just I I mean this saves so much time just utilizing those technologies.
Now there are some limitations to the serverless. It's not all it's not all blue skies. uh you know you are limited to Python and SQL workloads. There's no Scala, there's no R, uh there's no uh JAR support or JAR libraries that you can load and run. It's all really Python and SQL. Additionally, on top of that, you're going to want to make sure that whatever Python you run is multi-thread uh safe. Uh so that means probably no pandas um or other uh singlethreaded uh Python modules. uh it just won't scale.
You can use it, it just won't scale. Uh and you're limited to a fairly vanilla but flexible Spark configuration because you don't have access to tweak that. But for uh in our experience, most of those workloads that we're dealing with, it's really a vast majority that don't need to go in and tweak those Spark configurations because before you would do that to get around the limitations and the the configurations that you would want to change to allow you to run, you know, have a more flexible runtime around those bigger memory or processing workloads.
Also, I'm going to call out Unity Catalog. If you aren't using Unity catalog for most of your data sources or writing back out to uh you're it's going to be a little bit a little bit harder to use serverless in those types of capacities. So use Unity catalog not only for serverless but for for other purposes to define your your sources and your especially your external sources and then it will just work. Uh other big one is uh observability.
A lot of people who are used to the old way of doing things will like to get into the Spark UI and kind of look through the logs, look at the spill, look at other factors in in terms of what did the Spark run look like. Uh with serverless, you're kind of limited to the views that they provide you uh either through the SQL warehouse or uh the notebook uh logs. But especially after the fact, after the serverless uh job has completed, you're not going to get access to any of the Spark specific logs that you might be uh used to seeing.
Uh I talked about this a little bit uh before in terms of you pay one cost. It is slightly more than what you would pay using non-serverless, but you got to remember it includes all the compute, all the storage, everything else. So, uh, net net you're paying a a lot less, uh, unless you want to supercharge something in terms of running it as as fast as possible. And in that case, you're getting a job that runs significantly faster, but only paying a little bit more to get to get it done. most of your workloads.
If you don't need it done, if you're not dealing with something that's uh say uh uh uh needs to be up up to the second, then you can run it on the standard mode and you'll be saving 20 30 40% off of your runtime compared to what uh what you would be paying if you were paying for your own infrastructure. So here's here's the uh here's the slide in terms of what our real world results were with the HP uh data set, the clickstream data set.
We went from having a custom cluster that ran for about 28 hours for a full refresh and we we took that down to almost half uh with serverless. And so that in itself was was big especially for a full refresh. Um you can see there that the comparison between standard and performance it's from a runtime perspective it's not that big and we could probably get this uh optimize a little bit more for performance mode if we wanted to if we were absolutely looking for the uh the quickest runtime that we could.
But you can see that even with standard serverless um you're going to you're going to get some savings in terms of runtime, but you're also going to get significant savings in terms of the overall cost to run that job. So if you need it done as as fast as possible, that's fine. you you pay a little bit of a premium on it, but still you're going to have a lower total cost of ownership in terms of you're not going to be spending hours and hours and hours trying to tweak that uh that cluster to be able to finish the huge workload that you're trying to run on it.
So, uh the ease of use in that regard is is still worth the uh the incremental cost. But again, stay in uh standard serverless mode. You're going to save a ton of money. It's going to run faster. uh you're not going to have to uh pour your heart and soul into tweaking the Spark clusters. Uh there's very little downside as long as your your profile kind of fits into what will run on serverless which is really you know SQL and and Python related.
How we doing on time? About three minutes. So I'll I'll jump to the conclusion here. Um, I would say try serverless uh immediately for new workloads as soon as you can. Most of them are just going to work. You're going to realize uh faster completion times and cheaper cheaper run times. uh you're more likely to have success when you're starting with a new job or a job that uh doesn't have a whole lot of legacy because you're probably going to run into into situations where there were prior decisions made about how that job was architected based on having a very specific uh Spark uh environment to run in.
Some of those will work still. Some of them you'll you'll need to do do some retooling or some rework on. But if you start with brand new jobs, brand new needs, uh then you can kind of see how how far you can get uh before you need to start maybe making uh uh constellations in terms of going towards maybe a hybrid environment where you run part of your your jobs in serverless and part of it with a defined workflow. I would say the other other thing too in terms of uh data science workloads today ML flow is not supported on serverless.
Uh GPU compute is not available in serverless. So really this is a a data engineering and s ML serving type of uh tool toolkit. Uh it's not great for those more ML uh engineering where you're training models uh or you need access to uh specialized hardware or specialized configurations. That's where it's not quite uh the right tool for the job today. That's on my wish list. is what I'm telling you. your own. That's that's excellent.
So, not just my wish list. So, um all right. So, that's that's our presentation. Um we'll we'll have some time for questions here, but please complete your surveys and uh thanks for coming. Appreciate it.
Learn more about the Databricks Data and AI platform.
The information provided herein is for general informational purposes only and may not reflect the most current product capabilities or configurations.