[jboss-user] [JBoss Messaging] - Re: JBM clustered connection factory and load balancing

timfox do-not-reply at jboss.com
Fri Apr 11 03:58:03 EDT 2008


"jmesnil" wrote : 
  | The load balancing is not a true round robin: the local node is always favored if it can consume messages.
  | This avoids unnecessary network hops to send the message to another node if it can be consumed locally:
  | 
  | http://www.jboss.com/index.html?module=bb&op=viewtopic&t=133370
  | 
  | hope it helps,
  | jeff

We should be a bit careful about what terminology we use here.

Normally in JBM when we refer to "load balancing", we're referring to the load balancing of create connection requests across nodes of the cluster. I.e subsequent connections will be created on different nodes of the cluster - this is true round robin load balancing, and is enabled by the "supportsLoadbalancing" attribute on the connection factory.

Then there is another type of "load balancing" - but in JBM we call this "message redistribution" to avoid confusion.

Message redistribution is the movement of messages which are already in queues between nodes of the cluster according to load.

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

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



More information about the jboss-user mailing list