SpringOne Platform 2016 Replay: Leadership Election With Spring Cloud Cluster [Video]
Spring Cloud Cluster can help your apps communicate by abstracting leader election so you can provide global state or ordering for your projects.
Join the DZone community and get the full member experience.Join For Free
Recorded at SpringOne Platform 2016.
Speaker: Dr. David Syer
Leader election allows applications to work together with other applications to coordinate a cluster leadership via a third party system. A leader can then be used to provide global state or global ordering, generally without sacrificing availability. In this presentation, we show how Spring Cloud Cluster provides a simple abstraction for leader election and how it is implemented using ZooKeeper, Hazelcast, and etcd.
Note that the 1.0.1 release deprecates everything in favor of code that now lives in Spring Integration.
Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.