aws / aws/aws-toolkit-azure-devops
Add Jitter in event poll delay at the beginning of Elastic Beanstalk Deploy Tasks
- Dominant language
- TypeScript
- Stars
- 258
- Forks
- 114
- PR merge metrics
- No merged PRs in 30d
Description
**Is your feature request related to a problem? Please describe.**
Feature request related to internal ticket #IDE-1782
Issue is that deployments to many AWS Elastic Beanstalk environments at the same time can hit high throttles on DescribeEnvironment API calls. This is due to the shared default 5 second value of the `Event poll delay ` setting. This can cause a pipeline to fail execution when describing deployment status are unable to query status due to throttles.
**Describe the solution you'd like**
The best solution would be some default jitter applied behind the scenes to the `Event poll delay ` value. However setting this setting every time requires a bit of effort, and is subject to human error.
**Describe alternatives you've considered**
A working alternative is to manually vary the `Event poll delay` setting for each deploy task in the pipeline.
** Additional comments **
This issue appears potentially similar to https://github.com/aws/aws-vsts-tools/issues/62 and might share the same root cause, therefore this feature would solve a few open issues relating to throttles.
Contributor guide
Research direction
Locate the Elastic Beanstalk deploy task and its Event poll delay handling, then inspect how it calls the DescribeEnvironment API. Confirm the current shared five-second default and determine the jitter behavior needed to reduce simultaneous polling; done means deployments avoid synchronized polling while preserving the setting's purpose.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- cloud, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100