New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LPS-123084 POC obtain user segments only when it is needed #505
Conversation
To conserve resources, the PR Tester does not automatically run for every pull. If your code changes were already tested in another pull, reference that pull in this pull so the test results can be analyzed. If your pull was never tested, comment "ci:test" to run the PR Tester for this pull. |
d4d1bb2
to
fc4f873
Compare
fc4f873
to
d40b526
Compare
ba5b50e
to
ef7634a
Compare
ci:test:tango |
ci:test:echo |
✔️ ci:test:tango - 6 out of 6 jobs passed in 1 hour 24 minutesClick here for more details.Base Branch:Branch Name: master Copied in Private Modules Branch:Branch Name: master-private ci:test:tango - 6 out of 6 jobs PASSED6 Successful Jobs:
For more details click here. |
Jenkins Build:test-portal-acceptance-pullrequest(master)#3965 |
Jenkins Build:test-portal-acceptance-pullrequest(master)#7410 |
@david-gutierrez-mesa can you take a look, if the Echo failures have something related to the PR? |
ci:test:echo |
Jenkins Build:test-portal-acceptance-pullrequest(master)#7295 |
Hi @cgoncas and @david-gutierrez-mesa, |
Closing this PR, since this solution is already merged into master |
Motivation
The method getSegmentsEntryIds is called in every request that receives the Liferay server. It decreases the performance of the server.
Proposed solution
Move the code from the SegmentsEntryPreAcction to where it is used.
Performance Results
With this fix, the results are almost as good as not use segmentation.
You can check the full results in this document.