In both the cases I am able to make more than 4 requests per ten seconds...
case 1: Without UseEffectiveCount
<SpikeArrest async="false" continueOnError="false" enabled="true" name="Spike-Arrest-1"> <DisplayName>Spike Arrest-1</DisplayName> <Properties/> <Identifier ref="request.header.some-header-name"/> <MessageWeight ref="request.header.weight"/> <Rate>6pm</Rate> </SpikeArrest>
Case 2: using UseEffectiveCount
<SpikeArrest async="false" continueOnError="false" enabled="true" name="Spike-Arrest-1"> <DisplayName>Spike Arrest-1</DisplayName> <Properties/> <Identifier ref="request.header.some-header-name"/> <MessageWeight ref="request.header.weight"/> <Rate>6pm</Rate> <UseEffectiveCount>true</UseEffectiveCount> </SpikeArrest>
I am try to understand how useEffectiveCount works... if UseEffectiveCount is set as true how many ever message processors... we can make only 1 request per 10 seconds {60(Seconds) divided by 6(requests)} in case 2. But i am able to make 4 request within span of 10 seconds.
my understanding on UseEffectiveCount is wrong? or my implementation is wrong(I have tried both case)?
Please help... thanks in advance