Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3706

[Perf] Bulk resolve objects in table

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0
    • 2.1.0
    • Viewer Wicket
    • None

    Description

      When the Wicket Viewer renders a collection, it rehydrates each ObjectMemento (basically a Bookmark) one-by-one.  This can cause an N+1 style loading issue.

      Since the collection's state already knows has the full list of Bookmarks, and it knows which page of objects is to be displayed, we could have a preload phase whereby the viewer emits an event (say) and a listener in the JDO or JPA persistence store could use that as a hint to perform a bulk load of those objects in one go.

      Attachments

        Activity

          People

            Unassigned Unassigned
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: