Skip to main content
RateLimit defines gateway-level rate limiting with configurable identifiers. Frontline executes RateLimit policies and delegates counter state to rate limiting, so policy execution uses the same distributed counters as API and Frontline rate-limit checks.

Fields

int64
Maximum number of requests allowed in the time window.
int64
Time window in milliseconds. For example, limit: 100 with window_ms: 60000 means 100 requests per minute.
RateLimitIdentifier
Determines how requests are bucketed for rate limiting.

Examples

Identifier sources