ratelimit VS httpx

Compare ratelimit vs httpx and see what are their differences.

ratelimit

A Go blocking leaky-bucket rate limit implementation (by uber-go)

httpx

A an extended http package for go (by tflyons)
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
ratelimit httpx
3 1
4,190 3
1.8% -
5.1 10.0
22 days ago over 1 year 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.

ratelimit

Posts with mentions or reviews of ratelimit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-07.
  • API Call Rate Limiter?
    2 projects | /r/golang | 7 Feb 2023
    So how you would approach this depends a bit on your needs. Have you had a look at Uber's rate limiter (https://github.com/uber-go/ratelimit)? You can use an interface to model your API struct, then create a new struct implementing the abovementioned interface, embed the rate limiter in the new struct and call its take method as the first instruction in each implementing function. Follow it with a call to the original function in you old embedded struct. Replace your old struct if you want rate-limiting on et voilà.
  • Easy way to create rate limiting in Go using rate package
    2 projects | /r/golang | 9 Nov 2022
  • I wrote a tokenbucket service in go
    2 projects | /r/golang | 3 Jan 2022
    Here’s another from Uber: https://github.com/uber-go/ratelimit

httpx

Posts with mentions or reviews of httpx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-07.
  • API Call Rate Limiter?
    2 projects | /r/golang | 7 Feb 2023
    There’s a talk from the last GopherCon where the speaker discussed the concept of client decorators for things such as client side rate limiting: https://github.com/tflyons/httpx/tree/main/gophercon22

What are some alternatives?

When comparing ratelimit and httpx you can also consider the following projects:

libextobjc

R.swift - Strong typed, autocompleted resources like images, fonts and segues in Swift projects

Then - ✨ Super sweet syntactic sugar for Swift initializers

Sugar - :coffee: Something sweet that goes great with your Cocoa

SwifterSwift - A handy collection of more than 500 native Swift extensions to boost your productivity.

go-tokenbucket-ws - A tokenbucket service