effect
effect copied to clipboard
Implement header based http api rate limiter (server & client)
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
Would really love to see this.