I have a dual PIII 1GHz, 1GB RAM box at home that I've run tomcat/java 1.3.1
on and it's exceptionally fast. I suspect the ISP is talking from experience
with much older hardware. And as for rebooting, well that's garbage. I've
run a tomcat server for months at a time and only restart it when I upgrade
or make major changes - I never have to reboot the machine. Of course if the
ISP is managing the system for you and doesn't want to support your
configuration, then that's another story.

Jason.

-----Original Message-----
From: Abhijit Hiremagalur [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 27 November 2001 10:32 AM
To: [EMAIL PROTECTED]
Subject: Slightly Offtopic: JVM slows a webserver down???


Ladies and Gentleman,

I'm currently working on a few websites for a friend who will be hosting
these on his own server. Since he has his own server he basically said that
I could use pretty much any language/platform that I wanted to. The server
is in the process of being setup by his ISP so he asked me to send them a
list of SW that I would require to be installed on the server. Here's what I
sent them.

 > Hi Allan, (ISP)
 >
 > Our Hardware:
 > Main Webserver:
 > Dual PIII 1GHz
 > 1GB ECC SDRAM
 > 2 x 17GB SCSI HDD(Mirrored)
 > 1 x 10/100 NIC
 >
 > The SW that we require:
 > Apache
 > Caucho Resin 2.3 (mod_caucho installed as an apache module)  > Java SDK
1.3.1  > Java Enterprise Edition 1.2.1  > MySQL  > Sendmail  > Ssh  > Bind 9


Here is the response that I received from the ISP.

 > The JVM and java apps are going to bog the machine down so much it's not
funny.  > Also the server WILL have to be rebooted anywhere between 3-4 and
7 days as the JVM itself  > is not perfected yet, as a result it WILL
eventually loose memory and slow down considerably..  > The best comparison
ATM I can suggest is Netscape 4.7x & netscape 6.x  > 4.78 is native C code
6.x is Java App over JVM  >  > Comparisons, machine(450Mhz,128MB)  >
Netscape browser  > Function 4.x 6.x  >
--------------------------------------------
 > Loading 5 secs 25+ secs
 > PageRender 5-10 secs 30+ secs
 > NewWindow 0.5 secs 15+ secs
 > CloseWindow 0.2 Secs 4 secs
 > CPULoad 3.5% 33%
 > Memory 15% 27%
 >
 > As you can see Java is somewhat slow and hungry in comparison to native
Applications.  > That's just a single client application  > Apache, mySQL,
Sendmail, imap, pop3, etc as allan has will happliy run on 300MHz , 128MB  >
Though you might want 500Mhz+ 256MB for the Java Servlets  > The bottom line
is I would be reluctant to build a machine that performs so slowly and
unreliably,  > yes unreliable from NOT Linux base but the JVM running on
top.  > I would prefer to build and support a machine that is less 'feature
rich' but reliable & fast  > than one that 'supports anything' that requires
reboots to 'fix'  >  > UNIX is not Windows

Now I don't have enough experience to present a strong case for Java,and was
therefore wondering if any of you could help me out with this. I will only
be running JSP's/Servlets/Beans on the server, no other Java 'Apps' as such.

Has anyone else experienced the need to reboot a server with a JVM installed
every 3-5 days??

Is the JVM not perfected yet????

Can anyone see any other possible problems that we might have with the SW I
requested?

Could someone compare Resin with the alternatives like Tomcat or Jetty in
terms of perfomance, ease of setup etc.

Without JDK installed the only alternative that I see if using Perl or PHP
to do all my development.. this isn't a pretty thought.... Thanks again,
though I'm not active participant in this group I read most of the posts and
find them most helpful.

Regards,

Abhijit.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set
JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to