HelloZeroNet / HelloZeroNet/ZeroNet
Allow Zeronet python to use multiple CPU threads?
- Dominant language
- JavaScript
- Stars
- 18.8k
- Forks
- 2.3k
- PR merge metrics
- No merged PRs in 30d
Description
This is issue especially on zeronet proxies or when simply one is hosting many sites. You can see the zeronet is maxing out the CPU thread and leaves rest CPU threads unused.. I experienced this on all Linux distributions on which i tried to setup zeronet with [bigger number of zites](http://127.0.0.1:43110/1HMLvnRWViMnuvZc5LK4Dm86sZNcSH1jdh/?Topic:1553085871_1L4dZcDF2maSKHDy788yhxpYnBWnXadUtS/3212+zeronet+sites) and i think it may be lagging my Windows zeronet too. [Here is](http://127.0.0.1:43110/1TaLkFrMwvbNsooF4ioKAY9EuxTBTjipT/?Topic:1565037100_1L4dZcDF2maSKHDy788yhxpYnBWnXadUtS#comment_92_1EAD2zXkzgJf6M7xQ4jG5FHCxUTez9NJJ4) what largest zeronet proxy maintainer (d14n@) says about this.
Can ZeroNet be made to utilize more CPU threads?
https://stackoverflow.com/questions/4496680/python-threads-all-executing-on-a-single-core
https://stackoverflow.com/questions/203912/does-python-support-multiprocessor-multicore-programming
https://wiki.python.org/moin/GlobalInterpreterLock
https://docs.python.org/3/library/multiprocessing.html
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.