Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
7.3.x, 7.2.x
-
Committed
-
TANGO | #47 DEV | Oct09-Oct23, TANGO | #48 DEV | Oct31-Nov13
Description
Motivation
Skip validations when no necessary to improve the segmentation performance: when the current user is the guest user (not sign in user) we don't need check whether the user belong to a segment with model criteria or not because the guest user is not part of the system, indeed the default user is not indexed.
Performance Results
Portal Version | Git Id | Session Count | Mean Time of Login | Portal CPU Usage (%) | DB CPU Usage (%) | Session count changes(%) |
---|---|---|---|---|---|---|
BaseLine | e1efdfd9 | 39050 | 262 | 96,96,96 | 0,0,0 | |
Segment(100 segments) | e1efdfd9 | 1624 | 249 | 53,50,49 | 6,6,6 | -95.84122919 |
With this solution the results are (Test 18):
Portal Version | Git Id | Session Count | Mean Time of Login | Portal CPU Usage (%) | DB CPU Usage (%) | Session count changes(%) |
---|---|---|---|---|---|---|
BaseLine | e1efdfd9 | 39050 | 262 | 96,96,96 | 0,0,0 | |
Segment(100 segments) | e1efdfd9 | 1624 | 249 | 53,50,49 | 6,6,6 | -95.84122919 |
Segment(100 segments) | e1efdfd9 | 2286 | 276 | 56,56,55 | 7,7,7 | -94.14596671 |
Attachments
Issue Links
- causes
-
LPS-125752 Logged in segment is not matched for false value
- Closed
- is a dependency of
-
LPS-120006 Performace issues with segments due to excesive Elasticsearch queries
- Closed