Hi, Check http://ci.apache.org/projects/wicket/guide/6.x/guide/internals.html#pagestoring
The latest used page per user session is kept in the http session. It is a *live*, detached but not serialized java object. If Wicket cannot find it there then it will look for a serialized version of the page in the disk store. Later a page is stored to the page storages only if it was touched (see org.apache.wicket.page.IPageManager#touchPage) during the request cycle. So I guess in your case you have many writes to the disk because the page is loaded from the http session and then touched due to some logic in your application. Please check the user guide, see what exactly happens in your app and give more details so we can find a solution. Martin Grigorov Freelancer. Available for hire! Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jun 22, 2015 at 3:11 PM, Fridolin Jackstadt <[email protected]> wrote: > 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 and deserializes the same > data > again and again. > > The question is: is it possible to use a kind of "copy on write"-strategy > in > IPageStore, that keeps always the latest verison of the page in memory? > > At least for non-versioned pages it should be possible, but IManageablePage > does not expose if the page is versioned or not. For versioned pages it's > maybe not possible, because modifications are applied before the PageStore > has a chance to make a copy of the page. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-avoid-serialization-of-page-after-ajax-request-tp4671295.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
