SlideShare a Scribd company logo
Rate Limiting
?
Serverless on AWS
lessons learned #7
Are you really
production-ready?
Rate Limiting (or
Throttling) is a widely
adopted pattern to
limit the amount of
incoming requests.
Nearly every AWS API
call is rate limited in
some way.
Sooner or later you
will see something like
this:
RequestLimitExceeded
You will encounter
rate limiting using the
management API*
and using a service
API**
* e.g. create DynamoDB tables
**e.g. read data from a table
Some rate limits are
fixed and some can
change over time*.
*e.g. throughput limits until autoscaling reacts.
How to avoid?
You can’t avoid rate
limiting.
You should minimize
the occurrences and
adapt your services to
handle them properly!
AWS SDK already
handles rate limiting
and retries after a
short delay*.
You can customize
this behavior if
needed.
*see description for details
For 3rd party APIs with
rate limiting, think
about implementing a
retry strategy with
exponential backoff.
Define, implement and
test rate limits for your
own APIs*.
Make them part of
your service
requirements.
*see description for custom rate limits with AWS API-Gateway
Rate Limiting
?
thumbs up, comment, share
What are your thoughts?
Is anything important missing?
If you liked it, please leave a comment.
connect with me!

More Related Content

PPTX
Serverless lessons learned #8 backoff
PPTX
Serverless lessons learned #1 custom sdk timeouts
PPTX
Serverless lessons learned #5 retries
PPTX
Serverless lessons learned #3 reserved concurrency
PPTX
Serverless lessons learned #2 dead letter queues
PPTX
Serverless lessons learned #4 circuit breaker
PPTX
Load Testing Serverless Applications And Understanding How Lambda Scales
PPTX
AWS Jungle - Lambda
Serverless lessons learned #8 backoff
Serverless lessons learned #1 custom sdk timeouts
Serverless lessons learned #5 retries
Serverless lessons learned #3 reserved concurrency
Serverless lessons learned #2 dead letter queues
Serverless lessons learned #4 circuit breaker
Load Testing Serverless Applications And Understanding How Lambda Scales
AWS Jungle - Lambda

What's hot (16)

PPTX
5 Important Points To Remember If You Want To Reduce AWS EC2 Cost
PDF
Pragmatic adoption of serverless at umbraco
PPTX
Kotlin for backend using serverless + aws lambda
PDF
The use of aws in the countryside
PPTX
Scalr - Open Source Cloud Management
PDF
Our Migration to AWS
PDF
Serverless data processing with Data Pipeline
PPTX
Scalable Application Development on AWS
PPTX
Understand AWS OpsWorks - A DevOps Tool from AWS
PPTX
Going serverless with Azure
PDF
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
PDF
Kubernetes On AWS | AWS Kubernetes Tutorial | AWS EKS Tutorial | AWS Training...
PDF
Aws certification roadmap yogesh-sharma
PPTX
Master your Kubernetes Stack and your Cloud Services with Open Service Broker
PPTX
Docker Management and Kubernetes Orchestration
PPTX
DevLink - Architecting Scalable Web Applications
5 Important Points To Remember If You Want To Reduce AWS EC2 Cost
Pragmatic adoption of serverless at umbraco
Kotlin for backend using serverless + aws lambda
The use of aws in the countryside
Scalr - Open Source Cloud Management
Our Migration to AWS
Serverless data processing with Data Pipeline
Scalable Application Development on AWS
Understand AWS OpsWorks - A DevOps Tool from AWS
Going serverless with Azure
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
Kubernetes On AWS | AWS Kubernetes Tutorial | AWS EKS Tutorial | AWS Training...
Aws certification roadmap yogesh-sharma
Master your Kubernetes Stack and your Cloud Services with Open Service Broker
Docker Management and Kubernetes Orchestration
DevLink - Architecting Scalable Web Applications
Ad

Similar to Serverless lessons learned #7 rate limiting (16)

