serverless / serverless/serverless
Provisioned Concurrency Causing Throttling
@aaronbarnaby is already working on this.
Since Dec 10, 2019.
- Dominant language
- JavaScript
- Stars
- 46.9k
- Forks
- 5.7k
- Avg merge
- 10h 7m
- Merged PRs (30d)
- 57
Description
Bug Report
Description
- What did you do?
- Added 5 'containers' that are provisioned to my LIVE alias.
- What happened?
- Any additional requests over the 5 available containers was getting throttles
- What should've happened?
- Additional requests over the 5 available containers should just spin up a new container as per before.
When i have no provisioned concurrency I never see even 1 throttle but when I add some which what I think of as 'pre-warmed' containers then any 'additional' requests are getting throttled which I didn't think was the point of this, I though they should only get throttled if I set the 'reserved concurrency' which I haven't that's current set to use the available which is around 2995.
Now i could just provision more containers to handle the max load but the reason is that the function normally has low traffic that 3-5 containers could handle but there are times throughout the day where extra would be required. For these times i'm happy for more containers to spin up with the cold start time adding some extra time.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.