News for hackers. Stuff that matters.
Re:An Alternative Approach to Rate Limiting by jdwyah on Thursday April 13, 2017 @05:43AM (#14105450)
fwiw TokenBuckets are very happy to separate "burst" from "refill rate". ie It's easy to give each client 10 tokens, but then have their bucket refill at 60/minute.

See https://www.ratelim.it/documentation/safety for how to configure a limit with "burst" in RateLim.it

Queueing sounds nice, but the web is synchronous. If somebody crushes you do you really want to queue them and then process the reqs 5 min later? After the connection has already terminated?

There are no comments on this comment yet.