Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4132

Re: client-server parallellised number crunching

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'wed,': 0.04; 'socket': 0.05; 'happily': 0.07; 'python': 0.07; '+0200,': 0.09; 'correct.': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'bound,': 0.16; 'rachel': 0.16; 'subject:server': 0.16; '\xa0as': 0.16; 'figure': 0.18; '27,': 0.19; 'header:In-Reply-To:1': 0.22; 'received:209.85.214.174': 0.23; 'received:mail-iw0-f174.google.com': 0.23; 'message- id:@mail.gmail.com': 0.28; 'remote': 0.28; 'host': 0.30; 'i/o': 0.31; 'threads': 0.31; 'to:addr:python-list': 0.32; 'quite': 0.36; 'received:209.85': 0.37; 'apr': 0.38; 'subject:skip:p 10': 0.38; 'thread': 0.38; 'received:google.com': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'how': 0.39; 'header:Received:5': 0.40; 'waiting': 0.61; '2011': 0.62; 'spend': 0.63; 'connection.': 0.77; '10:21': 0.84; '\xa0at': 0.84; 'something.': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=Av2Vakb5FufDDTkS5H+l4jbUVPdM82kADEOmNnjI6ZM=; b=gk+8ueASoSD1Yr5oSlo23xhz9cqym8TipOlh3ZcwvUaR9V/2qgwtHxfw7E2ydj+m3t QdSJlu0od+sb3lsPKYCWh6Aw+60HE0wwVGCL34z6IiOWu3/QRM4EiSuXOUHg1RTv8/UZ FuPhpPl364DFGyPJLcPNypNZo8TUtPIgQA/8s=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=uN/l8HfBt0UDNKrjx7fwwbq7vdxRKdmKeD84yNzqQtcNeNRAXnnGfZWQJ9gU/dCPCt SOAymQUHawhMjm84fUbWsfKYbOlhFguE9dnXRHNCfdYz8MZ14+4qML+Ekf0fQmeMR+Wx +EmQfsjeN9ofS+fQmLbDQhEs+g7ASA/KGXwJg=
MIME-Version 1.0
In-Reply-To <1cel88-0d3.ln1@svn.schaathun.net>
References <8ikj88-bs1.ln1@svn.schaathun.net> <ip8o0q$p4f$1@r03.glglgl.eu> <1cel88-0d3.ln1@svn.schaathun.net>
Date Wed, 27 Apr 2011 23:35:06 +1000
Subject Re: client-server parallellised number crunching
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.895.1303911309.9059.python-list@python.org> (permalink)
Lines 17
NNTP-Posting-Host 82.94.164.166
X-Trace 1303911309 news.xs4all.nl 81481 [::ffff:82.94.164.166]:42821
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4132

Show key headers only | View raw


On Wed, Apr 27, 2011 at 10:21 PM, Hans Georg Schaathun <hg@schaathun.net> wrote:
> On Wed, 27 Apr 2011 11:35:16 +0200, Thomas Rachel
>  <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> 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.

ChrisA

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

client-server parallellised number crunching Hans Georg Schaathun <georg@schaathun.net> - 2011-04-26 20:55 +0100
  Re: client-server parallellised number crunching Chris Angelico <rosuav@gmail.com> - 2011-04-27 06:20 +1000
  Re: client-server parallellised number crunching Dan Stromberg <drsalists@gmail.com> - 2011-04-26 13:31 -0700
  Re: client-server parallellised number crunching Dan Stromberg <drsalists@gmail.com> - 2011-04-26 13:33 -0700
    Re: client-server parallellised number crunching Hans Georg Schaathun <hg@schaathun.net> - 2011-04-26 21:47 +0100
      Re: client-server parallellised number crunching Chris Angelico <rosuav@gmail.com> - 2011-04-27 07:07 +1000
  Re: client-server parallellised number crunching Chris Angelico <rosuav@gmail.com> - 2011-04-27 06:35 +1000
  Re: client-server parallellised number crunching geremy condra <debatem1@gmail.com> - 2011-04-26 14:31 -0700
    Re: client-server parallellised number crunching Hans Georg Schaathun <georg@schaathun.net> - 2011-04-27 06:58 +0100
      Re: client-server parallellised number crunching geremy condra <debatem1@gmail.com> - 2011-04-26 23:54 -0700
        Re: client-server parallellised number crunching Hans Georg Schaathun <georg@schaathun.net> - 2011-04-27 10:57 +0100
  Re: client-server parallellised number crunching Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2011-04-27 11:35 +0200
    Re: client-server parallellised number crunching Hans Georg Schaathun <hg@schaathun.net> - 2011-04-27 13:21 +0100
      Re: client-server parallellised number crunching Chris Angelico <rosuav@gmail.com> - 2011-04-27 23:35 +1000
        Re: client-server parallellised number crunching Hans Georg Schaathun <hg@schaathun.net> - 2011-04-27 15:15 +0100
          Re: client-server parallellised number crunching Chris Angelico <rosuav@gmail.com> - 2011-04-28 00:58 +1000
            Re: client-server parallellised number crunching Hans Georg Schaathun <hg@schaathun.net> - 2011-04-27 19:28 +0100

csiph-web