Balance Accuracy Feedback

When authorizing a request for a usage of service quota, Balance Accuracy Feedback (BAF) limits the maximum amount and validity times of reservations against each instance of a balance or meter according to parameters configured on the corresponding pricing template.

BAF includes two separate kinds of limits, one for each individual quota and one for all quotas. A request that meets either of these limits cannot make any further reservations for its quota, even if additional offers or balances are available for that purpose.

Note: A lower limit for individual quotas will result in smaller, shorter-lived quotas that must be reauthorized more frequently, which improves balance accuracy but also increases system load. A lower limit for all quotas will prevent reservations for additional quotas beyond the limit, resulting in denial of service.
You can configure the attributes listed in BAF Balance and Meter Template Attributes for a balance or meter template.
Table 1. BAF Balance and Meter Template Attributes
Attribute Description Default Value
Max Reservation Time The maximum number of seconds for which a reservation is valid. This value is used to shape both the quota size and validity time. None
Max Per Context Reserved Amount The maximum amount per balance/meter or periodic balance/meter entry that can be reserved by any one flow (one flow per service context per session). None
Max Total Reserved Amount The maximum amount that can be reserved by all flows. This value acts as a credit limit that rejects any usage that will exceed this total reserved amount. Authorization is denied for new consumers if the maximum is reached. None
Note: To disable BAF, unset the BAF parameters in the balance template.