May 2018 Summaries
2 posts from Ambassador
Filter
Month:
Year:
Post Summaries
Back to Blog
The Java Rate Limiting Service is designed to work with the Edge Stack API Gateway and can be customized to fit various rate limiting algorithms. The code is built using the Envoy proxy's gRPC interface, which allows for flexibility in implementing custom logic. The service uses a token-bucket algorithm to limit requests, and it can be scaled horizontally without affecting the rate limiting functionality. The Ambassador Java rate limiting service is easy to understand and can be integrated into the Edge Stack API Gateway with ease.
May 17, 2018
2,438 words in the original blog post.
Rate limiting is used to prevent abuse or excessive usage of an API by limiting the number of requests from a client within a specified time frame. This helps make APIs more reliable and prevents denial-of-service attacks. The main challenges with rate limiting in API gateways are scalability, especially when running on multiple instances, and implementing algorithms that can handle various request metadata and properties. One solution to overcome these limitations is using an external service, such as Redis or a custom-built service, to manage the rate limiting data, allowing for flexibility and better performance. The use of a service mesh like Envoy Proxy also enables scalability and fault tolerance when integrated with an external rate limiting service. Rate limiting can help protect against bad actors, prioritize traffic for paying customers, and prevent system crashes due to excessive requests.
May 08, 2018
1,375 words in the original blog post.