Hi Buddhimala,

Can you check the throttle policy file whether the policy is updated or
not. Ex:
repository/deployment/server/executionplans/carbon.super_resource_100KKBPerMin_default.siddhiql
and
repository/deployment/server/executionplans/carbon.super_resource_100KKBPerMin_condition_1.siddhiql

Thanks

*Prasanna Dangalla*
Senior Software Engineer, WSO2, Inc.; http://wso2.com/
lean.enterprise.middleware


*cell: +94 718 11 27 51*
*twitter: @prasa77*

On Wed, Nov 29, 2017 at 12:34 PM, Buddhimala Ranasinghe <[email protected]
> wrote:

> Hi Dinusha,Irham,
>
> I tried header condition throttling as well. The same behavior can be
> observed in there also. Throttling out occurs after the default limit and
> not after the condition request limit.
>
> Thanks
>
> On Wed, Nov 29, 2017 at 12:18 PM, Dinusha Dissanayake <[email protected]>
> wrote:
>
>> Hi Buddhimala,
>>
>> Did you observe this behavior only for IP based throttle condition or
>> with other conditions as well (eg. header condition, IP range condition )?
>>
>> Thanks,
>> DinushaD.
>>
>> On Wed, Nov 29, 2017 at 11:47 AM, Buddhimala Ranasinghe <
>> [email protected]> wrote:
>>
>>> Hi All,
>>>
>>> I have a distributed deployment in API Manager which contains
>>>
>>> 1GW
>>> Pub+Store+TM
>>> Is as KM
>>>
>>> I tried to implement IP level throttling for my API in this setup. I
>>> have put 20 as my default equest limit and under IP condition I gave
>>> request count as 5. I gave my local IP address as the IP condition to
>>> thrttle out.
>>> But when I invoked the API, it throttles out at the 21st request and not
>>> at 6th request.
>>>
>>> I also tried the same with another pack where only IS was configured as
>>> KM (Pub,Store,GW,TM+IS as KM). There I could successfully throttle out at
>>> the 6th request.
>>>
>>> What can be the reason for this behaviour? Can you please help me to
>>> resolve this problem?
>>>
>>>
>>> Thanks
>>> --
>>>
>>>
>>> *Buddhimala Ranasinghe*
>>> Software Engineer-Support Team | WSO2
>>> Emil: [email protected]
>>> Mobile:+94771563138 <+94%2077%20156%203138>
>>> Web:http://wso2.com
>>> [image: https://wso2.com/signature] <https://wso2.com/signature>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dinusha Dissanayake
>> Software Engineer
>> WSO2 Inc
>> Mobile: +94712939439 <+94%2071%20293%209439>
>> <https://wso2.com/signature>
>>
>
>
>
> --
>
>
> *Buddhimala Ranasinghe*
> Software Engineer-Support Team | WSO2
> Emil: [email protected]
> Mobile:+94771563138 <+94%2077%20156%203138>
> Web:http://wso2.com
> [image: https://wso2.com/signature] <https://wso2.com/signature>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to