Data Engineering · 3 min read
Databricks' Adaptive Admission Control lifts tenant availability to 99.79%
Databricks reports Adaptive Admission Control kept non-offending tenant availability at 99.79% and p90 latency at 52 ms during overload, versus 91.43% and 327 ms before deployment.
Key takeaways
- Non-offending tenant availability improved from 91.43% to 99.79% in a comparable overload incident after AAC deployment.
- Non-offending p90 served latency fell from 327 ms to 52 ms.
- AAC raised one service's concurrency limit from roughly 100 to 750 requests per pod during a traffic spike.
- AAC is default-on for JVM services and newly extended to Rust, Go, and Python services.

99.79% availability versus 91.43% in a comparable production overload incident. That is the headline figure Databricks reports for Adaptive Admission Control (AAC), an in-process overload-protection mechanism now enabled by default across its JVM services and recently extended to Rust, Go, and Python. Non-offending tenant p90 served latency fell from 327 ms to 52 ms in the same before-and-after comparison. Authors Jiaying Wang, Gaurav Nanda, and Darci Peoples disclosed the numbers in an engineering post on operating shared multi-tenant infrastructure without fleet isolation.
Why static rate limits fail here
Databricks runs hundreds of microservices serving thousands of tenants on shared infrastructure, with a single request often traversing multiple service boundaries. The company already operates distributed rate limiting for ingress and service-to-service traffic, but the authors identify two structural weaknesses of static limits. First, limits count requests while load depends on what requests do: one expensive query can consume the CPU and memory of many cheap metadata lookups. Second, static limits assume fixed capacity, while garbage collection pauses, CPU throttling, or slow dependencies can shrink what a replica handles at any moment.
What does AAC change?
AAC sits in the inbound RPC request path of Databricks' unified RPC framework and decides per request whether to admit, queue, or reject it, with no service-specific configuration. Four components implement it:
- Hiccup Sampler — a background thread measuring JVM scheduling delays every few milliseconds, feeding a control loop that raises or lowers the concurrency limit.
- Admission Controller — a semaphore-like component enforcing that dynamic limit.
- Load Shedding Controller — a fair queue that weights queued requests by the tenant's recent load, admitted work, and traffic priority; requests waiting past a timeout are rejected, with CoDel-style shortening when the queue drains slowly.
- Request Scoped Executor (RSE) — a serial per-request executor multiplexed over an unbounded cached thread pool, keeping thread usage tied to the concurrency limit.
Fairness identity is currently the combination of RPC method and tenant ID, extensible without algorithm changes. The design is work-conserving: healthy servers do not throttle even when some tenants consume more resources. The authors credit LinkedIn's Hodor for JVM scheduling-delay signals, Netflix's concurrency-limits, Amazon's multi-tenant fairness work, WeChat's DAGOR, Meta's Fail at Scale, and note Uber's Cinnamon independently arrived at a similar architecture.
What did production show?
Two incidents on the same early-request-path service, both driven by excess traffic from a single tenant, provide the before-and-after comparison. Without AAC, that load degraded availability and latency for all tenants. With AAC, rejections concentrated on the offending tenant.
A second case demonstrates the opposite direction. A traffic surge against a single API endpoint hit a service with remaining capacity; healthy hiccup signals let AAC raise maximum concurrency from roughly 100 to 750 requests per pod, sustaining more than 300 active requests that the static default would have rejected. AAC expands concurrency when capacity exists, not only contracting under stress.
The threading model carries one caveat worth noting. RSE isolation is a contract with the application, not a runtime restriction: handlers that spawn their own parallel thread pools run those threads outside the concurrency limit, and the service remains responsible for sizing them.
What should data teams take from this?
Teams operating shared multi-tenant services on the JVM should treat the reported numbers as evidence that request-counting limits are the wrong control variable. Per-tenant rate limits protect ingress; they do not protect a replica mid-garbage-collection pause. The relevant signal is in-process health, and the relevant enforcement point is the RPC framework, where admission control can be deployed once rather than rebuilt per service. AAC is not open source, but the design — hiccup sampling, adaptive semaphore, weighted fair queue, per-request serial executors — is described in enough detail to benchmark against. Comparable open implementations exist in Netflix's concurrency-limits and Uber's Cinnamon. Teams running internal RPC layers should measure whether thread-pool exhaustion, which Databricks cites as a common pre-AAC overload cause, appears in their own incident postmortems.
linkedin.com (Original)
More from Marcus Bennett
Show full bio
News editor covering people, launches and day-to-day practice in Analytics Digest is a professional daily at Analytics Digest.
78 articles