-
Bug
-
Resolution: Fixed
-
Highest
-
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.
- is related to
-
CONFSERVER-23362 Change bundled crowd.properties session.validationinterval to 2 to prevent poor performance
- Closed
-
BAM-13560 Change bundled crowd.properties session.validationinterval to 2 to prevent poor performance
- Closed
-
BDEV-3246 Loading...