"lapoutre" wrote : 
  | is TomcatClusteringCache performant to store and replicate sessions ??
  | Is that takes much resources ???
  | 
Have a look at

http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html#clustering-http-state

>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.

"lapoutre" wrote : 
  | Should I prefere to store sessions in a particular database??
  | 
I do not think so. All common DBs perform quite well.

"lapoutre" wrote : 
  | 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:

http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss

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)

Regards,
Martin

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920372#3920372

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920372


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to