Re: How to load-balance on AWS with standalone Tomcats

2015-03-10 Thread Martin Grigorov
Hi, In that case I think you don't need custom IPageStore too. It will be redundant. When a request comes Wicket tries to load the page from the HTTP session first. If it is found there then it stores it at the end of the request cycle both in the http session and in the disk (IPageStore). Since

RE: How to load-balance on AWS with standalone Tomcats

2015-03-10 Thread Daniel Del Castillo
Hi Martin, Thanks a lot for your prompt response, that's very helpful. With regards the session affinity, we'll have a Tomcat Session Manager, which is going to serialise sessions into ElastiCache, configured for each Tomcat instance with the same parameters and this should free us from sticky

RE: How to load-balance on AWS with standalone Tomcats

2015-03-10 Thread Daniel Del Castillo
Thanks for the input! I will let you know how it goes. Cheers! DDC -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: 10 March 2015 11:18 To: users@wicket.apache.org Subject: Re: How to load-balance on AWS with standalone Tomcats Hi, In that case I think you

How to load-balance on AWS with standalone Tomcats

2015-03-09 Thread Daniel Del Castillo
Hi list, One of the modules of our application is completely written in Wicket 1.4.17. This application runs on a single standalone Tomcat installation. We now need to move this to AWS servers and ensure the service is 24/7 available. We are looking to have multiple Tomcat instances (not a

Re: How to load-balance on AWS with standalone Tomcats

2015-03-09 Thread Martin Grigorov
Hi, I think it would be much simpler if you use Tomcat clustering support. Wicket 1.4.x is a bit old but as far as I remember the support for it in Wicket has been introduced with 1.4.1 so it should work fine in 1.4.17. But if Tomcat clustering in not an option for you for some reason then: -