Who is counted
RFC 6585 leaves it open: users can be identified by credentials or a cookie. IP address and API key are common choices.
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
Rate limiting restricts how many requests a user or client may send in a given period, and a server that refuses extra requests can answer with HTTP 429 Too Many Requests. It protects services from overload, abuse and brute-force attempts.
HTTP/1.1 429 Too Many Requests
Content-Type: text/plain
Retry-After: 3600
I only allow 50 requests per hour to this Web site per
logged in user. Try again soon.RFC 6585 leaves it open: users can be identified by credentials or a cookie. IP address and API key are common choices.
Counting can be per resource, across the whole server or across a set of servers.
Common designs are fixed windows, sliding windows and token buckets.
The response should explain the condition and may include Retry-After.
Caches must not store 429 responses.
Servers are not required to use 429. Dropping connections may be more appropriate under heavy load.
429 Too Many Requests means the user has sent too many requests in a given time. Defined in RFC 6585, the response may include a Retry-After header giving the number of seconds, or a date, to wait before sending another request.
Slow down and retry after the time in the Retry-After header. For your own scripts, add exponential backoff and cache responses. If you are an ordinary visitor and see it on a site, wait a few minutes. If you run the site, raise or adjust the limit.
The terms overlap. Rate limiting usually rejects requests over the cap, as with a 429 response. Throttling often means slowing or queueing them. Documentation varies by vendor, so read how your platform defines each.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.