apigee

Apigee - SpikeArrest behavior

℡╲_俬逩灬. 提交于 2019-11-27 08:13:00
问题 We're using a spikearrest policy but we don't understand how is working. The spike arrest configuration is the following: <SpikeArrest enabled="true" continueOnError="true" async="false" name="SpikeArrest"> <Rate>5pm</Rate> <MessageWeight ref="request.header.weight"/> </SpikeArrest> Reading the documentation, we understand that if we call more than 5 times this flow in a minute, the policy will fail in the calls after the 5th. But, when we tested it with 10 calls in less than 10 seconds, the