Bandwidth Limiting Filter #1411
rkaplan-hub
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
Praxis can limit how many requests a client may send (
rate_limit: a token bucket inglobalorper_ipmode, with429when the bucket is empty). It cannot limit how many bytes a connection may move.That gap shows up in a few places:
rate_limitdecides whether a request may start. It does not pace the request body or the response body once the request is in flight.Operators who need this today have to put it in every client or in a proxy in front of Praxis.
Issue: #124
Epic: #163 (Resilience and Traffic Management)
Proposal
Add a bandwidth limit that paces byte streams, separate from
rate_limit.rate_limit. A client disconnect cancels any wait, so a slow reader does not hold the budget open.Example configuration
All reactions