PPTX
Rate limits and all about
PDF
Apidays New York 2024 - The subtle art of API rate limiting by Josh Twist, Zuplo
PPTX
Approaches for application request throttling - dotNetCologne
PDF
REDIS + FastAPI: Implementing a Rate Limiter
PPTX
Approaches for application request throttling - Cloud Developer Days Poland
PPTX
ConFoo Montreal - Approaches for application request throttling
PPTX
Making sense of AWS Serverless operations at Believe in Serverless community ...
PPTX
Approaches to application request throttling
PPTX
VISUG - Approaches for application request throttling
PPTX
Making sense of AWS Serverless operations- AWS User Group Nuremberg
PDF
Making sense of AWS Serverless operations- Serverless Architecture Conference...
PDF
Making sense of AWS Serverless operations AWS Community Day NL 2024-
PPTX
apidays LIVE Hong Kong - Art and Science of Rate Limits for APIs by Shahnawaz...
PDF
Rate limits and Performance
PDF
Making sense of service quotas of AWS Serverless services and how to deal wit...
PDF
Serveless Design Patterns (Serverless Computing London)
Rate limits and all about
Apidays New York 2024 - The subtle art of API rate limiting by Josh Twist, Zuplo
Approaches for application request throttling - dotNetCologne
REDIS + FastAPI: Implementing a Rate Limiter
Approaches for application request throttling - Cloud Developer Days Poland
ConFoo Montreal - Approaches for application request throttling
Making sense of AWS Serverless operations at Believe in Serverless community ...
Approaches to application request throttling
VISUG - Approaches for application request throttling
Making sense of AWS Serverless operations- AWS User Group Nuremberg
Making sense of AWS Serverless operations- Serverless Architecture Conference...
Making sense of AWS Serverless operations AWS Community Day NL 2024-
apidays LIVE Hong Kong - Art and Science of Rate Limits for APIs by Shahnawaz...
Rate limits and Performance
Making sense of service quotas of AWS Serverless services and how to deal wit...
Serveless Design Patterns (Serverless Computing London)
Ad

Recently uploaded (20)

PPTX
Introduction to Artificial Intelligence
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PDF
AI in Product Development-omnex systems
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Nekopoi APK 2025 free lastest update
PPTX
Transform Your Business with a Software ERP System
PPTX
Essential Infomation Tech presentation.pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PDF
System and Network Administration Chapter 2
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
ai tools demonstartion for schools and inter college
Introduction to Artificial Intelligence
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Which alternative to Crystal Reports is best for small or large businesses.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
wealthsignaloriginal-com-DS-text-... (1).pdf
VVF-Customer-Presentation2025-Ver1.9.pptx
2025 Textile ERP Trends: SAP, Odoo & Oracle
AI in Product Development-omnex systems
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
CHAPTER 2 - PM Management and IT Context
Nekopoi APK 2025 free lastest update
Transform Your Business with a Software ERP System
Essential Infomation Tech presentation.pptx
Design an Analysis of Algorithms II-SECS-1021-03
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
System and Network Administration Chapter 2
Odoo POS Development Services by CandidRoot Solutions
PTS Company Brochure 2025 (1).pdf.......
ai tools demonstartion for schools and inter college

Serverless lessons learned #7 rate limiting

  • 1. Rate Limiting ? Serverless on AWS lessons learned #7 Are you really production-ready?
  • 2. Rate Limiting (or Throttling) is a widely adopted pattern to limit the amount of incoming requests.
  • 3. Nearly every AWS API call is rate limited in some way. Sooner or later you will see something like this: RequestLimitExceeded
  • 4. You will encounter rate limiting using the management API* and using a service API** * e.g. create DynamoDB tables **e.g. read data from a table
  • 5. Some rate limits are fixed and some can change over time*. *e.g. throughput limits until autoscaling reacts.
  • 7. You can’t avoid rate limiting. You should minimize the occurrences and adapt your services to handle them properly!
  • 8. AWS SDK already handles rate limiting and retries after a short delay*. You can customize this behavior if needed. *see description for details
  • 9. For 3rd party APIs with rate limiting, think about implementing a retry strategy with exponential backoff.
  • 10. Define, implement and test rate limits for your own APIs*. Make them part of your service requirements. *see description for custom rate limits with AWS API-Gateway
  • 12. thumbs up, comment, share What are your thoughts? Is anything important missing? If you liked it, please leave a comment. connect with me!