# envoyproxy/ratelimit

Go/gRPC service designed to enable generic rate limit scenarios from different types of applications.

Repository: https://github.com/envoyproxy/ratelimit
Canonical: https://ross.abutalabs.com/products/envoyproxy-ratelimit
Language: Go
License: Apache-2.0
License Family: permissive
Last push: 2026-08-26T08:18:55+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 3506, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2686, forks 531 (observed 2026-08-28T04:07:10.267765+00:00)

## What it is
A Go/gRPC rate limiting service from the Envoy project that provides centralized, generic rate limiting for distributed applications. It stores counters in Redis and integrates natively with Envoy proxy's rate limit filter, with configuration loaded from files or an xDS management server.

## Use cases
- rate limit api requests across a distributed system
- centralized rate limiting service for envoy proxy
- limit requests per user or per ip with redis-backed counters
- global rate limiting for microservices behind a gateway
- configure rate limits via xDS management server
- shadow mode rate limiting to test limits before enforcing

## When to choose
- you run Envoy proxy and need its rate limit filter backed by a central service
- you need consistent global rate limits across multiple service instances
- you want Redis-backed counters with Prometheus or DogStatsD metrics

## When to avoid
- you need simple in-process rate limiting in a single application
- you don't operate Redis or a service mesh and just need library-level throttling
- your stack is not Go/Envoy-oriented and a lighter middleware would suffice

## Facets
- artifact type: service
- maturity: active
- function: rate-limiting, rpc, caching
- domain: backend, microservices, apis, infrastructure-as-code
- platform: go, self-hosted
- tags: grpc, envoy, redis, global-rate-limiting, xds, docker, linux

## Member repositories
- envoyproxy/ratelimit (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:10.267765+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:17:47.562258+00:00, confidence not recorded.
  - readme: https://github.com/envoyproxy/ratelimit (fetched 2026-08-28T04:07:10.267765+00:00, sha 231ebd8a62f6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
