Go Raft

Open-source Go projects categorized as Raft | Edit details

Top 10 Go Raft Projects

  • GitHub repo etcd

    Distributed reliable key-value store for the most critical data of a distributed system

    Project mention: Context in struct | reddit.com/r/golang | 2022-01-21

    See https://github.com/etcd-io/etcd/issues/12124 for an example how they broke etcd, by renaming a package in thier code.

  • GitHub repo rqlite

    The lightweight, distributed relational database built on SQLite

    Project mention: Consider SQLite | news.ycombinator.com | 2021-12-29

    I've always thought it interesting that there was a time when large(ish) websites were hosted using servers that would struggle to outperform a modern smart toaster or wristwatch, and yet modern web applications tend to demand a dramatic distributed architecture. I like the examples in this article showing what a single modern server can do when you're not scaling to Google's level.

    As an aside, what about distributed derivatives of sqlite, like rqlite, as a response to the criticism that sqlite requires your database server to also be your web server. Could something like rqlite also provide a way for an sqlite database to grow into a distributed cluster at a later point?


  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo easegress

    A Cloud Native traffic orchestration system

    Project mention: Easegress: An all-rounder traffic orchestration system | news.ycombinator.com | 2021-06-16
  • GitHub repo dragonboat

    A feature complete and high performance multi-group Raft library in Go.

    Project mention: Is it possible to have more than 1 master available for writes in a raft system? | reddit.com/r/golang | 2022-01-03

    This is the best open source implementation I've seen that does what you're asking about: https://github.com/lni/dragonboat

  • GitHub repo uhaha

    High Availability Raft Framework for Go

    Project mention: IceFireDB:Distributed disk storage database based on Raft and Redis protocol. | reddit.com/r/software | 2021-08-21
  • GitHub repo dragonboat-example

    Examples for Dragonboat

    Project mention: Is it possible to have more than 1 master available for writes in a raft system? | reddit.com/r/golang | 2022-01-03

    Yes, "joint consensus" took me a while to comprehend. If you check dragonboat examples there is one ( https://github.com/lni/dragonboat-example/tree/master/ondisk ) which shows how to perform migrations between nodes simply by copying snapshots. There are few open questions (eg. how does it scale up? does it always need to copy everything to target node first or could it be reimplemented with option for streaming?) but it looks quite promising.

  • GitHub repo easyraft

    Easy to use Raft library to make your app distributed, highly available and fault-tolerant

    Project mention: [Raft] Highly available, distributed, fault-tolerant Go apps the easiest way! | reddit.com/r/golang | 2021-12-14
  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo raft-grpc-example

    Example code for how to get hashicorp/raft running with gRPC

    Project mention: Raft Consensus Protocol | news.ycombinator.com | 2021-11-04

    In general Hashicorp's repos are high quality:


    Example application: https://github.com/Jille/raft-grpc-example

  • GitHub repo raft

    raft is a golang library that provides a simple, clean, and idiomatic implementation of the Raft consensus protocol (by shaj13)

    Project mention: Github shaj13/raft : golang implementation of the Raft consensus protocol | reddit.com/r/golang | 2021-12-13
  • GitHub repo raftkv

    A simple distributed key-value store by using hashicorp/raft

    Project mention: Which one will you pick as a Raft library? | reddit.com/r/golang | 2022-01-01

    FYI: This is another example from me. https://github.com/kei6u/raftkv

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-01-21.

Go Raft related posts


What are some of the best open-source Raft projects in Go? This list will help you:

Project Stars
1 etcd 38,543
2 rqlite 9,317
3 easegress 4,194
4 dragonboat 4,066
5 uhaha 366
6 dragonboat-example 131
7 easyraft 55
8 raft-grpc-example 50
9 raft 34
10 raftkv 2
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.