----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Wilks, Dan
> Sent: Monday, April 03, 2000 3:52 PM
> To: 'Java Apache Users'
> Subject: RE: Speed problems with Apache/Jserv
>
>
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> I doubt I can help, but I am interested...
>
> You say Java Web Server/Windows - Do you mean Windows NT?
Yes.
> Are
> you using the
> exact same Java VM? Did you have the hot spot compiler and don't anymore?
I am using Sun's JDK 1.2.2. I am not sure what JVM Sun's Java Web Server 2
uses, though. I don't know anything about the product.
> What database are you using? How where you using in JWS vs JServ?
We are connecting to an Oracle 7 DB. Each machine accesses the same database
so the database is consistent across setups. In other words, the Windows/Sun
Java server attaches to the same database as the Apache/Jserv attaches
> Has the hardware changed?
The Apache/Jserv is on a dual Pentium 650. The Windows machine is a single
Pentium at a lower clock rate. However, since the Java itself is not that
CPU intensive (most of the work is done on the DB side), the CPUs do not
make a difference. If they did, I would expect the Windows machine to be
slower then the Apache/Jserv machine.
> Can you get someone to test the core functionality outside the servlet
> environment? Just have someone create a main function in your
> servlet that
> can be called directly from the command line. Time it in the old and new
> environments. Are they different? This will help you isolate where it's
> slower.
I will look into that. It sounds like a good idea. However, if I DO find out
that Sun's Java Webserver is faster, what do I do then? It seems that the
problem is in the JVM. Maybe switching in different JVMs?
> >From what I've read on this newsgroup, there is a slight overhead in the
> Apache/JServ connection that doesn't exist in JWS. It's
> definitely nowhere
> close to three seconds.
That is what I would think, too.
Thanks for the feedback,
Ben Ricker
US-Rx, Inc.
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]