Is this true regarding Python's limitation?

Cary O'Brien cobrien at Radix.Net
Sat Sep 23 13:28:07 CEST 2000


In article <8qdjhu$jhm$1 at newshost.accu.uu.nl>,
Martijn Faassen <m.faassen at vet.uu.nl> wrote:
>Cameron Laird <claird at starbase.neosoft.com> wrote:
>> In article <8qdfcn$71b$1 at nnrp1.deja.com>, vbMark  <vbmark at my-deja.com> wrote:
>>>Someone told me that the reason Java is better than Python for server-
>>>side CGI is because where Java uses one process and creates threads for
>>>each user's access, Python creates sperate processes for each user's
>>>CGI access.  So using Python would greatly limit and perhaps crash a
>>>server.
>>>
>>>Is this true?
>> 			.
>> Urban legend.  There are a few isolated words in your description
>> that correspond in a barely recognizable way to truth.  Do NOT
>> shun Python for CGI because it "would ... perhaps crash a server"
>> (and certainly not in comparison with Java).
>
>In particular, Zope (built with Python) does do exactly what Python isn't
>supposed to do according to this person; create separate threads for each
>user's request.
>

Hmm... Doesn't it really keep a pool of threads around?  (I wish ps and strace understood
threads better!).

-- cary

>http://www.zope.org
>
>Regards,
>
>Martijn
>-- 
>History of the 20th Century: WW1, WW2, WW3?
>No, WWW -- Could we be going in the right direction?




More information about the Python-list mailing list