3 ms·
Not a clojure guy, but this throttler seems to be for single machine (Throttling not shared between servers). API Rate limiters should share global state using
by stuart_v 12y ago
Not a clojure guy, but this throttler seems to be for single machine (Throttling not shared between servers).
API Rate limiters should share global state using redis or something.
So perhaps, this is more for throttling functions
- eurleif 12y agoFor what it's worth, here's what I use for redis rate limiting: https://gist.github.com/anonymous/4dcb6892346ff17709fe https://gist.github.com/anonymous/4dcb6892346ff17709fe It's in Python, but the bulk of it is a redis Lua script.