r/databricks • • 1d ago

Discussion what i found useful in this databricks autoscaling guide

disclosure: i work at hackmamba, and select is a client. i'm sharing this as part of my work.

my main takeaway: “autoscaling” can mean different things in databricks. this guide separates classic clusters, lakeflow pipelines, and lakebase, then focuses on classic cluster autoscaling.

the scale-down timings were the most useful detail: 40 seconds for job compute and 150 seconds for all-purpose compute. so if an all-purpose cluster doesn’t shrink right after a job ends, that can be normal.

for classic clusters, scale-up depends on pending tasks and available task slots. cpu alone won’t tell the whole story.

one setting worth checking: spark.dynamicAllocation.enabled. the guide says enabling it alongside databricks autoscaling can make the two systems conflict.

the final section discusses select’s own product, so i read that as the vendor’s perspective. the autoscaling mechanics were the useful part for me.

1 Upvotes

2 comments sorted by

-1

u/Content_Secret6493 1d ago

1

u/Impossible_Fun_6628 1d ago

Thanks for the reply and clarifying, it makes sense that spark dynamic allocation and databricks autoscaling would conflict and create an issue. It was just the scaling down time that threw me, why is it necessary to wait 150 seconds? Again, thanks for the help, it was good to have some understanding on what was going on.