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

Improve throughput by fully utilizing the CPU. #20

Closed
matecsaj opened this issue Jul 17, 2021 · 2 comments
Closed

Improve throughput by fully utilizing the CPU. #20

matecsaj opened this issue Jul 17, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@matecsaj
Copy link
Owner

The library contains well-tested treading code. Does the library need to change to support multi-threading too, and are we missing an opportunity to improve performance? It would be great if someone proficient in Python parallelism took this on.

@matecsaj matecsaj added enhancement New feature or request help wanted Extra attention is needed labels Jul 17, 2021
@matecsaj
Copy link
Owner Author

matecsaj commented Dec 19, 2021

Let us keep external dependencies to a minimum, please use standard Python libraries.
CPU Bound => Multi-Processing
I/O Bound, Fast I/O, Limited Number of Connections => Multi-Threading
I/O Bound, Slow I/O, Many connections => Asyncio

@matecsaj matecsaj changed the title Multiprocessing Improve throughput by fully utilizing the CPU. Dec 19, 2021
@matecsaj matecsaj removed the help wanted Extra attention is needed label Jan 6, 2022
@matecsaj
Copy link
Owner Author

Upon further reflection, I've decided to close this issue because it is not SMART.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant