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

Rewrite parallel task with Pypeln #336

Open
leplatrem opened this issue Feb 10, 2020 · 0 comments
Open

Rewrite parallel task with Pypeln #336

leplatrem opened this issue Feb 10, 2020 · 0 comments
Labels
core Related to Poucave itself

Comments

@leplatrem
Copy link
Contributor

leplatrem commented Feb 10, 2020

In our checks code, we use our little run_parallel() helper to run IO operations in parallel. This serves us well, but there is a limitation: the parallel tasks are «gathered» at each step of the check.

Mythmon suggested the pypeln library, which seems to allow the execution of several steps in parallel (pipes).

If exceptions are reported the same way as the current code, it should be pretty pleasant to rewrite the checks :)

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

No branches or pull requests

1 participant