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

Friendly parallelization API for simple tasks #300

Open
Peque opened this issue May 22, 2018 · 0 comments
Open

Friendly parallelization API for simple tasks #300

Peque opened this issue May 22, 2018 · 0 comments
Labels
Projects
Milestone

Comments

@Peque
Copy link
Member

Peque commented May 22, 2018

Embrace multiprocessing.Pool or joblib API:

https://stackoverflow.com/questions/9786102/how-do-i-parallelize-a-simple-python-loop

Or concurrent.futures.ProcessPoolExecutor():

https://towardsdatascience.com/heres-how-you-can-get-a-2-6x-speed-up-on-your-data-pre-processing-with-python-847887e63be5

None of them provide advanced serialization capabilities.

See robinvol-backtest/pool.py.

@Peque Peque added the feature label May 22, 2018
@Peque Peque added this to the 0.7.0 milestone May 22, 2018
@Peque Peque added this to TODO in Development May 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

1 participant