Lambda reserved concurrency
Sets both the maximum and minimum concurrent instances for one function.
Official AWS Reference https://docs.aws.amazon.com/lambda/latest/dg/configuration-concurrency.html ↗// DECISION LOGIC MATRIX
When to Choose
A scaling function is exhausting connections on a downstream relational database.
When to Avoid
You want to remove cold starts. That is provisioned concurrency, and it costs extra.
// EXAM TRAPS & SIGNAL KEYWORDS
// OFFICIAL AWS REFERENCE
"Reserved concurrency sets both the maximum and minimum number of concurrent instances allocated to your function. No other function can use that concurrency. It can limit concurrency to prevent overwhelming downstream resources, like database connections."
- Reserved concurrency is free. Provisioned concurrency incurs additional charges.
- You can reserve up to unreserved account concurrency minus 100.
- Reserved concurrency of 0 throttles the function completely.
// LAMBDA RESERVED CONCURRENCY TAKEAWAYS
Role: Sets both the maximum and minimum concurrent instances for one function.
Choose: A scaling function is exhausting connections on a downstream relational database.
Avoid: You want to remove cold starts. That is provisioned concurrency, and it costs extra.
Trap: Watch for exam signals like prevent cold starts, pre-warmed environments.
Fact: Reserved concurrency is free. Provisioned concurrency incurs additional charges.
Fact: You can reserve up to unreserved account concurrency minus 100.
Fact: Reserved concurrency of 0 throttles the function completely.