[Zope-dev] PythonScript execution

Hubert Muller Hubert Muller" <hubertm@hubertmuller.info
Tue, 22 Jul 2003 11:44:43 +0200


Wyci=9Cni=EAte cytrusyHello,
We have built a Zope/CMF/Plone site.
The site contains a flash movie which is responsible for generating an
animated menu. The menu utilizes PythonScript which goes through Folder
objects, gets its names and produces XML with a drawers structure. I'm su=
re
that python script does everything well (no unneccesary loop runs, etc.)
when I am accessing it from the web browser - the script outputs xml very
quickly (<0.05 sec).
When I access the site from the browser (internetExplorer), the first 10
elements of site transfer quickly. When the flash movie loads it requests
python script for XML. Then the browser (attention! BROWSER not flash
object) waits for about 4-5 seconds. When the XML reaches Flash, the brow=
ser
attempts to load the remaining elements of site. I repeat this with Opera
and the site loads significantly smoother, without significant troubles. =
I
notice that the flash movie this time loads at the end of the requests
queue. (Probably Opera applies longer intervals between requests). The si=
te
includes 20 graphics objects (60KB total).
Is it possible that Zope has troubles handling 30 requests when the serve=
r
configuration is IntelXeon2.4GHz - 512MB?
Is there any performance issue with PythonScript execution during handlin=
g
many requests?
How can this issue be prevented?

Thanks in advance,
Hubert Muller