摘要 |
A method for enforcing a consumption rate limit for a resource in a data processing system includes receiving a first request for consumption of the resource; calculating an accumulated resource availability using the consumption rate limit; in response to a determination that the accumulated resource availability is sufficient to satisfy the first request, satisfying the first request; calculating a residual resource availability; receiving a second request for consumption of the resource; calculating an additional accumulated resource availability using the consumption rate limit unless the residual resource availability is sufficient to satisfy the second request. |