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

Non blocking page serialization (fixme: session leak)

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Won't Fix
    • Affects Version/s: 1.4.23
    • Fix Version/s: None
    • Component/s: wicket
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: