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

[IMPROVEMENT] Implement multithreading #2

Open
thealphadollar opened this issue Aug 23, 2018 · 1 comment
Open

[IMPROVEMENT] Implement multithreading #2

thealphadollar opened this issue Aug 23, 2018 · 1 comment
Labels

Comments

@thealphadollar
Copy link
Member

Most of the process that takes time in the client are network I/O which can be
made a lot fast using multi-threading.

Using POOL from multithreading library it can be implemented, and the place of
implementation can be the passing of the list of channels.

This would make the process a lot faster, and save a lot of time.

@kshitij10496
Copy link
Member

This sounds like a good idea! 😃

Recently, I came across a good article/rant on multiprocressing.Pool in Python. I suggest reading it after you have a basic idea of how the package works and its capabilties. Apart from this, I think you will also have synchronise the results you get back from the network calls.

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

No branches or pull requests

2 participants