Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use EventBridge integration instead of polling #41

Open
dbaggerman opened this issue Mar 4, 2021 · 1 comment
Open

Use EventBridge integration instead of polling #41

dbaggerman opened this issue Mar 4, 2021 · 1 comment

Comments

@dbaggerman
Copy link
Contributor

Since Buildkite now offers EventBridge integration, triggering the scaling lambda on job.* events may be more responsive than the polling method used currently - and without requiring a lambda to effectively be running 24/7.

One challenge might be preventing a large build that queues multiple jobs from firing the lambda repeatedly. However, solving that may be as simple as sticking a kinesis stream between the EventBridge and the lambda (and taking advantage of the built-in batching).

@chloeruka
Copy link

Yeah, this is a great idea! We'll try and find some time to dig into the details and figure out how feasible it'll be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants