{"adoption": {"forks": 108, "observed_at": "2026-08-28T04:03:19.812846+00:00", "stars": 1039}, "canonical_url": "https://ross.abutalabs.com/products/redis_rate", "card": {"archived": false, "artifact_type": "library", "description": "Rate limiting for go-redis", "domain": ["databases", "backend", "web-development", "developer-tools"], "enriched": true, "function": ["rate-limiting", "caching"], "health_score": 80, "homepage": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html", "language": "Go", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "active", "member_repos": ["go-redis/redis_rate"], "name": "go-redis/redis_rate", "platform": ["go", "cross-platform"], "pushed_at": "2026-08-26T05:30:14+00:00", "repo": "go-redis/redis_rate", "stars": 1039, "tags": ["gcra", "leaky-bucket", "go-redis", "redis-lua", "api-rate-limiting", "redis"], "topics": ["redis", "gcra", "rate-limiting", "leaky-bucket"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/redis_rate", "repo": "go-redis/redis_rate", "role": "main", "score": 77}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:19.812846+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:03:36.728284+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c2f108481195457c682964286304d34d7a670092546f4d8621556f11abd00197", "fetched_at": "2026-08-28T04:03:19.812846+00:00", "kind": "readme", "missing": false, "url": "https://github.com/go-redis/redis_rate"}, {"content_hash": "6516219c09948b7559073f8f13403a388a7d3b6e96ade8392f703305d8fb92a6", "fetched_at": "2026-08-29T13:04:36.166556+00:00", "kind": "homepage", "missing": false, "url": "https://redis.uptrace.dev/guide/go-redis-rate-limiting.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3914, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 77, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}