Reliability

Rate Limiting

Description

Controlling the rate of traffic sent or received by a network interface controller.

Where to use

  • API Protection.
  • \n
  • Preventing abuse.

Real World Example

Allowing only 100 req/min per IP address.

Code Example

class RateLimiting:\n    def __init__(self):\n        pass\n\n    def execute(self):\n        print('Executing Rate Limiting')