Home / Companies / Onehouse / Blog / Post Details
Content Deep Dive

Databricks Cost Optimization: Find Your Wasted Spark Compute

Blog post from Onehouse

Post Details
Company
Date Published
Author
-
Word Count
3,125
Company Posts That Month
7
Language
English
Hacker News Points
-
Post removed?
No
Summary

Spark cost optimization is framed as an engineering process focused on reducing wasted executor-seconds, the underlying unit that drives Databricks DBU, EMR, and other Spark infrastructure costs. The discussion identifies common sources of waste—over-provisioned or idle executors, dynamic-allocation scale-down failures and churn, stragglers caused by skew or slow nodes, memory spill, garbage-collection overhead, speculative duplicate tasks, and retries or stage failures—and explains how to detect them through Spark UI metrics such as task time versus executor uptime, task-duration distributions, shuffle sizes, spill columns, GC time, and failed-task records. It recommends right-sizing clusters around sustained rather than peak parallelism, configuring dynamic-allocation timeouts, addressing skew with AQE or repartitioning, improving memory and partition settings, and fixing failure causes instead of merely increasing retry limits. A free spark-analyzer CLI is presented as a way to evaluate applications from a Spark History Server, rank jobs by compute-waste percentage, and validate improvements before translating saved executor-seconds into organization-specific monetary savings. The piece also argues that faster execution reduces bills directly under hourly billing models, while comparing Databricks Photon, EMR, and Onehouse’s Quanton platform using published pricing and benchmark claims.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Serverless 2 825 261 105 -21%
AI Agents 1 7,270 1,521 271 -3%
Kubernetes 1 2,822 417 118 +27%
Real-time 1 6,603 1,516 253 +2%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.