Yeedu Hits $0.52/TB in TPC-DS Benchmark
Yeedu
HomeCase StudiesHow a Leading India E-commerce Company Cut Databricks Costs by 65%
Customer Success Story

How a Leading India E-commerce Company Cut Databricks Costs by 65%

65% cheaper, 50% faster, same notebooks. More savings on top of an already-rightsized Azure Databricks setup.

Industry

E-commerce

Cloud

Azure

Workloads

Multi-domain ETL (46 Jobs Across Two Domains), Notebooks, Airflow DAGs

65%

Lower Cost vs Databricks

50%

Faster Runtimes

100%

Notebooks Reused As-Is

How a Leading India E-commerce Company Cut Databricks Costs by 65%

At a Glance

A leading India e-commerce company runs its ETL on Yeedu at 65% lower cloud cost and with runtimes about 50% faster than on Azure Databricks. The Databricks baseline was already tuned, on AMD instances with rightsized clusters, so these savings came on top of the usual optimizations. Every Databricks notebook came across as-is, and scheduled jobs now run as Airflow DAGs.

On Azure Databricks On Yeedu
Cloud Azure Azure
Cluster tuning AMD instances, rightsized clusters Yeedu Turbo engine
Jobs selected for Yeedu 46 across commerce and financial-services domains 12 commerce jobs live in production first
Notebooks Databricks notebooks Same notebooks, reused as-is
Scheduled jobs Databricks Jobs Airflow DAGs
Total runtime, 12 production jobs 495 min 263 min (about 47% less)
Cloud cost, 11 jobs with both figures ₹282.88 ₹97.20 (65.6% lower)
Annualized cost, high-frequency batch $172.5K $58.5K (66% lower, $114K less a year)

The Challenge: Finding Savings After Rightsizing

Rightsizing is the standard first move on a Databricks bill, and this team had already made it. Its ETL ran on AMD-based Azure VMs, with clusters sized to the work they did.

Once that's done, the usual levers are spent. Smaller clusters start to miss their windows, cheaper instance families are already in use, and further tuning returns less each round. The cost that's left sits in two places rightsizing can't reach: how much work the engine gets out of each core, and how the platform bills for the cores it uses.

The footprint was large and varied. Data marts, order processing, returns, loyalty reporting and shipping jobs ran as Databricks notebooks and scheduled jobs, some hourly, some near real time and some at end of day. Rewriting them across several business domains would cost more engineering time than the savings were worth.

46 Jobs Across Two Domains, Twelve Compared Side by Side

The company selected 46 jobs to run on Yeedu: 29 from the commerce domain, including loyalty and data-mart jobs, and 17 from the financial-services domain. Twelve commerce jobs went live in production on Yeedu first, and a dry run of one financial-services job was completed alongside them.

These are the 12 production jobs, run on both platforms, with Azure cloud cost in rupees. Neither column includes license costs: the Databricks figures leave out DBU charges, and the Yeedu figures leave out Yeedu's fixed platform cost.

Job Databricks time Databricks cost (₹) Yeedu time Yeedu cost (₹)
Customer data mart 59m 52s 20.06 8m 25s 2.47
Order extract 7m 12s 4.93 1m 39s 0.34
Returns and reversals 1h 42m 4s 34.68 15m 11s 4.73
Order reversals 16m 32s 5.44 2m 6s 0.60
Loyalty daily reports 3h 22m 33s 93.33 1h 8m 14s 21.17
Revenue report 25m 44s 8.50 3m 9s 0.94
Shipping details 11m 3s 3.74 1m 29s not recorded
Data mart, end of day 31m 29s 15.81 24m 38s 7.48
Order processing 13m 20s 20.63 36m 12s 22.44
Data mart, near real time 2m 7s 14.28 22m 50s 6.86
Daily order update 10m 5s 55.53 23m 16s 13.03
Data mart, hourly update 12m 52s 9.69 55m 27s 17.14

What the Table Shows

The first seven jobs ran 3 to 8 times faster on Yeedu. The customer data mart dropped from almost an hour to 8 minutes, and returns and reversals from 1h 42m to 15 minutes.

