Skip to content

Latest commit

 

History

70 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages