redis_rate VS goralim

Compare redis_rate vs goralim and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
redis_rate goralim
2 3
765 139
0.9% -
0.0 6.8
about 1 month ago 24 days ago
Go Go
BSD 2-clause "Simplified" License MIT License
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.

redis_rate

Posts with mentions or reviews of redis_rate. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-02.

goralim

Posts with mentions or reviews of goralim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-02.
  • my first 100 stars on the GitHub repo
    1 project | dev.to | 6 Apr 2024
    If you're someone who loves to contribute to open-source projects, you're more than welcome to contribute to my project goralim. If this story of mine gave you a little bit of motivation to work on that stupid idea you've had, go work on it. Build it for yourself. And I would appreciate some stars too on my project.
  • Goralim – A rate limiting package for Go to handle distributed workloads
    7 projects | news.ycombinator.com | 2 Apr 2024
    Nice project, but for other readers, please don't use this in production. There is almost no error handling whatsoever going on: for example, see https://github.com/0verread/goralim/blob/main/goralim.go#L36. What happens if the redis calls in this function fail? If the Get here https://github.com/0verread/goralim/blob/main/goralim.go#L58 fails, for example if your redis connection dies, the code will always return false.

    The code in the README will also result in a panic if the connection to the redis client fails.

    Consider using https://github.com/go-redis/redis_rate (which implements leaky bucket/GCRA) or https://github.com/ulule/limiter (which implements a much more basic rate limiting algorithm, but has good middleware support) instead.