- Newest
- Most votes
- Most comments
Considerations:
- Initial Limits: AWS sets initial limits to prevent new users from unintentionally running up large bills or creating too many concurrent executions that could impact service stability.
- Reserved Concurrency: The requirement for 100 unreserved concurrency slots is meant to ensure that there's always capacity for other critical functions, but it can indeed be confusing for new users.
Workarounds:
- Requesting a Limit Increase: While this is not an immediate fix, you can request an increase in your Lambda concurrency limits through the AWS Support Center. AWS typically processes these requests quickly.
Steps:
- Sign in to the AWS Management Console.
- Open the Service Quotas console.
- Select "AWS Lambda".
- Choose "Request quota increase" for the "Concurrent executions" limit.
- Submit the request specifying your desired limit and justification.
Function Throttling and Error Handling: Instead of relying solely on reserved concurrency, you can implement throttling and error handling mechanisms within your Lambda functions and invoking services.
Retries and Backoff: Use exponential backoff with retries in your invoking service (e.g., API Gateway, SQS) to handle throttling errors gracefully.
Queue-Based Invocation: Use Amazon SQS or Amazon SNS to queue events and manage the rate at which your Lambda functions are invoked.
Granular Monitoring: Utilize CloudWatch to monitor the concurrency and throttling of your Lambda functions. This can help you understand the usage patterns and adjust your architecture accordingly.
Feedback to AWS: While the above workarounds can help mitigate the issue, it might indeed be beneficial for AWS to reconsider the initial limits and reservation requirements to provide a smoother experience for new users. You can provide feedback to AWS through:
- AWS Support: Mention the issue when you request a limit increase.
- AWS Account Manager: If you have an AWS Account Manager, provide feedback directly to them.
Relevant content
- asked a year ago
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 4 months ago