Rate limiting is a technique that limits the number of requests (requests) a user, IP address or API client can send to your server within a certain period of time. Imagine your online shop allows 100 requests per minute per user. Does someone send request number 101? Then that person gets an error message or a wait time. For SMEs with a website, online shop or API connection, this is the digital gatekeeper that prevents your server from crashing due to overload, bots or malicious users.
How rate limiting works in practice
A rate limiter keeps track of how many requests a specific resource (e.g. an IP address, API key or logged-in user) makes within a time window. This time window can be a second, minute or hour. Common strategies include the token bucket algorithm, where each user is given a 'bucket' of tokens that is slowly refilled, and the sliding window principle, which keeps track of a sliding average. Once the limit is reached, the system temporarily blocks new requests or slows down the response. In a professional web development environment, you often configure this via the web server (such as Nginx or Apache), a CDN or within the application code itself.
Why rate limiting became essential for modern websites
Rate limiting emerged in the early years of API economics, when services such as Twitter and Google noticed that uncontrolled usage could cripple their infrastructure. A single bot firing thousands of requests per second could cripple a server as effectively as a DDoS attack. This is still relevant for Dutch online shops and SaaS platforms: credential stuffing attacks, competitor scraping and unintentional loops in external links occur daily. Rate limiting is therefore not a luxury but a basic protection, similar to authentication and authorisation.
What rate limiting brings to your company
For an SME online shop with 5,000 visitors a day, rate limiting prevents a single bot from calling your checkout page 10,000 times a minute, overloading your hosting. For a B2B platform with API links to customers, it protects you from unintentional loops in external software unnecessarily taxing your server. It also helps with fair distribution: no single user can claim all available capacity. In practice, we often see with WordPress hosting projects that rate limiting at server level improves uptime and lowers costs, as you need less overhead for peak load. According to Google Developers, rate limiting also helps control crawl budget so that search engines index your site more efficiently.