[Zope] Multithreading sessions

Sours, Kevin KSours at carsdirect.com
Fri May 23 13:38:46 EDT 2008


> This is relevant:
> http://docs.python.org/api/threads.html
>
http://www.pyzine.com/Issue001/Section_Articles/article_ThreadingGlobalI
nterpreter.html

> But notice some C extensions do allow concurrency by releasing the
GIL.
> Most I/O operations in the standard library do that. And probably the
network library 
> used by python to connect to MySQL does that too.

My experience with Zope is that this is a fairly minor effect. In my
case a multi processor server running single zope instance would max out
a single processor an (very) lightly load a second (pretty much no
matter how many threads I ran).  
Kevin



More information about the Zope mailing list