Serverless Flashcards
Are Lambda Limits Global?
No, they are per region
What is the Lambda Memory Allocation?
Between 128MB and 10GB, made in increments of 1MB
What is the max runtime for a Lambda?
900 seconds (15 minutes)
How much space can the Lambda env variables take up?
4KB
How many concurrent execution can be made?
1000 but can be increased
When deploying the Lambda, how big can the zip file be?
50MB
How big can the deployment code and dependencies be uncompressed?
250MB
Why would you use Lambda Edge?
When you use lambda with Cloudfront and need to modify the Cloudfront response before returning to the client
What are the 2 modes available for Read/Write Capacity in DynamoDB?
- Provisioned Mode (Default)
- On-Demand
What are 4 features of Provisioned Mode for DynamoDB?
- You specify the # of reads/writes per second
- You need to plan capacity in advance
- You pay for provisioned RCU and WCU
- You can add autoscaling for RCU and WCU
What are 4 features of On-Demand mode for DynamoDB?
- Reads/Writes automatically scale with your workload
- No Capacity Planning needed
- Its more expensive as you pay for what you use
- Great for unpredictable workloads
What is DAX?
DynamoDB Accelerator
What does DAX do?
It helps solve read congestion by caching data
What are DynamoDB Streams?
They are an ordered stream of changes in a table
How long can data stay in a DynamoDB Stream?
Up to 24 hours