zheng li wrote:
>
> Hi,
>
> I could not find any performance comparisons on net. Do any one know how
> does Jsp compare vs. Asp vs. cgi-perl vs. Php vs. mod-perl for doing
> following tasks:
> 1. database access assuming mySQL
> 2. non database
How do you want to benchmark it? It's not that easy. As a case study - I
moved one of my projects from mod-perl to JSDK. The performance
increased very drastically. Why?
1. I would need about 600MBs of memory in my server, while now 128MB is
more than sufficient.
2. I can integrate web applications with external apps in a single
process which gives me a lot of features and I don't have to use
frequent resource checks - I can use better mechanisms like
notifications and direct modifications of internal data.
3. I can share a lot of useful data between concurrent and successive
requests.
4. Becouse of (3) I was able to reduce database load 3 times.
Then - how can you compare which language is faster? Some problems
implemented in Java gave me 4000% better performance than in Perl due to
availability of better data model, better structures, strictier typing,
etc.
So, again - what is the correct meaning of database vs non-database
tasks? I mean - in terms of benchmarks.
-- Mike
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html