Skip to content

Implements various methods for limiting API calls to prevent sudden surge in traffic on your server.

Notifications You must be signed in to change notification settings

kalayu-ftsum/API-Rate-Limiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Rate Limiter

Rate limiters are a key part of building an API or large scale distributed system, they help when we wish to throttle traffic based on the user. They allow you to ensure that one or more bad actors can’t accidentally or deliberately overload the service.

A rate limiting strategy can make your API more reliable, when:

  • A user is responsible for a spike in traffic, and you need to stay up for everyone else.
  • A user is accidentally sending you a lot of requests.
  • A bad actor is trying to overwhelm your servers.
  • A user is sending you a lot of lower-priority requests, and you want to make sure that it doesn’t affect your high-priority traffic.
  • Your service is degraded, and as a result you can’t handle your regular traffic load and need to drop low-priority requests.

About

Implements various methods for limiting API calls to prevent sudden surge in traffic on your server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published