The last five took longer on Yeedu, and two of them, order processing and the hourly data mart, cost more. The other three still cost less despite the longer runs. Added up, the twelve jobs took 495 minutes on Databricks and 263 on Yeedu, and the eleven with both cost figures came to ₹282.88 against ₹97.20. Tuning was still under way when these figures were recorded.

How Yeedu Went Past an Already-Tuned Baseline

Yeedu cut cost and runtime by changing the engine underneath the ETL, leaving the code above it alone. Even against the rightsized Databricks setup, the Turbo engine delivered lower cost and faster runtimes at the same time.

A Faster Engine per Core

Yeedu's Turbo engine is a C++ execution layer that keeps Spark compatibility. It runs vectorized, uses the SIMD instructions in modern CPUs, keeps hot data in L2 and L3 cache and rewrites query plans before execution. Yeedu reports 4–10× faster execution on CPU-bound stages such as joins, aggregations and multi-stage transforms, which make up a large share of typical ETL. Multi-threaded execution keeps every core busy on the I/O-heavy stages too, and Smart Scheduling, which Yeedu reports at 2–4× on I/O-bound work, fills CPU time that would otherwise sit idle during reads and writes.

A faster engine on the same hardware finishes sooner, and a job that finishes sooner holds its cluster for less time. That's how runtime and cost fell together for most of these jobs.

Fixed Pricing

Yeedu bills a fixed license with unlimited usage, with no per-core, per-hour or per-job charge. On Databricks, every DBU a job consumes is billed on top of the Azure VMs underneath. The table above leaves DBUs out, so the real gap on each Databricks run is wider than the cloud-cost column shows.

Notebooks As-Is, Jobs as Airflow DAGs

The company's Databricks notebooks run on Yeedu unchanged. Yeedu notebooks support Python, PySpark, SQL and Pandas, so the logic, the cell structure and the team's working habits all carried over.

Diagram of how the e-commerce ETL was onboarded. On Azure Databricks: Databricks notebooks, Databricks Jobs for schedules and dependencies, rightsized AMD-based Azure VMs. The migration utility checks every permission a job needs, flags Databricks-only calls such as DeltaTable.forName, sends a first MERGE or OVERWRITE to a _copy table, and handles about 90% of scenarios. On Yeedu: the same notebooks run as-is, schedules and dependencies run as Airflow DAGs, and the Turbo engine runs underneath. Two settings are shown: spark.yeedu.turbo.use.trycast and spark.yeedu.debug.trace.writetables.
The same notebooks run on Yeedu; the migration utility checks access, flags Databricks-only calls and validates new writes on copy tables first.

Scheduled jobs were re-expressed as Airflow DAGs. The schedule and the dependencies between steps, which used to live in Databricks Jobs, now live in Airflow, which Yeedu integrates with directly. That leaves orchestration in a tool the team owns and can extend, and it keeps the job code itself untouched.

What It Took to Onboard the Jobs

Onboarding started slower than planned, and the issues behind that are the ones any team running Databricks code on open-source Spark should plan for.

Access Came First

Most of the early delay was access, not code: storage account permissions, Hive metastore tables and catalog privileges each had to be granted before a job could run. The fix was to copy Hive metastore tables into Unity Catalog first, collect the catalog metadata with a user who could see every table in the domain, and have the migration utility check every permission a job needed before onboarding it. For views built on other views across several catalogs, the utility repeats that check until every dependency is covered.

Delta Lake Behaves Differently Outside Databricks

A few edge cases behave differently in open-source Delta Lake, which Yeedu uses, than on Databricks:

  • Empty-string casts. CAST('' AS BIGINT) returns NULL on Databricks and raises an error in open-source Delta, which broke jobs with MERGE statements. Setting spark.yeedu.turbo.use.trycast = true handles it.
  • Table lookups by name. DeltaTable.forName calls were switched to DeltaTable.forPath at first, and later to YeeduDeltaTable.forName.
  • Databricks-only functions. A few Databricks built-in functions aren't available in open-source Spark. The migration utility logs these so each one is checked before the job runs.

Validating Writes on Copies

When a job uses a new pattern for the first time, especially a MERGE or OVERWRITE, its first run writes to a _copy of the target table. Once that output checks out, the job runs against the real table. Setting spark.yeedu.debug.trace.writetables to true makes a job fail if it tries one of those writes against anything but a copy.

