external_service
external_service copied to clipboard
Configurable rate limit backend
is it a good idea?
I would just replace ex_rated with Hammer completely, as the latter supersedes it and has pluggable backends itself. To have a pluggable backend which itself has pluggable backends looks like an anti-pattern (a knob on a knob)
I'll have a look at hammer
and see if it might be a good replacement for ex_rated
. At first glance I worry that using hammer
would require the user to configure it in their app configuration, and I would prefer not to place that burden on the user. But I haven't looked into it very deeply yet, so I could be mistaken.
In any case, I wouldn't mind getting rid of the dependency on ex_rated
and either use hammer
(if it's a good fit) or possibly just roll my own rate-limiting implementation into external_service
.
@jvoegele first of all thanks for this great library!
Is there any news on adding support to Hammer
?