--> Tuesday, August 19, 2003, 9:06:23 PM, you wrote:
> This seems like a common topic lately.
I know why.
> How are you running PSPs? In Webware / Mod_python / J2EE Engine???
mod_webkit is the adaptor I use with Apache for Webware.
> How are you measuring speed?
> Are you testing a 'Hello World' app or a real world App?
Both and more, with ApacheBench. The primary differences noted between
Python platforms are their relative overhead costs per request. PHP always
wins in this category for the zero-cpu 'Hello World' benchmark, but that
is acceptable. Other benchmarks are more important and these are the ones
servlets execute relatively slowly.
> Are your servlets taking advantage of the fact that they are servlets?
> or are they just PHP style code in classes?
They are just code in classes. Code in writeContent if I remember right.
> I use Webware for all tasks where I care about generating complex data
> and maintaing the code a year from now. I have to admit I still use PHP
> for trivial work such as http://www.metrony.com/clippy/WebwareClippy.php
I am not convinced the Clippy has answers I find acceptable. My concern is
not that servlets are too slow and I need to buy a 'bigger box', but that
they seem erroneously slow compared to other similar Python solutions, which
themselves compare well against more popular web platforms. They are also
much slower than PSP. Are PSP pages basically compiled to Servlets?