How to deploy broadleaf in cluster
Posted: Mon Feb 09, 2015 6:05 am
by songdragon
As "Scalabililty White Paper 2013" described, broadleaf can de deployed in cluster? How to deployed it? There will be many tomcat server, how to make session shared between different servers?
Thanks!
Re: How to deploy broadleaf in cluster
Posted: Mon Feb 09, 2015 1:07 pm
by phillipuniverse
For session sharing, try using the Memcached session manager:
https://code.google.com/p/memcached-session-manager/. We have had good success with using this in production. The Redis one not so much.
Even if you are deploying Broadleaf in a cluster with a shared session manager you will want to turn sticky sessions on for caching regions. EHCache is local to each server and while there won't be any problems if your users end up on another Tomcat box, sticky sessions will let you give them pre-cached results.