Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-2874

Loading and saving documents from/to the database with a lot of objects can take a long time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 1.7 M3
    • Model
    • patch
    • Awaiting Contributor feedback

    Description

      It seems pages get very slow to load when documents have lots of objects attached to them. For example a page with 10000 comments will load slowly.

      We need to find a strategy or practice (generic or not) that allows XWiki pages to load fast even when they have lots of objects.

      The main problem seems to be that the store handle every single object property as an independent hibernate request, producing tons of those. And logic is the same for both load and save.

      The delete can take quite a while too.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmassol Vincent Massol
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: