durusmail: quixote-users: performance problems
performance problems
2002-07-26
2002-07-26
2002-07-26
2002-07-26
2002-07-26
performance problems
Eckhard Licher
2002-07-26
Hello,

after having explored several Python appservers, frameworks and the like (which
all have their specific pros and cons) I finally found quixote (by accident) and
I have to admit that I very much liked the concept instantly. Having not (yet)
gone much beyond the demo examples I already experienced severe performance
problems.

My workstation setup is as follows:
- Linux 2.2.18 (SuSE 7.2) running on a 700MHz Duron machine (640MB RAM)
- Apache 1.3.x
- Python 2.0 (gcc 2.95.x) w/ the compiler installed from the Python source
distribution

A typical request to a quixote-generated page via the demo.cgi driver takes
(depending on the page requested) between 2,4 and 3,5 seconds (!) on an
otherwise idle machine. For comparison: the legendary WelloWorld.py CGI program
takes some 60 ms to process and a more realistic Python CGI program including
access to a SQL database (including establishment of a new connection) takes
some 240 ms (MySQL) and 350 ms (PgSQL) on this machine.

There must be something terribly wrong with my setup. BTW, after running the
demo I did not find any byte-compiled ptlc files in demo directory even after
permitting the webserver to have write access to the relevant directory and
manually byte-compiling the ptl files in the demo dir did not enhance the
performance a bit.

Regards,

Eckhard


______________________________________________________________________________
WEB.DE MyPage - Ohne Computerkenntnisse in nur 5 Minuten online! Alles
inklusive! Kinderleicht!  http://www.das.ist.aber.ne.lustige.sache.ms/



reply