Does apigee support payload size based throttle and date based subscription?

Not applicable

Does apigee support payload size based throttle. for e.g.

-Mbs/Call

-Mbs/Day

-Mbs/Month

Also suppose if I want to say that a particular rate limit policy should be applied only between two specific date, so do we have such provision in apigee?

Solved Solved
0 3 371
1 ACCEPTED SOLUTION

@Vipul Agarwal ,

Regarding,

I want to say that a particular rate limit policy should be applied only between two specific date, so do we have such provision in apigee?

Yes, We do have out of the box support for same in Apigee Edge. Basically, You will use policy conditions to execute rate limit policy. Find more information regarding same here in policy enforcement.

Set two dates using javascript policy to assign dates to set of variables, use same in rate limit policy enforcement. Make sure you use the JS policy before rate limit to set the flow variables.

Does apigee support payload size based throttle. for e.g.

-Mbs/Call

-Mbs/Day

-Mbs/Month

Quotas are generally applied based on number of api calls using Quota policy. You can leverage quota policy to do size based throttle too. MessageWeight element helps you do that. Basically, you calculate request / response size using javascript, round off and pass that value to Quota policy <messageWeight> element something like below,

<MessageWeight ref="payloadSize"/>

View solution in original post

3 REPLIES 3

@Vipul Agarwal ,

Regarding,

I want to say that a particular rate limit policy should be applied only between two specific date, so do we have such provision in apigee?

Yes, We do have out of the box support for same in Apigee Edge. Basically, You will use policy conditions to execute rate limit policy. Find more information regarding same here in policy enforcement.

Set two dates using javascript policy to assign dates to set of variables, use same in rate limit policy enforcement. Make sure you use the JS policy before rate limit to set the flow variables.

Does apigee support payload size based throttle. for e.g.

-Mbs/Call

-Mbs/Day

-Mbs/Month

Quotas are generally applied based on number of api calls using Quota policy. You can leverage quota policy to do size based throttle too. MessageWeight element helps you do that. Basically, you calculate request / response size using javascript, round off and pass that value to Quota policy <messageWeight> element something like below,

<MessageWeight ref="payloadSize"/>

@Anil Sagar : Thanks Anil.

Anytime @Vipul Agarwal , You can also click on accept link below the answer if your query is resolved.