Hello everyone…
I have a specific requirement in terms of throttling API calls coming into apigee Edge public cloud.
- Ability to throttle API traffic where I cannot allow more than 10 tps (Please note: Transactions per SECOND)
- The 10 tps traffic SHOULD not be going thru the SMOOTHING logic as 10 tps is a valid traffic for our backend to handle.
- This necessarily rules out the usage of Spike Arrest policy as the 10 tps configuration would smooth out and doesn’t allow more than 1 call every 100 ms.
- In my situation, our backend system can handle 10 calls at the same millisecond and it is a valid scenario for us to handle (Not considered as a Spike).
- I have also looked ConcurrentRateLimitPolicy and apparently, it is logical that it doesn’t serve my requirement.
- I’ve looked at Quota policy which can simply act as a counter. But there are limitations where:
- The Quota timeunit never allows second as a valid value.
- I do see that in some old documentation from apigee where second is allowed as a valid value. Is it still allowed? I don’t seem to make it work as there is an error when I try to save the proxy on Edge UI.
On a tail note, its kind of sad that apigee doesn’t support this feature which has been available in IBM Datapower, WSO2, Axway API Gateway, etc. for a very long time.
Does anyone have any suggestions to solve this problem?
I’m ok to have a complex custom implementation too as I’m desperately looking for this feature. A critical deployment is just pending for this logic to be implemented. Would appreciate any guidance on this.
Thanks.