Login to follow
Rate Limiter

Rate Limiter (ODC)

Stable version 0.1.2 (Compatible with ODC)
Uploaded on 16 October 2025 by Miguel Reis
Rate Limiter

Rate Limiter (ODC)

Details
Detailed Description

The library does not directly enforce blocking. Instead, it signals when predefined usage limits are exceeded, allowing the consuming application to decide how to respond.

There are two blocking levels:

  • Service level: A temporary restriction applied when the user exceeds the Requests Per Minute (RPM) limit. Access is automatically restored once usage falls below the threshold, requiring no manual intervention.

  • User level: A permanent escalation applied to users who repeatedly exceed limits or trigger critical conditions. Only an administrator can manually restore access at this level.

Max RPM: The maximum number of requests per minute allowed for a given service.
Max RPD: The maximum number of requests per 24-hour period permitted for that same service.

This design offers flexibility by separating limit detection from enforcement, ensuring adaptable rate control policies.

Release notes 

Unscheduled a timer