Rate limiting library? Any suggestions?

So far I’ve found hammer and ex_rated.

Trying to limit the number of attempted login. I’m thinking of identifying user via combination of action (:login_attempt) and ip address.

Any opinions and/or thoughts on any library and experiences please let me know.

Thanks in advance!

Just for reference this dockyard blog post by chris walks through building a basic rate limiter.

Remember that ETS is single machine only, if you want to distribute you should check another options, like distributed cache, mnesia, phoenix pubsub and so…

Yes, use cases apply.