Rate Limiting
Control traffic flow, protect resources, and ensure fair usage across your CDN resources with Medianova’s intelligent Rate Limiting feature.
Rate Limiting
Rate Limiting helps protect your applications and origin infrastructure by controlling the rate at which clients can send requests to your CDN resource.
Rate limits are enforced at the CDN edge, before requests reach your origin servers. This helps reduce excessive traffic caused by high-frequency requests, abusive clients, automated traffic, or unexpected traffic spikes.
Why Use Rate Limiting?
Rate Limiting helps you:
Protect origin servers and APIs from excessive request traffic.
Reduce the impact of automated or abusive request patterns.
Protect sensitive endpoints such as login and authentication services.
Prevent excessive requests from consuming unnecessary origin compute or database resources.
Define request rates appropriate for different application workloads.
How Rate Limiting Works
Rate Limiting evaluates incoming requests against a configured request rate.
You define the number of requests and a time unit, such as Per Second or Per Minute. The configured limit is evaluated continuously as a request rate rather than as a fixed request count that resets at the end of the selected time period.
For example, a limit of 100 requests per minute is distributed over time and enforced continuously. It does not allow all 100 requests to be sent at once at any point during the minute.
You can use burst options when your application needs to tolerate short traffic spikes above the configured request rate.
Rate Limit Options
Rate Limit Options determine how temporary traffic spikes above the configured request rate are handled:
None – Enforces the configured request rate without additional burst capacity. Requests exceeding the permitted rate are subject to the configured action.
Burst – Allows additional requests above the configured rate within the defined burst capacity. Requests within the burst capacity may be delayed and processed according to the configured rate.
Burst + No Delay – Allows requests within the defined burst capacity to pass immediately without delay.
Key Features
Configurable Request Rates – Define request rates per second or minute based on your application requirements.
Edge-Level Enforcement – Apply rate limits at the CDN edge before excessive traffic reaches your origin.
Burst Control – Control how temporary traffic spikes above the configured request rate are handled.
IP Whitelisting – Exclude trusted IP addresses or networks from rate enforcement.
Configurable Actions – Define how requests are handled when the permitted rate is exceeded.
Configurable Response Codes – Select the HTTP response code returned for blocked requests.
Path & Extension Based Rate Limiting – Apply separate rate limiting rules to specific URL paths or file extensions through Page Rules.
Use Cases
API Protection – Control high-frequency API requests and reduce excessive origin traffic.
Authentication Endpoints – Limit request rates for login and authentication services.
Traffic Spike Management – Control short increases in request traffic based on your application requirements.
Bot and Scraper Control – Reduce excessive requests generated by automated clients.
Origin Protection – Prevent high request rates from unnecessarily consuming origin compute, application, or database resources.
Resource-Level and Path-Based Rate Limiting
Resource-level Rate Limiting for Dynamic CDN Resources is configured under Security → Rate Limiting in the Medianova Control Panel.
For example, you can apply different rate limits to:
/login/api//checkout.pdf.mp4
See Path & Extension Based Rate Limiting for more information.
Last updated
Was this helpful?