# What is Rate Limiting?

> Rate limiting controls how frequently requests or actions are accepted within a defined period to manage resource consumption and constrain abuse.

- Canonical URL: https://yellowcube.eu/glossary/rate-limiting/
- Publisher: Yellow Cube
- Language: en
- Contact: hello@yellowcube.eu

## Content

Enforcement can occur at an application programming interface (API) gateway, web application firewall (WAF), content delivery network (CDN), reverse proxy, or application. Policy identifies the caller or operation, measures activity, and delays or rejects excess requests. Distributed services need coordinated enforcement when a limit is intended to apply across instances.

The Open Worldwide Application Security Project (OWASP) API4:2023 category, Unrestricted Resource Consumption, highlights why request counts alone are insufficient: one permitted operation can consume substantial processing, storage, bandwidth, or paid downstream services.

### Key points

- **Policy keys:** Separate limits may apply to accounts, credentials, sessions, network sources, endpoints, or tenants. Address-only rules can penalize shared networks while distributed attackers evade them.
- **Capacity thresholds:** Limits should reflect legitimate demand, operation cost, permitted bursts, and critical service capacity, with observed outcomes informing adjustments.
- **Client behavior:** Hypertext Transfer Protocol (HTTP) status 429 indicates too many requests; a Retry-After header may communicate when to retry. Clients need bounded retry behavior.
- **Important limitation:** A low request rate can still exhaust resources or abuse business logic. Execution-time, payload-size, concurrency, and spending controls address different dimensions; rate limiting does not establish authorization or stop every denial-of-service attack.

### Related terms

[Application programming interface (API) gateway](<https://yellowcube.eu/glossary/application-programming-interface-gateway/>) · [Web application firewall (WAF)](<https://yellowcube.eu/glossary/web-application-firewall/>) · [Distributed denial-of-service (DDoS) mitigation](<https://yellowcube.eu/glossary/distributed-denial-of-service-mitigation/>) · [Bot management](<https://yellowcube.eu/glossary/bot-management/>)

### Sources

[NIST SP 800-228 Update 1: Guidelines for API Protection for Cloud-Native Systems](https://csrc.nist.gov/pubs/sp/800/228/upd1/final) · [OWASP API4:2023 Unrestricted Resource Consumption](https://api-security.owasp.org/editions/2023/en/0xa4-unrestricted-resource-consumption/) · [RFC 6585: Additional HTTP Status Codes](https://www.rfc-editor.org/info/rfc6585/)

## Let’s Build Smarter Cyber Defenses Together

Partnerships are the foundation of everything we do — built on trust, expertise, and shared success. Whether you’re looking to grow your business, strengthen your cybersecurity offerings, or bring innovative solutions to new markets, Yellow Cube is ready to be your committed, long-term ally.

[Get in touch with Yellow Cube](<mailto:hello@yellowcube.eu?subject=Partnership>)

## Attribution and scope

This Markdown representation is generated from the same approved content records as the canonical HTML page. Cite the canonical URL above when referencing this material. Product and service descriptions are informational; confirm project-specific requirements with Yellow Cube.

