ratelimiter-demo
equalizer
ratelimiter-demo | equalizer | |
---|---|---|
1 | 3 | |
2 | 79 | |
- | - | |
1.8 | 5.7 | |
about 2 years ago | 2 months ago | |
Go | Go | |
- | 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.
ratelimiter-demo
-
If I could change one thing about tech interviews
Code Pairing session (sort of pair-programming) where we built something meaningful in 1.2 hrs.
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.
What are some alternatives?
delve - Delve is a debugger for the Go programming language.
mimetype - A fast Golang library for media type and file extension detection, based on magic numbers
mergo - Mergo: merging Go structs and maps since 2013
mole - CLI application to create ssh tunnels focused on resiliency and user experience.
wuzz - Interactive cli tool for HTTP inspection
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.
grequests - A Go "clone" of the great and famous Requests library
godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)
mc - Simple | Fast tool to manage MinIO clusters :cloud:
spinner - Go (golang) package with 90 configurable terminal spinner/progress indicators.
circuitbreaker - Circuit Breakers in Go
excelize - Go language library for reading and writing Microsoft Excel™ (XLAM / XLSM / XLSX / XLTM / XLTX) spreadsheets