Skip to content

GianlucaBresolin/LeaderElectionGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeaderElectionGo

A leader election implementation among a cluster of nodes in Go, exploiting the thread-safe primitives offered by the runtime, without sharing memory between concurrent goroutines (i.e. without the use of mutex).

Concurrency is achieved through actors.

The leader election model is based on the Raft Consensus Algorithm (Raft paper).

To run a cluster of nodes locally through Docker, use the following commands:

docker build -t leaderelectiongo .

docker compose up --build

Go

About

A leader election implementation among a cluster of nodes in Go, exploiting the thread-safe primitives offered by the runtime, without sharing memory between concurrent goroutines (i.e. without the use of mutex).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors