solo-io / gloo

The Cloud-Native API Gateway and AI Gateway
https://docs.solo.io/
Apache License 2.0
4.1k stars 446 forks source link

Ratelimiting with AWS Elastic Search as the backend #6009

Open rinormaloku opened 2 years ago

rinormaloku commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently, rate limiting is supported only with the Redis instance and DynamoDB. https://docs.solo.io/gloo-edge/latest/guides/security/rate_limiting/enterprise/

However, we have requested to support AWS ElasticSearch in Gloo Mesh: https://github.com/solo-io/gloo-mesh-enterprise/issues/2291

Gloo Edge Enterprise users will benefit from this implementation as well.

Summary: Add the capability to use ElasticSearch as another backend for rate limiting

chrisgaun commented 2 years ago

Performance on DynamoDB was not great. The belief here is that AWS ElasticSearch will be much more performant. Right now it is 40ms ...

Need option that is replicated across different AWS Regions.

Want to avoid vendor lock-in to AWS service so would like to know if this is something that will work with any generic Redis-like option.

amiramw commented 2 years ago

Also we rather have less accurate rate limit calculation as long as the performance hit is low.

github-actions[bot] commented 5 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.