LearningTech

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:
    def __init__(self):
        pass

    def execute(self):
        print('Executing Rate Limiting')