[Zope-dev] PythonScript execution

Dieter Maurer dieter@handshake.de
Tue, 22 Jul 2003 23:42:14 +0200


Hubert Muller wrote at 2003-7-22 11:44 +0200:
 > ....
 > 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 sure
 > 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 browser
 > 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 site
 > includes 20 graphics objects (60KB total).
 > Is it possible that Zope has troubles handling 30 requests when the server
 > configuration is IntelXeon2.4GHz - 512MB?

It should not have problems to serve 30 graphic objects with 60 kB total
size.

The fact that Opera works smoother indicates that it is more
a browser problem.

I would probably use a TCP logger (e.g. Shane's "tcpwathc")
to understand the conversation between browser and Zope.


Dieter