Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2647

Default value of 0 for session.validationinterval leads to poor performance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • 2.3.4
    • None
    • None
    • None

      The default value of 0 for session.validationinterval leads to poor performance. As the documentation says, it means that every single incoming request to the application will need to make at least one request out to Crowd. Currently when using SSO (i.e. the Crowd authenticator) it makes 2 connections to Crowd per request. One to validate the SSO token and one to get the SSO cookie configuration (see CrowdHttpAuthenticatorImpl#isAuthenticated) Since Confluence does this in a filter, it means even requests to fetch CSS, JS and other resource files make 2 requests. I measured the dashboard in Confluence 3.3 make 38 requests to Crowd in a single page load.

      We should really change the default value in the bundled properties file (and update the documentation) to a non-zero value so it looks up the user from the session until the validation interval is reached.

            jwalton joe
            nbhawnani Niraj Bhawnani
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified