Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7671109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:58:32+00:00 2026-05-31T15:58:32+00:00

The short question is, is there is a definitive, quantifiable overhead to using AccessLogValve

  • 0

The short question is, is there is a definitive, quantifiable overhead to using AccessLogValve over FastCommonAccessLogValve?

If I enable access logging in JBoss 4.2.3GA, I can either use FastCommonAccessLogValve or AccessLogValve (as documented at http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html). FastCommonAccessLogValve is optimised for production use, but will not allow me to log the time that the request took to be processed, which is the key information I am after.

I have run some comparative load tests, placing my application under a light load, so that the overhead of AccessLogValve is not hidden by longer processing times caused by the server load. However any overhead of AccessLogValve compared to FastCommonAccessLogValve or no logging, is smaller than the variation I’m getting from the application itself. For example, compared to a benchmark with no logging valve, I got tests that took on average 99.7% of the time (with AccessLogValve enabled), 103.4% of the time (another run with AccessLogValve enabled), or 105.4% of the time (with FastCommonAccessLogValve) enabled.

Does this range of results suggest the overhead is ~ 5%? Or do I need to spend the time so that my load-test produce much more consistent timings without the logging enabled? It’s a complex application, so I’m not sure if this would be possible

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:58:33+00:00Added an answer on May 31, 2026 at 3:58 pm

    I think you are doing the right thing by trying to benchmark your application. The only way to understand the performance impact is to benchmark with and without AccessLogValve.

    The developers of AccessLogValve have gone to great lengths to optimize the performance of the valve, at least with the most common patterns the performance is negligible (1-3% in my tests).

    Having said that its really hard to say for certain without doing those benchmarks.

    Hope this is helpful.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Short Question Using my examples below, is there a Pythonic way to share my_object
Short version question : Is there navigator.mozIsLocallyAvailable equivalent function that works on all browsers,
The short question, is there an off the self function to make a graph
Just a very short question about DropBox - is there any way to find
Short question. Dojo's query module always returns an array of nodes. Is there any
Short Question Are there any compelling reasons to update Django 1.2.5 to 1.3? If
Hi there I have a short question about database design. I also tried the
This is sort of a follow-up to this question . If there are multiple
Short question: Do any of MS's built in Data Objects support INotifyPropertyChanged? Long explination:
Short question - how do you define your view models? Here are some of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.