News for hackers. Stuff that matters.
Re:An Interactive Guide to Rate Limiting by jsw on Friday June 06, 2025 @11:48AM (#44202040)
I’ve found the AIMD algo (additive increase, multiplicative decrease) paired with a token bucket gives a nice way to have a distributed set of processes adapt to backend capacity without centralized state.

Also found that AIMD is better than a circuit breaker in a lot of circumstances too.

Golang lib of the above https://github.com/webriots/rate

There are no comments on this comment yet.