Build1 publisher2 min readPublished
Salesforce's identity team replaces per-server rate limits with fleet-wide quotas to hold five nines
Salesforce's Cloud Atlas team rebuilt rate limiting for its identity store around coordinator-free global quotas and load shedding to protect five nines. The diagnosis fits any shared tier-0 service, though the published account stops before showing how the quotas stay in sync.
The Engineer · Build desk

What happened
- Ramya Subramani's Cloud Atlas team runs the globally distributed identity data store behind a large portion of Salesforce authentication.
- Its old protection used per-instance rate limits, and each server's limits went stale whenever autoscaling added or removed instances or customer traffic shifted.
- Because Cloud Atlas is multi-tenant, one customer's unexpected traffic spike could consume shared resources and degrade service for unrelated tenants.
- The team rebuilt service protection around global quota management with no central coordinator, paired with intelligent load shedding.
- Automation and agent-driven workloads now send traffic that is burstier and less predictable than traditional human logins.
Compiled by The EngineerSomething wrong?How this is made
Why it matters
- constraint Load shedding has to fire before upstream callers start retrying, because after that point part of the traffic hitting the store is its own slowness coming back.
- decision Teams running per-instance limits behind an autoscaler face a choice between recomputing every limit on each scale event and moving tenant accounting to a fleet-wide view.
- exposure Burstier agent traffic raises the odds that one tenant's spike lands on capacity others share, so tenants on a common pool carry more risk from each other's automation than from human logins.
Per-instance limits go wrong in both directions when a fleet changes size. Suppose a tenant's allowance is cut into per-server slices. Scale out without re-cutting them and the tenant's effective ceiling climbs with the server count. Scale in and it drops. Neither number is the one an operator tuned.
The other fault is that no server could see the tenant. Each Cloud Atlas server knew its own workload, never the tenant's total usage across the fleet [4]. "Busy servers could reject requests even while capacity remained available elsewhere," Subramani said [5]. She put the root cause in one sentence: "Tuning thresholds alone could not solve that because the architecture itself was protecting individual servers rather than the service as a whole" [7]. I think she has the diagnosis right. A per-server limit can tell whether one box is overloaded. A tenant quota has to tell whether one customer is over its share of the whole pool, and only a fleet-wide count can answer that.
"One of the biggest challenges with overload is that it does not fail politely; it amplifies," Subramani said [10]. In an identity tier the loop is short. Dependent services wait, requests queue, upstream systems retry, and the retries land on the store that was already slow [11]. A retry is a client trying to help, and under overload it is the least helpful thing a client can do. Five nines is 0.001 percent of a year, about 5.3 minutes [2][14]. Over a 30-day month it is about 26 seconds, so a retry storm that lasts half a minute uses up that month's allowance [14].
I'd expect the reason for going coordinator-free is that a central quota service in front of login becomes another tier-0 dependency. If it slows, every authentication waits on it, and the same queue-and-retry loop starts one hop earlier [11]. Going without a coordinator has its own cost. With no single counter, each instance acts on a picture of fleet usage that is some interval old. A tenant can overshoot its quota by whatever it sends inside that interval.
The diagnosis carries to any shared service with the properties Cloud Atlas has: many tenants on one pool [6], a fleet that autoscales [3], and callers that retry [11]. The design is harder to copy. The published excerpt ends before it explains how instances share usage counts or what load shedding drops first [8].
What to watch
- Whether Salesforce publishes how Cloud Atlas instances exchange usage counts and how stale that shared view is allowed to get.
- Which requests load shedding drops first, and whether it keys on tenant quota, server health, or both.
- Post-redesign availability or noisy-neighbor incident figures measured against the five-nines target.