effect icon indicating copy to clipboard operation
effect copied to clipboard

Implement header based http api rate limiter (server & client)

Open fubhy opened this issue 1 year ago • 1 comments

What is the problem this feature would solve?

  • Http servers enforcing & informing about current rate limiting status (via response headers)
  • Http clients automatically respecting those rate limits

What is the feature you are proposing to solve the problem?

We should look into implementing a plug & play rate limiter server & client implementation for https://github.com/ietf-wg-httpapi/ratelimit-headers http header family.

The draft is currently expired (not sure what its latest status is) but various API services & solutions already implement different flavours of this, mostly varying in the used header names, including e.g. Envoy: https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#config-http-filters-router-x-envoy-ratelimited

What alternatives have you considered?

No response

fubhy avatar Sep 09 '24 08:09 fubhy

Would really love to see this.

izakfilmalter avatar Jun 25 '25 12:06 izakfilmalter