Rate Limiting in the PSaaS Appliance
Rate limits for API endpoints can be enabled and configured in the Dashboard. Rate limiting in the PSaaS Appliance is done using limitd.
Enable and Configure Rate Limiting
In the PSaaS Appliance Dashboard, go to Rate Limiting.
Click the checkbox next to Enable to enable rate limiting.
By default, Configuration of buckets is empty, which means that limitd's default configuration will be used. Your Customer Success Engineer may advise you to adjust this value if appropriate.
Click Save and wait for the updates to the configuration to complete.
Test Rate Limiting Functionality
When you've enabled rate limiting, the HTTP response includes the following headers:
- X-RateLimit-Limit: Request limit
- X-RateLimit-Remaining: Requests available for the current time frame
- X-RateLimit-Reset: Time until the rate limit resets (in UTC epoch seconds)
Your expected response looks something like this: