raft VS etcd

Compare raft vs etcd and see what are their differences.

raft

Golang implementation of the Raft consensus protocol (by hashicorp)

etcd

Distributed reliable key-value store for the most critical data of a distributed system [Moved to: https://github.com/etcd-io/etcd] (by coreos)
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 etcd
7 6
7,845 35,604
1.5% -
6.0 9.5
2 days ago about 3 years ago
Go Go
Mozilla Public License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

raft

Posts with mentions or reviews of raft. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-07.

etcd

Posts with mentions or reviews of etcd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-31.
  • A Detailed Brief About Offence and Defence on Cloud Security - Etcd Risks
    1 project | dev.to | 28 Oct 2022
    1 project | /r/TutorialBoy | 3 May 2022
    When building Kubernetes and configuring the Etcd service, if there is a misconfiguration or vulnerability risk point mentioned in the previous chapter, an attacker can use the Etcd risk point to launch an attack. We list the common attack methods of attackers here, and guide readers to understand the risks and threats faced by the Etcd service by means of attack and defense. Before we start to introduce common attacks, let's first understand a common etcd command line tool - etcdctl. etcdctl is a command line client that provides some concise commands. Users can interact with etcd services directly using the commands provided by etcdctl without using the HTTP API. It can be downloaded from the following address: https://github.com/coreos/etcd/releases Next, we analyze several attack scenarios one by one. the exposure way of public network
  • Using etcd as primary store/database?
    1 project | /r/codehunter | 11 Jul 2022
    Can etcd be used as reliable database replacement? Since it is distributed and stores key/value pairs in a persistent way, it would be a great alternative nosql database. In addition, it has a great API. Can someone explain why this is not a thing?
  • rqlite, the light distributed database built with Go and SQLite, v7.2 now with autoclustering via DNS and DNS SRV
    9 projects | /r/golang | 31 Jan 2022
    rqlite gives you the functionality of a rock solid, fault-tolerant, replicated relational database, but with very easy installation, deployment, and operation. With it you've got a lightweight and reliable distributed relational data store. Think etcd or Consul, but with relational data modelling also available.
  • How to Set Up PostgreSQL High Availability with Patroni
    1 project | dev.to | 27 Jul 2021
    ● etcd.service - etcd - highly-available key value store Loaded: loaded (/lib/systemd/system/etcd.service; enabled; vendor preset: enabled) Active: active (running) since Wed 2021-07-07 04:42:33 UTC; 4s ago Docs: https://github.com/coreos/etcd man:etcd Main PID: 1525 (etcd) Tasks: 9 (limit: 2353) Memory: 19.7M CGroup: /system.slice/etcd.service └─1525 /usr/bin/etcd
  • cant remove etcd
    1 project | /r/pop_os | 22 Apr 2021
    Docs: https://github.com/coreos/etcd

What are some alternatives?

When comparing raft and etcd you can also consider the following projects:

serf - Service orchestration and management tool.

rqlite - The lightweight, distributed relational database built on SQLite.

tendermint - ⟁ Tendermint Core (BFT Consensus) in Go

Olric - Distributed in-memory object store. It can be used as an embedded Go library and a language-independent service.

torrent - Full-featured BitTorrent client package and utilities

hcloud-cloud-controller-manager - Kubernetes cloud-controller-manager for Hetzner Cloud

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

bcache - Eventually consistent distributed in-memory cache Go library

DHT - BitTorrent DHT Protocol && DHT Spider.

ringpop-go - Scalable, fault-tolerant application-layer sharding for Go applications

yamyams - Not another markup language. Framework for replacing Kubernetes YAML with Go. [Moved to: https://github.com/kris-nova/naml]