Kendrick Horeftis
SELVRAug 2025 — Feb 2026

Cutting $480K of Annual Cost from a Live Commerce Platform

The client was a PE-backed live commerce business running a 15K-tenant platform on a data operation that had served the growth phase well enough. But revenue had started declining while compute kept climbing, daily pipelines were succeeding 65% of the time, and the data team was spending the morning triaging broken reporting instead of building. I led a forensic rescue that collapsed 430 Airflow DAGs to 12 through a YAML-driven factory pattern, modernized the platform from daily batch to hourly CDC, and pulled $480K of annual cost out of the structure.

Stage
PE-backed live commerce platform
Scale
200 employees, ~$200M revenue, 15K-tenant platform
Challenge
An abandoned data operation with broken pipelines, runaway compute, and daily operational triage
Role
Principal Data Engineer / Solutions Architect
Stakes
Stop the cost climb before it caught the falling revenue line, on a leadership-mandated three-month clock
SnowflakeRedshiftAirflowdbtTerraformGitHub Actions
$480K
Annual Cost Eliminated
430 → 12
Pipelines Consolidated
65% → 99%+
Pipeline Success Rate
20+ hr → 90 min
Pipeline Runtime
01

The Problem

The client's revenue line was declining while the platform's compute spend was still climbing, and the spread between the two was getting visible to leadership. The platform served 15K tenants, but the data operation supporting it had been left to drift between previous engagements, and the gap between what the platform was costing and what it was producing had become structural.

  • Daily pipeline success rate had collapsed to 65%, meaning one in three days the operations team woke up to broken reporting and manual triage
  • Compute spend was tracking workload that had grown organically with no consolidation discipline, with 430 Airflow DAGs in production where the actual logic could be expressed in a fraction of that count
  • Total pipeline runtime had stretched past 20 hours on a daily batch cadence, leaving the platform with stale data through most of the business day
  • Leadership wanted the work done in three months. The honest scope put it at six

The decision was not whether to rescue the platform. It was whether the rescue could move fast enough to matter to the cost line before revenue closed the gap on its own.

02

The Approach

The first move was forensic, not architectural. Mapping where the compute was actually going made it clear that the 430 DAGs were doing the work of about a dozen, with the rest being copy-paste variants and abandoned experiments that nobody had retired.

  • Built a YAML-driven pipeline factory that collapsed 430 Airflow DAGs to 12, replacing per-tenant DAG sprawl with parameterized pipelines that scaled across the full 15K-tenant footprint
  • Migrated the 15K-tenant platform from Redshift to Snowflake with hourly CDC ingestion, replacing daily batch with near-real-time freshness and compressing total pipeline runtime from 20+ hours to 90 minutes
  • Introduced dbt as the modeling layer, replacing brittle hand-maintained ETL with versioned, testable transformations the data team could iterate on without breaking the pipeline graph
  • Sequenced the rollout so the cost takeout showed up in the monthly compute numbers before the full migration was done, prioritizing the YAML factory and the DAG consolidation first because that was where the cost was concentrated

The pushback was on the clock, not the plan. Leadership wanted the work in three months. I negotiated to six, which is what the scope honestly required to hit production safely on a platform that was already running, and the cost takeout was structured to start landing inside that window so leadership could see the numbers move before the full cutover.

03

The Impact

The DAG consolidation and the Redshift-to-Snowflake migration together pulled $480K of annual cost out of the structure, with $40K every month in compute savings tracking actual workload instead of provisioned capacity.

  • $40K/month in compute savings from the YAML factory pattern and the Redshift-to-Snowflake migration, tracking workload instead of fixed provisioning
  • Daily pipeline success rate moved from 65% to 99%+, ending the morning triage cycle and giving the operations team back the start of their day
  • Total pipeline runtime cut from 20+ hours to 90 minutes through dbt and CDC ingestion, turning a problem that consumed the data team's day into a background process
  • 430 Airflow DAGs collapsed to 12, with the YAML factory pattern carrying the full 15K-tenant footprint on a fraction of the operational surface area

The faster the cost takeout showed up, the more room leadership had to think about the longer arc instead of the cost line. By the time the engagement closed, the platform was producing more value at a lower cost than it had at any point in the prior cycle.

04

The Lesson

Process rescue is forensic accounting before it is engineering.

  • Most of the cost in an abandoned data environment is in proliferation, not architecture. 430 DAGs collapsing to 12 is not a clever framework, it is a refusal to keep paying for code that nobody has read in two years
  • When leadership asks for three months on a six-month problem, the right move is to negotiate the timeline and front-load the cost takeout. The credibility comes from the dollars showing up in the monthly numbers, not from a heroic delivery date
  • Cost optimization at a PE-backed company facing declining revenue is not just a finance problem. It is a runway problem, and every month costs climb into a declining revenue line is a month of strategic options the company loses