go-redis/redis_rate
Rate limiting for go-redis observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3914
- days_rel: n/a
- days_push: 7
- n_releases_24m: 0
Adoption not part of the score
1039 stars · 108 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library implementing GCRA (leaky bucket) rate limiting on top of Redis, built for the go-redis client. It exposes a simple Allow API with per-second/minute limits and retry-after info, usable in HTTP middleware.
Use cases
- rate limit API requests per user or project
- implement leaky bucket throttling with Redis
- add rate limiting middleware to a Go HTTP server
- limit how often a job or webhook can run
- return RateLimit-Remaining and Retry-After headers
When to choose
- you already use go-redis and need distributed rate limiting
- you want GCRA/leaky-bucket semantics without extra dependencies
- you need per-key limits with remaining quota and retry-after values
When to avoid
- you don't use Redis or want an in-process limiter
- you need token bucket with burst controls rather than GCRA
- your Redis is older than version 3.2
Facets
library · maturity active
rate-limiting caching databases backend web-development developer-tools go cross-platform gcra leaky-bucket go-redis redis-lua api-rate-limiting redis
2 sources
- readme: https://github.com/go-redis/redis_rate · fetched 2026-08-28 · c2f108481195
- homepage: https://redis.uptrace.dev/guide/go-redis-rate-limiting.html · fetched 2026-08-29 · 6516219c0994
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| go-redis/redis_rate | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="go-redis/redis_rate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem