goralim

A rate limiting package for Go to handle distributed workloads (by 0verread)

Goralim Alternatives

Similar projects and alternatives to goralim based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better goralim alternative or higher similarity.

goralim reviews and mentions

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.

Stats

Basic goralim repo stats
3
129
5.6
7 days ago

0verread/goralim is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of goralim is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com