On Thu, May 27, 2010 at 10:40 PM, DmitryM <[email protected]> wrote: > > Hello, guys > > I need your advice for the following case. > The Wicket application I'm working on is supposed to be deployed to Amazon > EC2 cloud. This way standard Tomcat (used as a webapp container) clustering > won't work (cloud doesn't accept multicasts). There is a third-party > session > manager available for Tomcat but it still needs sticky sessions from the > load balancer (which is not conceptually good for app scaling). > > I tried Hazelcast distributed data support (which allows for TCP unicasts) > as a PageStore implementation (thanks this blog post: > http://wicketbyexample.com/apache-wicket-clustering-with-multiple-options/ > ) > It works fine but needs session clustering (though Hazelcast makes > PageStore > available for each webapp instance already which seems to be an overhead. > And I would like to use Hazelcast alone for this kind of 'clustering'). > > My question is about non-sticky sessions w/o clustering. I can try to > extend > SecondLevelCacheSessionStore to get the PageStore/page map etc. from > Hazelcast and stick it to a newly created session (when load balancer > forwards a request to the server which is different from the session's > original server). > > But do I need to try to transfer something else except for the PageMap to > the fresh session (the webapp doesn't store anything in the Http session > directly)? > > I mean, does Wicket store anything else for its functional purposes in the > Http Session (which I may need to distribute via Hazelcast)? > > Thanks, > Dmitry > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Wicket-clustering-without-web-server-clustering-tp2234048p2234048.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > A lot of stuff is stored in the session:
https://svn.apache.org/repos/asf/wicket/branches/wicket-1.4.x/wicket/src/main/java/org/apache/wicket/Session.java -- Jeremy Thomerson http://www.wickettraining.com
