Skip to main content

Sponsored by: definity | How You Could Be Saving 50% of Your Spark Costs

Summary

  • Spark cost optimization: definity provides full-stack observability for Databricks environments, enabling organizations to identify and eliminate resource waste that drives hidden costs.
  • Job-level visibility: The platform unifies infrastructure performance, pipeline execution, and data behavior monitoring, surfacing optimization opportunities at granular detail.
  • Financial impact: Enterprise teams use definity to achieve millions in Spark cost savings while proactively ensuring SLAs, preventing incidents, and simplifying root cause analysis.

Sponsored by: definity | How You Could Be Saving 50% of Your Spark Costs

Watch: Sponsored by: definity | How You Could Be Saving 50% of Your Spark Costs
Talk by Roy Daniel, CEO & Co-Founder, definity (Sponsor Speaker)
Enterprise lakehouse platforms are rapidly scaling – and so are complexity and cost. After monitoring over 1B vCore-hours across Databricks and other Apache Spark™ environments, we consistently saw resource waste, preventable data incidents, and painful troubleshooting. Join this video to discover how definity’s unique full-stack observability provides job-level visibility in-motion, unifying infrastructure performance, pipeline execution, and data behavior, and see how enterprise teams use definity to easily optimize jobs and save millions – while proactively ensuring SLAs, preventing issues, and simplifying RCA.
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

Chapters

FAQs

How much waste exists in typical Spark environments?

After monitoring over one billion vCore-hours, definity consistently found resource waste, preventable data incidents, and painful troubleshooting across Databricks and other Spark environments.

How does full-stack observability identify optimization opportunities?

definity provides job-level visibility combining infrastructure metrics, pipeline execution details, and data behavior patterns. This unified view reveals specific jobs, stages, and operations wasting resources.

What operational benefits beyond cost savings does definity provide?

Organizations proactively detect issues before they affect SLAs, simplify root cause analysis for incidents, and reduce troubleshooting time by correlating infrastructure, pipeline, and data signals.

How significant are the savings definity helps organizations achieve?

Enterprise teams report millions in cost savings by optimizing jobs using definity insights. These savings come from eliminating inefficient jobs, right-sizing clusters, and improving pipeline performance.

Full transcript

0:00 Introduction and industry shifts

Hey everyone. Good afternoon. Thanks for coming. I know it's a 1:10 on a Thursday after a packed few days, so uh appreciate you being here. Um I'm the co-founder and CEO of Definity. Um what we really want to do today is explore a few of the big shifts that we are seeing in data engineering, how they affect what you do with Spark, some of the hidden costs that we're seeing um from monitoring over billion vehicle hours, and then let's talk about what can you do about it, and how Definity can potentially help you there.
So, let's just dive in. Um we're really seeing some major shifts in data engineering for the past couple of years. Number one, lakehouse is taking over as the dominant architecture, especially driven by uh hybrid query engines, open table formats, and really the um need to drive more and more um machine critical models, AI support, etc. Um we're seeing higher scale, more mission critical, heavier workloads, all require very strong infrastructure behind it.

0:42 Data engineering challenges

We're seeing strong pressures to drive optimizations, cost, FinOps. Macroeconomics, you know, affects all of us, and we know that we need to do more with what we have today. And lastly, we're really seeing a lot of fatigue from you all and teams like yours from alerts and more and more and more metadata. And we see the very strong and painful need to actually move to much more actionable way of doing uh uh you know, data processing um and overall data operations.
So, let's talk a little bit of what we're actually seeing within the lake of the some of those really painful challenges that we are seeing across teams. On the one hand, we see platform teams and teams that run infrastructure at scale handling significant amount of waste. We're seeing very inefficient pipelines. We're seeing democratization of data that actually enables a lot of new users to leverage the infrastructure, but that drives also maybe sub-optimal operations.

2:01 Identifying hidden costs

