equalizer
circuitbreaker
equalizer | circuitbreaker | |
---|---|---|
3 | 1 | |
80 | 1,116 | |
- | - | |
5.7 | 2.7 | |
3 months ago | about 1 month ago | |
Go | Go | |
MIT License | MIT License |
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.
equalizer
-
Can you help me build a better API?
You could use a rate limiter package like equalizer (note: i've never used this, just happened to see it the other day), or you could roll your own as a fun practice program. The TL;DR is that you identify users based on some metric, such as IP address, and then have a counter that tracks how many requests they make in a short period of time, and if they make over the threshold, you start returning 429 Rate Limit Exceeded errors.
-
[equalizer] A no ordinary rate limiter algorithms package.
The Equalizer usage example in the README was more informative, but eg. the Offset type's purpose isn't very clear.
circuitbreaker
-
Choosing dependencies using deps.dev
rubyist/circuitbreaker
What are some alternatives?
delve - Delve is a debugger for the Go programming language.
Retry
mimetype - A fast Golang library for media type and file extension detection, based on magic numbers
hub - A command-line tool that makes git easier to use with GitHub.
mergo - Mergo: merging Go structs and maps since 2013
paginator - A simple package to paginate your data in Go.
mole - CLI application to create ssh tunnels focused on resiliency and user experience.
gentleman - Plugin-driven, extensible HTTP client toolkit for Go
wuzz - Interactive cli tool for HTTP inspection
hystrix-go - Netflix's Hystrix latency and fault tolerance library, for Go
create-go-app - ✨ A complete and self-contained solution for developers of any qualification to create a production-ready project with backend (Go), frontend (JavaScript, TypeScript) and deploy automation (Ansible, Docker) by running only one CLI command.
boilr - :zap: boilerplate template manager that generates files or directories from template repositories