client-server parallellised number crunching

Chris Angelico rosuav at
Wed Apr 27 09:35:06 EDT 2011

On Wed, Apr 27, 2011 at 10:21 PM, Hans Georg Schaathun <hg at> wrote:
> On Wed, 27 Apr 2011 11:35:16 +0200, Thomas Rachel
>  <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915 at> wrote:
> :  As far as I understand, you acquire a job, send it to a remote host via
> :  a socket and then wait for the answer. Is that correct?
> That's correct.  And the client initiates the connection.  At the
> moment, I use one thread per connection, and don't really want to
> spend the time to figure out how to do it singlethreadedly.

Threads work quite happily in Python if they're I/O bound, which they
will be if they're waiting for the client to do something.


More information about the Python-list mailing list