Hacker GitHub

← All repos

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

Mentions per year 22 mentions · busiest year 2022 (4)
20082026
  1. Now there's three of them https://github.com/hashicorp/raft
  2. 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
  3. …failure rate. This way I can change my behavior according to current network conditions. [0] - https://github.com/hashicorp/raft
  4. …loss, etc is moot since the SQLite database is not the authoritative store of data in rqlite. [3] https://github.com/hashicorp/raft
  5. …primary use case is not about making it easy to build other distributed systems on top of it. [1] https://github.com/hashicorp/raft
  6. …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
  7. …I would wager the test suite is comparable to how commercial Raft implementations are tested (e.g. https://github.com/hashicorp/raft )
  8. …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…
  9. …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…
  10. …something like this: https://docs.google.com/presentation/d/1Q8lQgCaODlecHa2hS-Oe... [1] https://pkg.go.dev/github.com/hashicorp/raft#FSM
  11. …build one for typescript. Code is quite good to read and Go ins't that far away from typescript. https://github.com/hashicorp/raft
  12. 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
  13. actually it's using "github.com/hashicorp/raft" and not its own version. So since Hashicorp survived Aphyr test, it should be fine.
  14. …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
  15. …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
  16. …( https://github.com/boltdb/bolt ) which is a core component of Hashiscorp's Raft implementation ( https://github.com/hashicorp/raft ).
  17. …(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…
  18. …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
  19. 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
  20. …implementation requires is that it implements a certain interface. Check the docs: https://godoc.org/github.com/hashicorp/raft
  21. …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
  22. 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…