This content has been marked as final. Show 2 replies
is TomcatClusteringCache performant to store and replicate sessions ??
Is that takes much resources ???
Have a look at
From my experience session replication has indeed an impact on performance. If you use a sticky-session cluster (see below) you should evaluate if you really need session replication.
Should I prefere to store sessions in a particular database??
I do not think so. All common DBs perform quite well.
What king of load ballancer should I use???
have I to use the JBoss AS as load ballancer exclusively ???
Should I use an hardware load ballancer??
Depends on your needs. The common solution is to
use mod_jk and apache, this is well documented in the wiki:
I suggest to use the sticky-session model, it prevents you from some
trouble (ie singletons that hold state and stuff) and also reduces the need
for session replication (a session then is only lost if a cluster node
goes down, and only the sessions attached to that node are lost), you
have to evaluate if this justifies to replicate every session.
A hardware loadbalancer is always a pretty neat option, we use both
(hardware lb to some apaches, apaches to tomcat, all session-sticky)
tks for your advice