Rate Limiting

Rate limiting is a technique that controls the frequency of requests a client can make to a service within a given time window. It protects services from abuse, denial-of-service attacks, and resource exhaustion.

Common strategies include fixed window, sliding window, token bucket, and leaky bucket algorithms. In PHP applications, rate limiting is often implemented at the web server, reverse proxy, or application layer, using shared storage such as Redis or Memcached to track request counts across processes.

Documentation

Related : Quality of Service (QoS), Distributed Denial Of Service (DDOS), Availability, Performance, Middleware Pattern, Cache, Security