"genman" wrote : 
  | Not sure... I would suggest bugging Adrian. :-)
  | 
  | It should be Round Robin by default, IMHO, but there's some reason he 
decided against it.

I implemented the "round robin" because you guys kept bugging me about it.
It was an FAQ, and still is. :-(

I didn't make it the default because it just isn't good practice to change 
semantics
on people, especially when it can only be considered "experimental" compared
to the previous implementation as it says on the WIKI page.

In many respects, the sticky behaviour (that isn't actually guaranteed - its 
just an
undocumented feature of Sun's HashSet implementation)
is good as well if one instance can keep up with the load. 

e.g. if the MDB is doing DB processing, that instance will already have 
relevant info
the cache.
e.g. you might want to avoid the contention of multiple servers competing for 
db locks,
although a singleton is better for the latter.

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

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


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to