Sorry if I missed it, early on in the thread, but what servlets etc are you
testing the configurations with? In order to assess the performance of the
engine, you should be using simple, easily analysed servlets, doing a
minimum of functionality. Say, a snoop servlet, a session servlet, and
similar in JSP. If you're testing the whole app you've written, the engine
may be a small part of the performance overhead, ie if a request in 3.1
takes 50ms, and the servlet takes 500ms to produce the content, moving to
3.2 which *may* give 25ms for a similar call, will not actually produce a
large apparent gain in performance.
What kind of load are you running? The pool tcp connectors will only really
benefit high volume hits, again you're saving the time to construct an
object and garbage it, with only having to synch and do a stack pop.
If you've a lot of classes, reload=false will be a big benefit. Again, if
you're running a lot of code, jdk 1.3 will benefit your app and the engine.
Please supply more info on how you're testing this.
Ken.
[EMAIL PROTECTED] on 15/01/2001 13:51:11
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc: (bcc: Ken X Horn)
Subject: RE: Tomcat Performance Questions
Sorry, I forgot to mention that. I've tried mod_jk with AJP13 and without.
In both cases, the performance was about the same, which is to say not
terribly much better than mod_jserv.
I was *expecting* a big performance gain going from 3.1 to 3.2 (getting the
PoolTcpConnector) and from 3.2 jserv to 3.2 jk (with AJP13) (on account of
the faster/better protocol). But my results in these areas show only very
miniscule performance gains (unlike setting reload=false and changing from
JRE 1.2 to 1.3 --- those both gave real noticeable performance gains).
I haven't seen any sort of benchmark that compares jserv to jk.... despite
jk's claims to be faster. I was kind of hoping someone could refer me to
such a thing... perhaps this gain is far less pronounced than one might
hope?
Tomb
> -----Original Message-----
> From: Stefan Langer [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 15, 2001 1:54 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Tomcat Performance Questions
>
>
> One thing the documentation states is that you should use the
> AJP13 Protocol which is suppose to be faster. That connector
> is not configured in the default server.xml file. They use AJP12
> I have not tested this but you might want to give it a try.
>
> Stefan
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]