PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-36171

UX performance of staging with versionning and branching enabled is poor when the site becomes large

    Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Story Points:
      2
    • Similar Issues:
      Show 5 results 

      Description

      The amount of coordination required to track and select layout revisions results in a significant number of DB operations some of which are not well optimized, or simply cause caches to churn (lots of misses, or more insertions than max elements) when not well tuned. Also, since the coordination is handled by proxies, repeated creation of proxies produces lots of expensive overhead.

        Activity

        Hide
        Raymond Auge added a comment -

        Note: Caching the proxies in a thread local is only possible because during a single request, it's only possible to be operating on a single LayoutSetBranch and LayoutBranch.

        Furthermore, even if any single Layout is determined to not have a revision in the current branch, the resolution of the LayoutRevision will still only be to one single of each LayoutSetBranch and LayoutBranch which will result in a 1:1 mapping of proxy to thread.

        Show
        Raymond Auge added a comment - Note: Caching the proxies in a thread local is only possible because during a single request, it's only possible to be operating on a single LayoutSetBranch and LayoutBranch. Furthermore, even if any single Layout is determined to not have a revision in the current branch, the resolution of the LayoutRevision will still only be to one single of each LayoutSetBranch and LayoutBranch which will result in a 1:1 mapping of proxy to thread.

          People

          • Assignee:
            Ginson Ren
            Reporter:
            Raymond Auge
            Recent user:
            Esther Sanz
            Participants of an Issue:
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Days since last comment:
              2 years, 11 weeks, 4 days ago

              Development

                Structure Helper Panel