[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: threads and sleep?
From:       Peter Hansen <peter () engcorp ! com>
Date:       2005-07-06 12:44:34
Message-ID: kN6dnd6hIYSZT1bfRVn-hg () powergate ! ca
[Download RAW message or body]

Jonathan Ellis wrote:
> Peter Hansen wrote:
>>Or investigate the use of Irmen's Pyro package and how it could let you
>>almost transparently move your code to a *multi-process* architecture
> 
> Unless you're doing anything that would require distributed locking.
> Many if not most such projects do, which is why almost everyone prefers
> to use threads on an SMP machine instead of splitting it across
> multiple smaller boxes.

I can't address the issue of whether or not "most" such projects require 
distributed locking, because I'm not familiar with more than half of 
such projects, as you appear to be. <wink>

On the other hand, I am (somewhat) familiar with Jeffrey's stated 
problem area (two postings of his earlier in the thread) and it really 
doesn't sound like he needs such a thing.  Would you normally expect to 
need distributed locking for a simple system where you had long-running 
computations and wanted to improve performance by using multiple CPUs?

Of course, only he can tell for sure.

-Peter
-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic