Description of problem: Engine validates each session with SSO as a separate request to check if the session is still valid. This causes issues when there are thousands of sessions. Version-Release number of selected component (if applicable): 4.0 How reproducible: Steps to Reproduce: 1. Create 1000 sessions 2. Check the logs to see session validation requests from engine to SSO Actual results: There are a 1000 requests going from engine to SSO Expected results: There should be only 1 request which retrieves status of all sessions
Ravi - is it something we can also push to 4.0.z?
We definitely want this to get to 4.0.z as this improvement has significant impact on performance for high number of open sessions (> 1000) as we saw on RHV.TLV
Verified with: rhevm-4.0.5.1-0.1.el7ev.noarch 2016-10-19 17:00:47,318 DEBUG [org.ovirt.engine.core.sso.servlets.OAuthTokenInfoServlet] (default task-23) [] Entered OAuthTokenInfo QueryString: null, Parameters : scope = ovirt-ext=token-info:public-authz-search, query_type = session-statuses, params = { "tokens" : [ "java.util.HashSet", [ "ltplyPKQzEpDXmsWkK0GRUe9Y-5wbmv8jyeU4qgnyJGDdhNaCdVRfc67s2Dz7JHNbWsNglBcxgdSAu0l6z51Xg", "EuWE-Cw0d-v4v40VLuAQT-Qcopp4slL0yx7uxkkR9-5LXi0WbZOYqJP3dT-o0scl9k_2zSIEEzaSCRrFOG4y_g", "GFlHqusQYPAMfRZS3OpBUDXAijhp8McvBjYW3NjrS9HQNk004gDB1-ZSqSiAwYx97poyvHoNuddKJECEmjxc_w", ...