You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Fridolin Jackstadt (JIRA)" <ji...@apache.org> on 2015/06/23 15:01:00 UTC

[jira] [Comment Edited] (WICKET-5933) Avoid serialization of untouched page after ajax request

    [ https://issues.apache.org/jira/browse/WICKET-5933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597612#comment-14597612 ] 

Fridolin Jackstadt edited comment on WICKET-5933 at 6/23/15 1:00 PM:
---------------------------------------------------------------------

This quickstart comes with a modified PageStoreManager, so the page is not touched every time it is resolved from session or disk store. This makes ajax requests two times faster.

Something similiar has been done in WICKET-3667, but rolled back.


was (Author: frido-lbm):
This quickstart comes with a modified PageStoreManager, so the page is not touched every time it is resolved from session or disk store.

Something similiar has been done in WICKET-3667, but rolled back.

> Avoid serialization of untouched page after ajax request
> --------------------------------------------------------
>
>                 Key: WICKET-5933
>                 URL: https://issues.apache.org/jira/browse/WICKET-5933
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.19.0
>            Reporter: Fridolin Jackstadt
>         Attachments: wicket-touch.zip
>
>
> We run into a disc and cpu bottleneck on a wicket page with 10000+ users, that uses ajax updates via polling (AjaxSelfUpdatingTimerBehavior). 
> The result of our investigation is that page store needs about 10ms for serialization, while the framework serializes the same data again and again. 
> Our application doesn't touch the page, but the AbstractPageManager does: 
> {noformat}
> IManageablePage page = getRequestAdapter().getPage(id); 
> if (page != null) 
> { 
>         getRequestAdapter().touch(page); 
> }
> {noformat}
> Therefore the requested page is always touched, but we couldn't figure out why. If it's possbile not to touch the page here (in some cases) that would solve the problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)