Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5805

Non blocking page serialization (fixme: session leak)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • 1.4.23
    • None
    • wicket
    • None

    Description

      We have a performance issue with our Wicket 1.4 app, page serialization causes inconvenience to user because RequestCycle.detach() blocks the request until session.requestDetached() has been handled.

      We attempted to solve this issue by invoking session.requestDetached in a separate thread and thus allowing user to receive their request without waiting for page serialization in SecondLevelCachePageMap. The disk writing is already parallel, but serialization is blocking.

      What would be the best way to implement this? I have attached our (proposed) patches.

      Attachments

        1. patch-serialize.txt
          6 kB
          Martin Terra

        Activity

          People

            Unassigned Unassigned
            mmakundi Martin Terra
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: