Hadhzy / slobypy

MIT License
5 stars 3 forks source link

Implementing Threading #11

Open Coddo-Python opened 1 year ago

Coddo-Python commented 1 year ago

Currently the backend/RPC is powered by asyncio and there are no extra layers used to isolate different clients/connections. By implementing threading, each client/connection can be isolated from each other, making overall variable management and separation easier.

ddjerqq commented 1 year ago

I think you want multiprocessing and not threading. threads in python are not actually physical CPU cores. if you want multiple asyncio event loops running in parallel you may want processes and not threads.