| Summary: | Cache portal config for the scope of the requess | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Prabhat Jha <prabhat.jha> |
| Component: | unspecified | Assignee: | mposolda |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.1.0.GA, 5.1.1.GA | CC: | jmorgan, theute |
| Target Milestone: | --- | ||
| Target Release: | 5.2.1.GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-594 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-30 16:53:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Prabhat Jha
2010-10-29 13:26:15 UTC
Link: Added: This issue depends GTNPORTAL-1610 Labels: Added: EPP_5_2_1_Candidate Labels: Removed: EPP_5_2_1_Candidate Release Notes Docs Status: Removed: Not Required Added: Not Yet Documented Release Notes Text: Added: Issue is outdated and probably it has been already fixed in 5.2.0 as well. So I am not sure if it needs to be documented or not, so I am adding status to "Not Yet Documented" for now. I am adding some info if needed. PROBLEM: There was small performance problem that downloading some portal configuration objects from IDM and JCR database were repeated more times per HTTP single request. So it was not ideal because we had more redundant calls with same parameters. CAUSED BY: Missing caching of UserPortalConfig object. RESOLUTION: Now when PortalRequestContext.getUserPortalConfig is called first time per HTTP request, then UserPortalConfig object is cached. Other calls to PortalRequestContext.getUserPortalConfig within same HTTP request are using object from cache and they don't need to send another requests to persistent storages like IDM or JCR. Release notes not needed (I don't see "-" flag) |