ietf-wg-httpapi / ratelimit-headers

Repository for IETF WG draft ratelimit-headers
Other
45 stars 5 forks source link

Quota Units and Service Limits #92

Closed mnot closed 2 years ago

mnot commented 2 years ago

Section 2.2:

The service-limit is a non-negative Integer expressed in "quota-units".

Section 2.3:

A "quota-policy" describes a quota policy in terms of quota-units (Section 2.2) and time-window (Section 2.1). Its value is an Item where the associated bare item is a service-limit (Section 2.2) and parameters are supported.

This appears to be a circular definition -- what's actually being defined here?

mnot commented 2 years ago

(noting that 2.2 doesn't actually define quota-units)

ioggstream commented 2 years ago

Quota unit is now defined as the measurement unit for service limits.

mnot commented 2 years ago

PTAL - I tried to rearrange to address this a bit more holistically.