On 13-Oct-08, at 1:21 AM, Mike Orr wrote:

>
>> [snip]
>> So there is no problem, that for one Paster there is only one Python
>> interpreter (maybe I do not understand GIL correctly)? Using  
>> processes
>> despite Python threads is not better in your opinion?
>
> There is one GIL per process.  However, the CPU is rarely the
> bottleneck in web applications.  Network latency and disk access are
> much bigger factors.  People are running high-traffic CherryPy and
> Twisted and Zope sites using only one process.
>
> You may also want to consider mod_wsgi, which can be configured to
> spawn as many parallel processes as you want.
>

This might not be true for multi cpu boxes.

--
/A

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to