Leader election library

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • raft

    Golang implementation of the Raft consensus protocol

  • Depending on your exact needs, you could try HashiCorp's Raft implementation: https://github.com/hashicorp/raft

  • leaderelection

  • https://github.com/vimeo/leaderelection ­(from my team at $WORK) — RaceDecier is the interface you implement on top of whatever transactional store you have. It comes with an "in-memory" one for testing and a Google Cloud Storage one (using a write with a generation-match precondition as the atomic op). There's also a legrpc subpackage that provides a gRPC resolver that consistently directs requests to the current leader.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • raft

    Raft library for maintaining a replicated state machine (by etcd-io)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts