hashicorp/raft
View on GitHub ↗ ★ 9,160 Go
Golang implementation of the Raft consensus protocol
22 mentions on Hacker News by 16 people: 0 stories, 22 comments · first 2014-04-17 · latest 2026-08-11
20082026
-
Now there's three of them https://github.com/hashicorp/raft
comment by formerly_proven · 2026-08-11 · in Go is an ideal language for AI-assisted software engineering -
Anyone else came thinking to find something on the Raft consensus library[1]? [1] https://github.com/hashicorp/raft
comment by marjancek · 2025-07-22 · in Raft Consensus Algorithms -
…failure rate. This way I can change my behavior according to current network conditions. [0] - https://github.com/hashicorp/raft
comment by nzach · 2024-12-13 · in Designing a distributed circuit breaker in Golang -
…loss, etc is moot since the SQLite database is not the authoritative store of data in rqlite. [3] https://github.com/hashicorp/raft
comment by otoolep · 2024-08-11 · in Building a highly-available web service without a database -
…primary use case is not about making it easy to build other distributed systems on top of it. [1] https://github.com/hashicorp/raft
comment by otoolep · 2024-08-06 · in Building rqlite 9.0: Cutting disk usage by half -
…code is not difficult to understand even if you don't. [1] https://github.com/otoolep/hraftd [2] https://github.com/hashicorp/raft
comment by otoolep · 2024-02-08 · in A distributed systems reading list -
…I would wager the test suite is comparable to how commercial Raft implementations are tested (e.g. https://github.com/hashicorp/raft )
comment by valzam · 2023-05-25 · in Implementing a distributed key-value store on top of implementing Raft in Go -
…about using the hashicorp one before [2, 3]. [0] https://pkg.go.dev/go.etcd.io/etcd/raft/v3 [1] https://github.com/hashicorp/raft [2] https://notes.eatonphil.com/distributed-postgres.html [3] https://notes.eatonphil.com/minimal-key-value-st…
comment by eatonphil · 2022-10-03 · in Raft Is So Fetch: The Raft Consensus Algorithm Explained Through Mean Girls -
…on from reading the post - the documentation for the Apply() method on the Raft type ( https://pkg.go.dev/github.com/hashicorp/raft#Raft.Apply ) mentions that "This must be run on the leader or it will fail". With the code as written, it…
comment by DylanSp · 2022-05-18 · in Let's build a distributed Postgres proof of concept -
…something like this: https://docs.google.com/presentation/d/1Q8lQgCaODlecHa2hS-Oe... [1] https://pkg.go.dev/github.com/hashicorp/raft#FSM
comment by otoolep · 2022-05-17 · in Let's build a distributed Postgres proof of concept -
…build one for typescript. Code is quite good to read and Go ins't that far away from typescript. https://github.com/hashicorp/raft
comment by njme · 2022-05-09 · in Looking for a TypeScript Implementation of Raft -
In general HashiCorp's repos are high quality: https://github.com/hashicorp/raft Example application: https://github.com/Jille/raft-grpc-example
comment by jekude · 2021-11-04 · in Raft Consensus Protocol -
actually it's using "github.com/hashicorp/raft" and not its own version. So since Hashicorp survived Aphyr test, it should be fine.
comment by skyde · 2021-06-10 · in Rqlite 6.0: the evolution of a distributed database design -
…still tricky to get right. As far as I know, the only widely used, battle tested Raft implementation is github.com/hashicorp/raft. Which is why so many distributed systems are being built on golang over the last few years. I don't know if…
comment by nvarsj · 2021-03-31 · in Kafka without ZooKeeper -
…development and community testing advantages but without requiring more operational overhead. 1. https://github.com/hashicorp/raft
comment by manigandham · 2020-05-17 · in Kafka Removing Zookeeper Dependency -
…( https://github.com/boltdb/bolt ) which is a core component of Hashiscorp's Raft implementation ( https://github.com/hashicorp/raft ).
comment by otoolep · 2020-05-09 · in In Search of an Understandable Consensus Algorithm (2014) [pdf] -
…(for instance see this issue about how leader leases are implemented in the Go library for Raft: https://github.com/hashicorp/raft/issues/108 ). I'm sorry, but you're going to have to get your hands dirty if you want something that's both…
comment by judofyr · 2020-05-09 · in In Search of an Understandable Consensus Algorithm (2014) [pdf] -
…to the new node I suggest you read the Raft paper, and study the Hashicorp Go implementation ( https://github.com/hashicorp/raft ) to see how this is done. It's all there. >As far as Google went with their paper; they were incredibly…
comment by otoolep · 2018-04-06 · in Distributed SQLite for Go applications -
I implemented dqlite in Go for convenience (a production-ready raft library was available, github.com/hashicorp/raft). It'd be interesting to implement something similar in C or event batter in rust, so you can link the library from…
comment by free-ekanayaka · 2018-04-06 · in Distributed SQLite for Go applications -
…implementation requires is that it implements a certain interface. Check the docs: https://godoc.org/github.com/hashicorp/raft
comment by otoolep · 2016-07-19 · in Show HN: A reference use of Hashicorp's Raft implementation -
…etcd? 2) Why use the hashicorp raft implementation[1] over the coreos raft implementation[2]? [1] https://github.com/hashicorp/raft [2] https://github.com/coreos/etcd/tree/master/raft
comment by vishvananda · 2015-11-05 · in Stable release of Flynn – open-source container deployment -
The consistent key-value store portion is built using a new implementation of Raft ( https://github.com/hashicorp/raft ) as opposed to the well-known goraft ( https://github.com/goraft/raft ). Would be interesting to compare and contrast…
comment by allengeorge · 2014-04-17 · in Consul: Distributed service discovery and configuration in Go