Spark · medium · ~13 min
The weekly budget-allocation pipeline "runs on Spark": feature ETL over 800 GB, then an optimization step that solves a small constrained-allocation problem per city — 4,200 cities — then aggregation and writeback.
Total runtime has crept from 2.5 to 4 hours and the optimization step is the growing part. The team's proposals: double the cluster (40 → 80 executors), or move to a bigger driver instance "since the driver seems busy."
You pull the utilization data mid-run before approving either spend.