Questions about GIL and web services from a n00b

sturlamolden sturlamolden at
Sun Apr 17 11:31:42 EDT 2011

On Apr 15, 6:33 pm, Chris H <chris.humph... at> 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


More information about the Python-list mailing list