Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Clustering Using Akka instead of infinispan

asked 2014-12-30 01:22:46 -0700

anonymous user


Hi All, I have two questions :

1) In the new release ,ODL is using Akka in order to solve cluster issues , Can anyone expiation what were the considerations to use Akka instead of Infinispan ?

2) In the implementation the Raft protocol is mentioned , Can any one explain what is Raft used for ? Is it to implement the cluster node communication ? Why does gossip protocol that Akka uses by default doesn't good enough ?

Thanks, Yafit (ECI)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-09-09 12:16:48 -0700

gwu gravatar image

Akka was selected over Infinispan primarily for two reasons:

  • Storing tree structures efficiently (Yang models)
  • Supporting data change notifications

The Raft protocol is used for leader elections among the replicas of each shard. The shard leader is responsible for coordinating the three-phase commit (3PC) protocol used by ODL clustering to ensure strong consistency in its data store, but the 3PC communications are distinct from the Raft protocol.

edit flag offensive delete publish link more
Login/Signup to Answer


Asked: 2014-12-30 01:22:46 -0700

Seen: 579 times

Last updated: Sep 09 '15