How we raised Databricks cluster rate limits by 7.5×
Databricks improved cluster provisioning by replacing fixed request-rate limits with adaptive concurrency controls, reducing manual tuning and better matching capacity to long-running workloads.
The Databricks Compute Platform team manages cloud infrastructure to provision clusters for customer workloads across AWS, Azure, and Google Cloud. Historically, fixed request-rate limits protected the system, but these proved difficult to tune under varying load and dependency failures. Conservative limits often rejected requests despite available capacity, while slowdowns in services or cloud providers still accepted requests, risking overload. Engineers manually adjusted limits during incidents, adding operational overhead.
Fixed request-rate limits cap how many API calls can enter the system per time window, which works well when each request’s workload and duration are predictable. However, cluster creation involves asynchronous workflows that may provision many virtual machines or take minutes to complete, making duration and capacity highly variable. A fixed limit cannot account for these differences, leading to either underutilized capacity or overload during slowdowns.
Adaptive concurrency limits track active workflows still provisioning infrastructure, allowing more work to start when capacity is available and slowing intake when the system struggles. This approach prevents retry storms, where retries from failed calls overwhelm struggling dependencies, by limiting the number of concurrent provisioning operations. A fixed API request-rate ceiling remains as a final safeguard against exceptionally high incoming traffic.
In Databricks classic compute, each active cluster-creation workflow occupies a slot until completion, including background tasks after the API returns. The number of slots adjusts dynamically based on system health, ensuring customer workloads can run at full throttle when capacity allows while easing off during degradation. This method reduces manual tuning and better aligns provisioning capacity with real-time conditions.