
Amazon Builders Library
This Amazon Builders Library paper looks at the principals of system overload and how to use load shedding to avoid it.
Wikipedia
Wikipedia article on the leaky bucket algorithm
Wikipedia
Wikipedia article on the token bucket algorithm
Blog
A blog along with code samples to control concurrency using Step Functions
Blog
A blog that details important AWS WAF ratbe based rules.
Blog
A two part blog that explores the details rate limiting with API Gateway
Code Examples
Guides, blogs, code samples, and more!
Fairness in Multi-Tenant Systems
Amazon Builders Library
This Amazon Builders Library paper looks at a few approaches Amazon has taken to manage API requests to its systems to avoid overload by implementing API rate limiting (also referred to as throttling or admission control). Without these kinds of protection, a system becomes overloaded when more traffic flows into the system than it is scaled to handle at that time.