Cluster State

280 views
Skip to first unread message

Rob Bakker

unread,
Aug 4, 2010, 8:35:38 AM8/4/10
to Akka User List
Hi,
We are implementing an application which needs a high performance and
availability. To accomplish this, we’re duplicating the server part of
our application on multiple nodes into a cluster and using a load
balancer to dispatch the messages to the nodes. But our server
application needs a shared state. So we need to send messages reliable
to all the nodes to update the state. Can we use Cluster.relayMessage
for this? Will each message be delivered to all the group members, in
the identical order, when using the relayMessage method (Virtual
synchrony)?
And receives the sending node also the message sent or only the other
Cluster members?
And what happens with the messages when one node crashes and is
restarted. Does it get the missed messages or can we get a state
update from a group member, like the group state of the JGroups API?
And when we have to implement it ourselves with JGroups, can this
interfere with the AKKA-Cluster implementation

Rob

Viktor Klang

unread,
Aug 4, 2010, 8:59:45 AM8/4/10
to akka...@googlegroups.com
Hi Rob,

There'll be a much more advanced clustering solution in the commercial Akka offering, if you are interested in hearing more about it, I can send you a product sheet.

The OSS clustering solution is based upon JGroups, so most of your questions would be answered by the JGroups documentation.

Cluster.relayMessage will be sent to all nodes, but a node will not process messages that itself sent. So the effect becomes that it's sent to all except the sender.

Does this help?

BRs


--
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/akka-user?hl=en.




--
Viktor Klang
| "A complex system that works is invariably
| found to have evolved from a simple system
| that worked." - John Gall

Akka - the Actor Kernel: Akkasource.org
Twttr: twitter.com/viktorklang

Rob Bakker

unread,
Aug 6, 2010, 5:27:27 AM8/6/10
to Akka User List
ThanX

Your reply does help, to make a decision. But I'm afraid that we have
to implement this cluster State by our self with JGroups
And we already had contact about the commercial Akka offering. (I'm
working on the same project as Ray Roestenburg)

Greetings Rob

Reply all
Reply to author
Forward
0 new messages