One lesson came from orchestration rather than Spark. A misconfigured Airflow DAG triggered a backfill, ran one job several times and produced duplicate output files. It's worth checking backfill settings on every DAG before its first scheduled run.

With those cases built in, the migration utility handles about 90% of the scenarios seen so far, and new outliers are added to it as they turn up.

The Results

The company's production ETL runs about 47% faster and at 65.6% lower cloud cost than it did on an already-rightsized Azure Databricks setup.

  • 65% lower cloud cost, ₹282.88 down to ₹97.20 across eleven production jobs, before counting DBUs
  • About 50% faster: 495 minutes of runtime down to 263 across twelve jobs
  • $114K a year saving (annualized) on high-frequency batch: $172.5K down to $58.5K
  • 100% of notebooks reused as-is, with jobs running as Airflow DAGs
  • 46 jobs selected across commerce and financial-services domains

Why did a tuned baseline still have 65% to give? Rightsizing and engine efficiency are separate levers. Rightsizing matches cluster size to the work; it doesn't change how much work each core does per hour or how that hour is billed. Yeedu changed both of those. Its general guidance is up to 60% lower compute cost from the Turbo engine. This company's result sits a little above that, and five of its twelve jobs ran slower, which is why any other estate should be measured job by job.

Conclusion

Rightsizing is often treated as the last word on Databricks cost, and this company found there was a lot of room left after it. Most of its jobs ran several times faster on Yeedu, the totals came out 65% cheaper and about 50% faster, and the jobs that didn't improve yet are visible in the same table.

  • 65% lower cloud cost than an already-rightsized Azure Databricks setup
  • About 50% less total runtime across twelve production jobs
  • $172.5K down to $58.5K a year (annualized) for high-frequency batch
  • Every notebook reused as-is, scheduled jobs running as Airflow DAGs
  • Access checks, Delta edge cases and copy-table validation built into the migration utility

To see what your own tuned Databricks estate has left to give, write to sales@yeedu.com.

Frequently Asked Questions

How did an e-commerce company cut its Azure Databricks costs by 65%?

It ran its ETL on Yeedu, whose Turbo engine finished most jobs several times faster on the same Azure cloud. Across eleven production jobs, cloud cost fell from ₹282.88 to ₹97.20, and that's before counting the DBU charges Databricks adds on top.

Can Yeedu save money if Databricks clusters are already rightsized?

Yes. Rightsizing matches cluster size to the work, while Yeedu changes how much work each core does and how compute is billed. This company was already on AMD instances with rightsized clusters and still cut cloud cost by 65%.

Was every job faster on Yeedu?

No. Seven of the twelve production jobs ran 3 to 8 times faster, and five took longer. Total runtime still fell from 495 minutes to 263, and tuning was still under way when the figures were recorded.

Do Databricks notebooks run on Yeedu without changes?

In this deployment, yes: every notebook was reused as-is. Yeedu notebooks support Python, PySpark, SQL and Pandas. A few Databricks-specific calls, such as DeltaTable.forName and some built-in functions, needed handling, and the migration utility flags them.

What breaks when Databricks Delta code runs on open-source Delta Lake?

The common cases here were CAST('' AS BIGINT), which returns NULL on Databricks but errors in open-source Delta inside MERGE, plus DeltaTable.forName and a few Databricks-only functions. Yeedu handles the cast with spark.yeedu.turbo.use.trycast = true and the lookup with YeeduDeltaTable.forName.

How are Databricks jobs orchestrated on Yeedu?

This company re-expressed its scheduled Databricks jobs as Airflow DAGs. Yeedu integrates with Airflow and Prefect, so schedules and dependencies live in the orchestrator while the job code stays the same.

How is Yeedu priced?

Yeedu uses fixed pricing with unlimited usage: no per-core, per-hour or per-job charge. Plans start at $2,000 per month.

Keep a copy of this case study

Get the PDF by email, with the numbers, the setup and the code changes in one file.

Join our Insider Circle

Get exclusive content crafted for engineers, architects, and data leaders building the next generation of platforms.

No spam. Just high-value intel.