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
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
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
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
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
-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
: 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