RE: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-08 Thread Shapira, Yoav
List Subject: Re: Can AccessLogValve Cause Tomcat Performance Hit? You can try to use ExtendedAccessLogValve. It parses the pattern on initialization and uses and array and switch statement to determine what to print. (In the hope that it would be faster) OTOH - the problem could be the writing

Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Dan Barron
Hello, We are seeing a performance hit to our server whenever we turn on AccessLogValve for a virtual host in tomcat. Is this common or has anyone else experienced this? Any suggestions on how to configure for optimal performance? Below is the virtual host entry in server.xml - tomcat is

Re: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Tim Funk
Yes I can believe there is a performance hit. The valve reparses the string on every request. Since the Valve also uses a SimpleDateFormtatter - I think it is also restricted by the sync block imposed by that class. -Tim Dan Barron wrote: Hello, We are seeing a performance hit to our server

Re: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Remy Maucherat
Tim Funk wrote: Yes I can believe there is a performance hit. The valve reparses the string on every request. Since the Valve also uses a SimpleDateFormtatter - I think it is also restricted by the sync block imposed by that class. Another thing: If you enabled host lookup on the connector, it

RE: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Shapira, Yoav
Shapira Millennium Research Informatics -Original Message- From: Dan Barron [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 2:09 AM To: Tomcat Users List Cc: Dan Anderson Subject: Can AccessLogValve Cause Tomcat Performance Hit? Hello, We are seeing a performance hit to our

RE: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Dan Barron
-Original Message- From: Dan Barron [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 2:09 AM To: Tomcat Users List Cc: Dan Anderson Subject: Can AccessLogValve Cause Tomcat Performance Hit? Hello, We are seeing a performance hit to our server whenever we turn on AccessLogValve for a virtual

Re: Can AccessLogValve Cause Tomcat Performance Hit?

2004-04-07 Thread Tim Funk
: Dan Barron [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 2:09 AM To: Tomcat Users List Cc: Dan Anderson Subject: Can AccessLogValve Cause Tomcat Performance Hit? Hello, We are seeing a performance hit to our server whenever we turn on AccessLogValve for a virtual host in tomcat