|
|
|
|
|
by jdwyah
3361 days ago
|
|
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? |
|