Slide 20
Slide 20 text
Serverless Capacity Planning
Know thy limits
• Scaling is built in but, Serverless systems have limits and constraints.
• You will hit them once you are in prod and under heavy customer load…on a Friday…at 6pm
• It can be very very hard to figure out when the limits are being hit in a large system with
many moving parts. Here are just a few examples:
• Maximum number of concurrent
executions per AWS account
(1000, changeable)
• Immediate Concurrency Increase
(500 or more per min, depends on
region, fixed)
AWS Lambda API Gateway
• Integration timeout (29
sec max, fixed)
• Max Payload size (10mb,
fixed)
• S3 will asynchronously
call Lambda
• Lambda polls DynamoDB
Streams only once per
second, per shard
Serverless Invocation Limits
Examples: Examples: Examples: