Rate Limiting in Apigee

Dear Apigee Experts,

I need to understand how the rate-limit counter is maintained in Apigee? Does it cache it in some third party software like redis or aerospike etc?

I have an API which gets consumed by one of the consumer application. This consumer application can send a traffic of 15k TPS on this API. I want to restrict this app from sending more than 15K TPS and hence would want to apply a rate-limit for this consumer on apigee using an api-key shared with this consumer.

My question is, can apigee offer a rate-limit of 15K TPS (using single api-key) without introducing much latency? If yes then how?

Thanks in advance!!

1 Like

The documented upper limit for the SpikeArrest policy in Apigee X is currently 1000 tps. You could apply that on a per-APIKey basis. The product team are investigating whether it is feasible to raise this limit. (internal reference: b/294771087 )

There is also rate limiting capability in the Cloud Armor service, which you can use as part of the Google Cloud External Load Balancer. For that the upper limit is 10,000 for every 10 seconds. Which seems to me, to be effectively the same.