[jboss-dev-forums] [Design of Clustering on JBoss (Clusters/JBoss)] - Re: Transaction Sticky LB policy for 4.2/trunk
galder.zamarreno@jboss.com
do-not-reply at jboss.com
Fri Aug 31 12:00:12 EDT 2007
"bstansberry at jboss.com" wrote : Don't assume the client uses a transaction. A requirement for JBAS-4455 is that the LBP impl has to work the same as the existing impls if there is no tx in effect.
|
| 1) If you only create a RoundRobin version of this, and people configure it for an SFSB, a client that doesn't start a tx can't get sticky session semantics (FirstAvailable). Even if they do start w/ a tx, they become unstuck if they keep using the bean after they commit the tx.
|
| 2) People who want Random semantics if no tx is in effect also can't have that.
|
| 3) Same for FirstAvailableIdenticalAllProxies.
Yeah, you're right on this. So, I believe you suggest that I create different versions of TxLoadBalancePolicy which default on the ones mentioned above (as well as RR) if no transactions are running, correct?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4080068#4080068
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080068
More information about the jboss-dev-forums
mailing list