Eric S. Johansson wrote:
personally, I find threading to be more trouble than it is worth. I would use the python multiprocessing module and distribute the load across multiple processes rather than threads. Well it's never as simple as a single thread implementation, it's far less complex and easier to debug multiple process applications (in my opinion) than threaded applications.

Thanks, Eric. I also considered using multiprocessing module, but my main problem is that it seems to be less frequently used and there are much fewer good practices and books around on doing stuff with this (I plan to learn this when time allows). Nevertheless, it might be option worth using, esp. given that it might be scaled to multiple CPUs/cores.



--

Regards,
mk

--
Premature optimization is the root of all fun.

_______________________________________________
paramiko mailing list
paramiko@lag.net
http://www.lag.net/cgi-bin/mailman/listinfo/paramiko

Reply via email to