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

Spawn pools #20

Open
smashwilson opened this issue Dec 31, 2014 · 2 comments
Open

Spawn pools #20

smashwilson opened this issue Dec 31, 2014 · 2 comments

Comments

@smashwilson
Copy link
Member

The job runner will happily spawn a goroutine and a container for as many jobs as you throw at it. It would be more prudent to apply some kind of rate-limiting to the jobs that are consumed by a single runner.

@rgbkrk
Copy link
Member

rgbkrk commented Dec 31, 2014

I was kind of hoping we adopted the spawn pools aspect of tmpnb and only run jobs for available containers.

@smashwilson smashwilson changed the title Rate-limit job execution Spawn pools Dec 31, 2014
@smashwilson
Copy link
Member Author

Oh yeah! That would work as well.

It gets tricky once we start supporting multiple languages (or layers). We might need to have separate pools of each image type (configurable on the fly through the admin interface?) and allow some slop space for runs of ad-hoc images if we guess wrong about the allocation.

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