Skip to content

pritspatel/redis-leader-by-lock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-leader-by-lock

Simple implementation of Cluster Leadership Election using redis lock

Using Spring-Boot and Redis only

Motivation

Almost all examples of Leadership Election using Spring Boot go to Spring Cloud Cluster in Hazelcast (now deprecated) and Zookeeper(overpower in simple cases), and that's kinda strange, since Redis can use Set Lock to create an almost trivial Leadership Election. That's why I did it.

Requirements

Java 8

Maven

Redis

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages