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


Groups > comp.lang.python > #3405

Re: Questions about GIL and web services from a n00b

From sturlamolden <sturlamolden@yahoo.no>
Newsgroups comp.lang.python
Subject Re: Questions about GIL and web services from a n00b
Date 2011-04-17 08:31 -0700
Organization http://groups.google.com
Message-ID <0e9706dd-6c90-412a-a659-81ae4f7dbf6d@w36g2000vbi.googlegroups.com> (permalink)
References <mailman.398.1302885207.9059.python-list@python.org>

Show all headers | View raw


On Apr 15, 6:33 pm, Chris H <chris.humph...@windsorcircle.com> wrote:

> 1. Are you sure you want to use python because threading is not good due
> to the Global Lock (GIL)?  Is this really an issue for multi-threaded
> web services as seems to be indicated by the articles from a Google
> search?  If not, how do you avoid this issue in a multi-threaded process
> to take advantage of all the CPU cores available?


By the way:

The main issue with the GIL is all the FUD written by
people who don't properly understand the issue. It's
not easy to discern the real information from the
unqualified FUD. I whish people who think in Java
would just shut up about things they don't understand.
The problem is they think they understand more than
they do.

Also, people that write multi-threaded programs which
fails to scale from false-sharing issues, really should
not pollute the web with FUD about Python's GIL. Java's
"free threading" model is not better when all you use it
for is to create dirty cache lines that must be reloaded
everywhere.


Sturla

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


Thread

Questions about GIL and web services from a n00b Chris H <chris.humphres@windsorcircle.com> - 2011-04-15 12:33 -0400
  Re: Questions about GIL and web services from a n00b sturlamolden <sturlamolden@yahoo.no> - 2011-04-17 07:37 -0700
  Re: Questions about GIL and web services from a n00b sturlamolden <sturlamolden@yahoo.no> - 2011-04-17 08:31 -0700
  Re: Questions about GIL and web services from a n00b Lamont Nelson <lamont@brightfruits.com> - 2011-04-19 00:48 -0700
    Re: Questions about GIL and web services from a n00b Chris H <chris.humphres@windsorcircle.com> - 2011-04-20 16:01 -0400

csiph-web