etcd VS consul

Compare etcd vs consul and see what are their differences.

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)

consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure. (by hashicorp)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
etcd consul
6 57
35,604 27,808
- 0.8%
9.5 9.9
about 3 years ago 3 days ago
Go Go
Apache License 2.0 GNU General Public License v3.0 or later
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.

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

consul

Posts with mentions or reviews of consul. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-23.
  • Deploy Secure Spring Boot Microservices on Amazon EKS Using Terraform and Kubernetes
    13 projects | dev.to | 23 Nov 2023
    The JHipster scaffolded sample application has a gateway application and two microservices. It uses Consul for service discovery and centralized configuration.
  • The Complete Microservices Guide
    17 projects | dev.to | 21 Sep 2023
    Service Discovery: Microservices need to discover and communicate with each other dynamically. Service discovery tools like etcd, Consul, or Kubernetes built-in service discovery mechanisms help locate and connect to microservices running on different nodes within the infrastructure.
  • Replicating and Load Balancing Go Applications in Docker Containers with Consul and Fabio
    4 projects | /r/golang | 31 May 2023
    After some research and testing, I landed on using Consul and Fabio as the demo infrastructure. Of course, there is a myriad of other options to accomplish this task, but because of the low configuration and ease of use, I was impressed with this pairing. Both projects are mature and well-supported, and very flexible--just because you can run them with low configuration, doesn't mean you have to. I wanted to keep this demo constrained, but the exercise did get me excited about exploring things further: circuit breakers, traffic splitting, and more complex service meshes.
  • register open-telemetry to consul
    1 project | /r/hashicorp | 5 May 2023
    The goal is to be able to use Consul SD configurations to allow for retrieving scrape targets from consul. Is this possible? Can anyone provide an example? Thank you!!
  • Fly.io outage, recently deployed apps down, no new deployments possible
    2 projects | news.ycombinator.com | 15 Mar 2023
    https://github.com/hashicorp/consul/pull/12080 - this should be the Consul issue that brought down Roblox
  • Netdata release 1.38.0
    9 projects | /r/linux | 6 Feb 2023
    The Consul collector is production ready! Consul by HashiCorp is a powerful and complex identity-based networking solution, which is not trivial to monitor. We were lucky to have the assistance of HashiCorp itself in this endeavor, which resulted in a monitoring solution of exceptional quality. Look for common blog posts and announcements in the coming weeks!
  • Micro Frontends for Java Microservices
    6 projects | dev.to | 20 Jan 2023
    Changed the service discovery to Consul, since this is the default in JHipster 8.
  • Website monitoren
    1 project | /r/de_EDV | 2 Jan 2023
  • I Know What You Shipped Last Summer
    5 projects | dev.to | 20 Dec 2022
    In another effort to standardize development and operations, Lob has just wrapped up our container orchestration migration from Convox to HashiCorp’s Nomad, led by Senior Platform Engineer Elijah Voigt. In this new ecosystem, one feature available to us is Consul Service Mesh (a feature of Consul, which is part of our Lob Nomad stack).
  • a tool for quickly creating web and microservice code
    28 projects | dev.to | 15 Dec 2022
    Service registry and discovery etcd, consul, nacos

What are some alternatives?

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

raft - Golang implementation of the Raft consensus protocol

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

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

Eureka - AWS Service registry for resilient mid-tier load balancing and failover.

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

traefik - The Cloud Native Application Proxy

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

Caddy - Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

bcache - Eventually consistent distributed in-memory cache Go library

Apache ZooKeeper - Apache ZooKeeper

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

kubernetes - Production-Grade Container Scheduling and Management