Contents

Popular

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PropertyDescription

Quota

Specifies the number of request messages that an application is allowed to submit to an API per hour/day/week/month.
Quota Identifier

For the Quota policy to work, each application requires a unique identifier to be presented with each request. The identifier can be customized. It can be any HTTP header, query parameter, form parameter, or message content that is unique to each consumer application.

Weight

Assignsweightto specific messages to increase/decrease the impact of request messages over other messages. For example, it can consider POST messages twice as "heavy" or expensive asGETmessages.

Distributed optionThis option is used to fetch data from the distributed database (Cassandra). If disabled, it fetches data from the cache memory in the local machine.

Synchronous




 

Specifies that the remaining quota value gets updated after every call. This option is suggested when the quota value is a hard limit to number of calls that can be made.

The Synchronous option gets enabled when the Distributed option is enabled.


Figure 2: Synchronous option that gets enabled on enabling the Distributed option

Synchronous option enabled specifies that the remaining quota value gets updated after every call. This option is suggested when the quota value is a hard limit tonumber of calls that can be made.

Re-sync Interval

.

Re-sync Interval

Specifies the time that the system waits for before rechecking the availability of quota for the user.

The Re-sync Interval option gets enabled when the Synchronous option is disabled.


Figure 3:  Re-sync Interval option that gets enabled on disabling the Synchronous option
This value specifies the time interval the system waits for before rechecking availability of quota for the user.

Advanced

This is the default option, which allows to configure all the properties described in the above table.

...

Adaptavist ThemeBuilder EngineAtlassian Confluence