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

Ampoule serializes job execution #10

Open
moshez opened this issue Dec 14, 2017 · 1 comment
Open

Ampoule serializes job execution #10

moshez opened this issue Dec 14, 2017 · 1 comment

Comments

@moshez
Copy link
Contributor

moshez commented Dec 14, 2017

Each process in an Ampoule process pool will only be given one job at a time to work on.

All of the pieces are in place to support concurrent async job execution within each child, except that the ProcessPool class intentionally serializes job distribution. There should at least be an option to allow more than one job to be sent to a worker process at once.

@glyph
Copy link
Member

glyph commented Jul 3, 2018

I definitely like having serialized job execution be the default (spawn more processes for more parallel stuff!) but yeah this should be tunable.

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