Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Won't Fix
-
1.4.23
-
None
-
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.