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

Using lambda step functions for sub-minute triggering of the scaler #25

Open
pmenglund opened this issue Jan 7, 2020 · 3 comments
Open

Comments

@pmenglund
Copy link

I'm running the buildkite-agent-scaler lambda on my own due to the way we run our infrastructure, and instead of letting the lambda run for 50 seconds, I'm going to implement sub-minute lambda triggering using a step function.

Is thing something you'd like me to create a PR for?

@pda
Copy link
Member

pda commented Feb 13, 2020

I would love to see it, if you got around to it. If a PR is an easy way to show it, that'd be great. I'm not sure we'd merge it, but maybe! Lower latency does sound tempting.

@pmenglund
Copy link
Author

I've got a generic implementation here:
https://github.com/rockset/high-frequency-lambda

You just give it the lambda you want to invoke. Let me know if you want a PR for the changes I made to the buildkite-agent-scaler so it runs just once.

@keithduncan
Copy link
Contributor

keithduncan commented Jul 16, 2021

You just give it the lambda you want to invoke. Let me know if you want a PR for the changes I made to the buildkite-agent-scaler so it runs just once.

I think a one-shot argument for the Lambda makes sense for this if someone wants to orchestrate a timer like this or use EventBridge to drive the Lambda.

If you get to this I’d be happy to merge it! 🙇

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

3 participants