throttle
throttle copied to clipboard
Erlang/OTP application to rate limit resource access
Issue occurs when using throttle_mnesia driver for distributed rate-limit on two nodes: ``` (portal@portal-qa)27> throttle:check(order, {ip4_address,{127, 0, 0, 1}}). {limit_exceeded,0,-18221472} (portal@portal-qa)28> throttle:check(order, {ip4_address,{127, 0, 0, 1}}). {limit_exceeded,0,-18222295} (portal@portal-qa)29> throttle:check(order, {ip4_address,{127,...
each key has a specific node that manages the data
https://github.com/cabol/shards
http://concuerror.com/ To test if there are concurrency errors when accessing/resetting the counters. (specially when we add more drivers with less guarantees than ets).
if `throttle:setup` is called again with the same scope, a new ETS is created but the previous one (and the worker that clears it) still hang around. Either drop the...
Add automatic testing https://github.com/basho/basho_bench