>>> "Alvin, lau" <[EMAIL PROTECTED]> 7/12/99 9:41:02 AM >>>
>hi nic,

Hi Alvin

>Okay, let me change the question, how can i make servlet run faster
than
>php? Which vm i have to use than, I'm using the one from
blackdown(1.1.7),
>is the one from ibm faster? do i have to change the servlet engine
like
>jrun(I'm using jserv, and jswdk-ea)?

There are many issues other than VM as well.

See Cezar's recent mail in reply to your message (his point about the
architecture of PHP is a good one).

One of the most important things for us at BT was using Sun
hardware.

I hate to say it, because I am a real exponent of free software, but
IMHO the best platform to run Java on is Sun.

There VM is the fastest I've ever seen, but I must admit, I don't
know much about IBMs.

There are lots of other things in addition to what Cezar has said:

- Java's maths is faster than PHP
- the language is richer (most of Talk21 is actually static data, I
challenge you to do this in PHP)
- the link to native code for real performance is improved depending
on the version of the libraries you use (that's why Sun's is soooo
good)
- thread control is easy peasy and fast

I could go on but the list is creaking already and the last thing it
needs is my hot air.

If I were you I would do a more complicated test and run 70 or 100
connections at it over a period of some time (hours).

See how stable the two are in comparison and I bet with a more
complicated test (let alone a new VM) you're servlets will go
quicker.


Nic

___________________________________________________________________________
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

Reply via email to