A bounded token reserve refills over elapsed time and admits only work whose cost fits.

A token bucket smooths the request rate

A token bucket bounds admitted work while allowing accumulated credit to be spent in a burst. It does not automatically space requests evenly, guarantee completed throughput, or cap the number of operations still running. Those are separate scheduling and capacity questions. The bucket’s two parameters describe a budget, not a promise that the service can perform it. ...

December 1, 2027 · 5 min · XB Field Notes
A client checks a requested wait against its deadline and retry policy before scheduling another attempt.

Retry-After tells when to try again

Retry-After tells a client how long it ought to wait before a follow-up request. It is a scheduling signal, not proof that the next attempt will succeed or that replaying the original operation is safe. A client still needs a deadline, an attempt policy, and a decision about which operations it can retry. ...

May 4, 2027 · 7 min · XB Field Notes
Verified principals and network addresses divide requests into different quota groups.

Rate limiting needs a stable client identifier

A rate-limit key defines which requests share a budget. An account, API credential, address, tenant, and authenticated session are different identities, not interchangeable spellings of “client.” Choosing the wrong grouping can punish unrelated users or let one workload obtain fresh allowance simply by changing a field. ...

October 29, 2026 · 6 min · XB Field Notes
Callers share one admission budget whose comparison and update must happen together.

Rate limiting is a shared budget

A rate limit is a budget for admitted work, defined by its unit, identity, scope, and time rule. “Five requests” is incomplete without saying whose requests, across which endpoints and workers, during which interval, and what happens after exhaustion. A shared counter helps only when every relevant admission uses the same authoritative decision. ...

August 22, 2026 · 7 min · XB Field Notes