Skip to content

blchinezu/BullyAlgorithm-LeaderElection-Chat

Repository files navigation

Bully Algorithm - Leader Election - Chat

A GO implementation of the Bully algorithm for Joe Hudson's chat example

This bully implementation is meant to be used as a module with callback functions. The actual usage of the module is in serverBully.go. As you'll see, it's very easy to use it.

The server state is not maintained when switching between leaders so the chat room is not remembered and stuff like that. For that, there should've been implemented a distributed fault tolerant database too.

screenshot.jpg

Releases

No releases published

Packages

No packages published