Limiter VS goralim

Compare Limiter vs goralim and see what are their differences.

Limiter

Dead simple rate limit middleware for Go. (by ulule)

goralim

A rate limiting package for Go to handle distributed workloads (by 0verread)
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
Limiter goralim
2 3
1,957 129
1.6% -
2.4 5.6
7 days ago 9 days ago
Go Go
MIT 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.

Limiter

Posts with mentions or reviews of Limiter. 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.

What are some alternatives?

When comparing Limiter and goralim you can also consider the following projects:

Tollbooth - Simple middleware to rate-limit HTTP requests.

Beego - beego is an open-source, high-performance web framework for the Go programming language.

easy-middleware - easy-middleware is a lightweight json middleware stack for Go >= 1.7.

Iris - The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:

Echo - High performance, minimalist Go web framework

GoSwagger - Swagger 2.0 implementation for go

XFF - A Golang Middleware to handle X-Forwarded-For Header

samb - Go HTTP route management, with a structured API.

formjson - Go net/http handler to transparently manage posted JSON

Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

CORS - Go net/http configurable handler to handle CORS requests

go-json-rest - A quick and easy way to setup a RESTful JSON API