Promptles
Backend & APIs

Rate Limiting

intermediate

Definition

A cap on how many requests a single user, app, or computer can make within a window of time. It protects a service from being flooded: whether by accident, abuse, or an automated script that's gone haywire.

In the wild

A weather website limits each visitor to 60 requests per minute. A normal person checking the forecast never notices the limit. A misbehaving app trying to scrape the site thousands of times a minute hits the limit and gets temporarily blocked.

More from Backend & APIs