[Baypiggies] Web Crawler/Backend Engineer - San Francisco, CA
Asher Langton
langton2 at llnl.gov
Tue Feb 2 23:39:19 CET 2010
On Feb 2, 2010, at 2:14 PM, Aahz wrote:
> On Tue, Feb 02, 2010, Tung Wai Yip wrote:
>>
>> I think my experience tells me don't build multi-threaded
>> applications in
>> Python ;-)
>
> Why? I've had about equal trouble with multi-processing and
> multi-threading.
If you haven't seen Dave Beazley's presentations on the Global
Interpreter Lock, take a look at these:
http://www.dabeaz.com/python/GIL.pdf
http://www.dabeaz.com/python/NewGIL.pdf
In short: multi-threading is really bad in Python 2.x when the threads
are CPU-bound.
-Asher
More information about the Baypiggies
mailing list