We're also seeing, you know, very strong effort invested in doing migrations, platform upgrade, validating code changes that drives things along and essentially delay a lot of those efforts and doesn't let you realize the benefits that you're looking to have. On the other hand, we're seeing the data engineering teams that are operating and building those pipelines continuously suffer from data incidents, pipeline incidents, um really coming from lack of visibility, late detections, and really missing any contextualization around what's going on, that then also affects their ability to understand, discover, explain what's going on with their data operation, and of course troubleshoot issues when they see them.
So, um overall, all of that is driving several key, you know, uh big costs that are part of way of doing, you know, operating a large-scale data operation, but on the other hand, really you know, some of those kind of costs that we can potentially avoid. Um let's talk about it. We are seeing around 50% waste across over-provisioned resource, inefficient runs, wasted retries. We're seeing all of that, you know, inside the infrastructure.
Typically, teams don't have the visibility to understand how the infrastructure operates logically across the pipelines. And even if you look at the cluster level, you often some masks a lot of those issues because again, you're looking at it at cluster, but you don't look at it at a job level. We're seeing an example of data skew. I'll get into that in when we do a quick demo later on, but just an example of how you sometimes, even if you look at a cluster level, you think, "Oh, my utilization is decent.
Oh, I'm actually leveraging or I'm seeing my cost." But you don't know how the underlying operation actually um is it efficient? Is it not? Can I optimize? How? We're also seeing a lot of data quality operation. Obviously, very, very required data reliability, especially now in the world of feature stores and ML and AI. Key. You need to have your plumbing in place in order to actually leverage new business cases. But, if you're running those data quality checks after the fact, you have additional pass-through on the data.
That's a lot of added compute that teams maybe don't think about it up front and then hit with that afterwards. Lastly, we are seeing quite a decent amount of incidents and degradations in performance that could have been avoided if they were validated before code or platform upgrades um or code changes. Um Teams are not looking to do that, but it's just very, very hard to validate those workloads, especially from a performance standpoint.
You can do some static code analysis. You can try to do it on a small-scale data, but actually validating workloads on real-life data in production is very, very hard. And we're seeing that again, coming back to bite the teams. So, how do you think about How do you approach a solution to those type of situations? Well, first of all, you need a full stack visibility into the pipelines. Not just data quality, not just cluster level infrastructural visibility.

5:44 The Definity solution

You need all the way from data, the software that generates and process this data, the pipelines themselves. You need the usage. You need the actual infrastructure utilization. You need the underlying cost mechanisms. And you need the context of all of that. All of that in a unified place in order to understand what's going on and connect the pieces. Otherwise, it's very disparate across different systems, different views that are not making any logical sense.
As we said earlier, you also want to move away from alerts and just having dashboards on dashboards on dashboards and email storms. And you want to move much more into actionability. Root cause analysis. A smart, intelligent way of solving and fixing issues, optimizing, not just telling you something is wrong and I don't know where it came from or how to, you know, go about it. And you also want to be proactive. You cannot sit back and get alerts after the fact and say, "Whoa, I found an issue with my cluster.
I found an issue with my data." You want to run in motion while things are happening, potentially before things or bad things are happening in order to be to be able to solve it and minimize the effects of the challenge that we just spoke about. So, Definity came out of our own collective, uh, myself and my co-founders, Ohad and, experiences running data teams at high scale. And the challenge that our teams faced, which were exactly that.
We built Definity to run in line inside the pipelines, not outside in, not reliant on history server, audit logs, or anything after the fact, not dependent on static code analysis, running inside the pipeline, in motion, actually inside the Spark driver across any Spark permutation in the lakehouse environment, whether it's on prem, hybrid, Databricks of course, any other cloud, and other query engines, for instance, DBT across any SQL data warehouse, and a few more that are coming up soon.
Um And we because we live within the pipeline, within the driver, we actually have full visibility of the full gamut as we saw earlier, from the data through the pipeline all the way down to the infrastructure. So, this gives us a lot of strength and power to allow the teams that we work with to one, optimize their pipelines' performance and cut platform costs all together. Number two, prevent incidents in the data, in the pipelines, in the infrastructure operation in real time, potentially before they happen.
If they do happen, allowing teams to troubleshoot issues literally in three clicks because you have the full context right in front of you. And then also, let's see. I think we lost the clicker. Okay. And then lastly, to actually accelerate upgrades, migration, um code changes, and de-risk them with seamless validation in CI on real data. The nice thing about us, we do all of that with an integration that less than less than 15 minutes with zero code changes.

9:03 Product demo and optimization

At single point across the entire platform, and from that point on, all of your pipelines are covered end-to-end in real time. Now, let's actually see how it works in action. So, as I mentioned, Affinity covers your entire data operation and pipelines end-to-end out of the box. All the way down to the transformation level, building dynamic real-time lineage of data and jobs all the way down to the query or transformation execution with hundreds of different metrics across data quality, pipeline health, infrastructure usage, out-of-the-box anomaly detection, alerts, and actual preemptions.
We also provide very deep cost and performance visibility. So, for instance, you see here, we are looking at the job-by-job level, not just cost allocation, which is a strong FinOps capability, but actual detection of utilization and waste, which gives you already out-of-the-box a heat map of where you should focus your efforts for optimization. Now, we not only do that, we actually go deeper. So, if we see here, we're going to go to a savings opportunity that we offer, and we'll see what we actually do on the job level.
We track utilization. This is an example of vCore optimization uh example. We see here a job that configured for 400 vCores actually has dynamic allocation. You see the gray line of actual vCores over time, but the utilization is the green bar, and you see here that there's only 19% utilization over time. Huge problem. Um we see there on the right that we track this behavior and profile this behavior not just in one run, but over time, which gives us a lot of power, this inside-out power, to actually offer a specific optimization for this specific job.
In this case, optimizing the level of V cores and you see here from down from 100 to 31 CPUs. Now, this is not only very very strong and applicable, but we are also detecting other inefficiencies in this case data skew. Very deep within Spark. Again, here we are showing an example of not only detecting that there was skew, but also what key and value are we looking at. So, again, very very deep analysis here, but all together, the key thing is one we offer, you know, an actual impact of those optimizations.
In this case, $55,000 just by the optimizing this one piece. And then an ability to actually in one click auto tune the job and realize those optimizations and savings. But you don't have to trust me. Let's look at one of the customers we work with, Nexon. Um, Nexon is a global advertising platform advertising technology platform connecting more than 2,700 advertisers with other 2,700 publishers um in a dynamic and adaptive way.

12:27 Customer success story

Data platform is the core of the business, really powering this entire technology. Um, petabyte scale very high scale Spark operation at the back end. Um, Nexon have been doing the data the strong data platform team have been doing optimization over a long period of time, especially on the cluster level. But, they had a big challenge. They needed to support continuous business growth with limited capacity on their platform.
On the other hand, they did not have visibility inside the jobs in order to pinpoint waste, pinpoint optimization opportunities and do that at high scale and the scale that they are working at. Uh Next in leveraged Definities cost assessment. It's an assessment that again you can install in 15 minutes on your own platform, whether it's on primal crowd. And within a week get those full insights out of the box. Um We We helped them pinpoint a specific heat map of troublesome jobs.
Where there is opportunity and where there's less opportunity. And actually identify 35% savings on their heaviest jobs across the platform. Um That includes both cost optimizations and of course performance optimization, optimizing run time and of course making sure that we can uphold SLAs and having the team focus on business value and less fire fighting. Um Dennis the leader of the data platform team and the engineering team is here actually with us today and I'm and I appreciate him being here with this week with us.
Um You know, overall I think a great story showcasing how in minimum amount of time you can get to those insights and start realizing value. So what can you do if you want to approach this and if you're you know, handling similar challenges next? Number one, try our free cost assessment. Again, it runs on your platform and within one week you will get insights that actually help you to realize quick value. It's completely free.

14:44 Next steps and conclusion

If you want a little bit of a deeper deep dive, please come visit us at our booth right there, 304, or book a demo personally with me. I will be happy to showcase all of that to you and kind of listen to your personalized needs and make sure that we can address those or at least offer some of our expertise there from years at Spark. Um I think they asked us to please share your feedback over the survey by the end of the uh by the end of the session.
Uh and again, appreciate everyone's time. Thank you for coming in today.

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.