solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy
https://docs.solo.io/
Apache License 2.0
4.07k stars 437 forks source link

Implement a 'tarpit' feature to RateLimiting #5102

Open ShaunPTK opened 3 years ago

ShaunPTK commented 3 years ago

Is your feature request related to a problem? Please describe. There is no method of forcing a delay to incoming requests once a rate limit has been triggered.

Describe the solution you'd like The ability to introduce a short delay before the 429 response is sent to the client and/or the ability to trigger a delay based on a lower ratelimit than what triggers the 429.

Describe alternatives you've considered The delay in faults is not suitable as it applies to all requests

Additional context

chrisgaun commented 3 years ago

We are doing some internal investigation to understand the engineering effort.

AlexKaiserTK commented 2 years ago

Hi @chrisgaunl what was the result of the internal investigation?

chrisgaun commented 2 years ago

@AlexKaiserTK I have this scheduled for 1.11

github-actions[bot] commented 3 months ago

This issue has been marked as stale because of no activity in the last 180 days. It will be closed in the next 180 days unless it is tagged "no stalebot" or other activity occurs.