Difference in error response for Spike Arrest policy

Hello All,

Can anyone explain why error response for Spike arrest policy is different for below two cases.

1. <Rate>4pm</Rate>
<UseEffectiveCount>false</UseEffectiveCount>

Error response :

"faultstring": "Spike arrest violation. Allowed rate : MessageRate{messagesPerPeriod=4, periodInMicroseconds=60000000, maxBurstMessageCount=1.0}"

2. <Rate>4pm</Rate>
<UseEffectiveCount>true</UseEffectiveCount>

Error response :

"faultstring": "Spike arrest violation. Allowed rate : MessageRate{messagesPerPeriod=4, periodInMicroseconds=720000000, maxBurstMessageCount=1.0}"

0 3 299
3 REPLIES 3

Not applicable

<UseEffectiveCount>true</UseEffectiveCount>

means the rate use will be in sync with all message processor.

and false will not make it in sync. So, false will have the allowed traffic more than the synced one and will varry with number of message processors.

Yes, but the issue here is, why the value of "periodInMicroseconds" is varying?

Not applicable

Let me guess, the microsecond lapsed in the time period of the spike arrest is showing. And that calculation i9s a run time one and you may be seeing in the different time spans.