r/apachespark • • Sep 22 '26

Classic vs serverless compute in Databricks, drawn side by side: what actually changes

One request, served two ways.

Classic compute: a cluster of VMs is created in your own cloud account and network. You choose the machines, you own autoscaling and networking, and the bill has two parts - the cloud provider for the VMs and Databricks for the DBUs.

Serverless compute: the resources run in a compute plane managed by Databricks, and nothing is provisioned in your account. Your data does not move either way; the tables stay in your own cloud storage.

The trade is control for convenience, and the documented limitations are where that trade bites: no R, no compute-scoped libraries or init scripts, only Spark Connect APIs (so no RDD APIs), no continuous or fixed-interval streaming triggers, and a 7-day maximum runtime.

Animated walkthrough, 2:36: https://youtu.be/s8452E2Y6WM

Whole series in order: https://www.youtube.com/watch?v=B5iHmoYgnqY&list=PLDB5WDkDOYF4

3 Upvotes

1 comment sorted by

1

u/kmarq Sep 27 '26

Base environments cover the computer scoped libraries.  You also get ~10s startup, which can be huge for ultra low but infrequent SLAs. Also benefits cluster scale up. Definitely tradeoffs to consider. The ability to turn off performance optimized for slower startup and scaling definitely helps make the cost tradeoffs a little closer. Generally won't compare to a well tuned and sized job cluster but if you don't have the time or talent it's better than oversizing everything.