hammer
An Elixir rate-limiter with pluggable backends (by ExHammer)
ex2ms
:ets.fun2ms for Elixir, translate functions to match specifications (by ericmj)
Our great sponsors
hammer | ex2ms | |
---|---|---|
2 | 1 | |
697 | 184 | |
3.2% | - | |
7.0 | 6.1 | |
9 days ago | 2 months ago | |
Elixir | Elixir | |
MIT License | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hammer
Posts with mentions or reviews of hammer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-04-18.
-
Implementing Natural Conversational Agents with Elixir
The scaling story in Elixir is so nice, I just implemented eventual consistency for calculating average ratings on a Class/Instructor level and it was 20 lines of code in a GenServer that can be tested and is super clear how it works. I'm not even sure how you'd do something like this in Javascript or Python but it would probably involve extra infrastructure that is another moving piece to deploy, manage and can cause failures. The same is true with rate limiting and something like Hammer (https://github.com/ExHammer/hammer).
-
Rate Limits Phoenix
For the rate limits, we will use the following library https://github.com/ExHammer/hammer
ex2ms
Posts with mentions or reviews of ex2ms.
We have used some of these posts to build our list of alternatives
and similar projects.
-
TIL : "select" queries with ETS
We can advantageously use the package Ex2ms to rewrite this into a function form with Ex2ms.fun. It is more readable, but also allows you to use variables in the scope. Add the package to the MixProject.
What are some alternatives?
When comparing hammer and ex2ms you can also consider the following projects:
ex_rated - ExRated, the Elixir OTP GenServer with the naughty name that allows you to rate-limit calls to any service that requires it.
keys1value - Erlang set associative map for key lists
huex - Elixir client for Philips Hue connected light bulbs
dye - Dyeing your terminal!
porcelain - Work with external processes like a boss
address_us - US Address Parsing for Elixir.
Countries - Collection of Country Information for Elixir.
exsync - Yet another elixir reloader.
netrc - Reads netrc files implemented in Elixir
darksky-elixir - Dark Sky API wrapper in Elixir.
pact - Better dependency injection in Elixir
funnel - Streaming Elixir API built upon ElasticSearch's percolation.