Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-122643

Avoid checking model segments with guest users

Details

    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

          Activity

            People

              cristina.gonzalez Cristina Gonzalez (Inactive)
              david.arques David Arques (Inactive)
              Javier Moral Javier Moral
              David Arques David Arques (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 21 weeks ago

                Packages

                  Version Package
                  7.2.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  7.3.X
                  7.4.13 DXP GA1
                  Master