[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Message order receipt assumptions

timfox do-not-reply at jboss.com
Tue Jun 26 04:23:19 EDT 2007


Currently JBM uses two JGroups channels:

1) A data channel for fast sending of unreliable messages across a network

2) A control channel for binding/unbinding queues, and various other "control" operations.

Up til now we haven't required the ordering guarantee for 2) to be any better than FIFO (order of messages sent from a particular node is maintained).

However, a new requirement has come up which, for a particular message only, we require each node to receive that message in the same order with respect to any view change messages on every node. Note this only applies to that message, for all other messages on the control channel they don't have to be in the same order with respect to view changes.

So... I was looking for some kind of virtual synchrony type protocol I could use with JGroups.

AFAICT JGroups supports a total ordering using a Singleton approach which should give us the ordering guarantee we need, but my worry is this might be a sledgehammer to crack a nut.

Any comments?

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

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



More information about the jboss-dev-forums mailing list