[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: Good article on consistent hashing
timfox
do-not-reply at jboss.com
Wed Jul 1 05:54:45 EDT 2009
"ataylor" wrote : anonymous wrote :
| | When you talk about queues on each node I guess you really mean *consumers*.
| |
| | E.g. "If there are remote queues and we haven't yet bound to any queue...", should be "If there are remote consumers and we haven't yet bound to any consumer..."
|
| from what i understand on how clustering works we initially route the message in BindingsImpl and only know about remote queues not what consumers are on them
|
|
That's not the case. Each node knows about every consumer on every other node, including it's selector. By default JBM will never route messages to a node which doesn't have matching consumers.
You can turn that behaviour off by setting routeWhenNoConsumers = true in the cluster config (see docs).
anonymous wrote :
|
| which variant do you think is similar?
I don't know, but I know Paxos has been studied over many years by many computer scientists, so I'd be sceptical whether our requirements are satisfied by a completely different algorithm. Most likely your algorithm is already one of the variants or your algorithm doesn't satisfy one of our requirements fully.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241117#4241117
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241117
More information about the jboss-dev-forums
mailing list