consul VS etcd

Compare consul vs etcd and see what are their differences.

consul

Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure. (by hashicorp)

etcd

Distributed reliable key-value store for the most critical data of a distributed system (by etcd-io)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
consul etcd
57 61
27,774 46,345
0.6% 1.0%
9.9 9.9
4 days ago about 12 hours ago
Go Go
GNU General Public License v3.0 or later 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.

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

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 2023-11-16.
  • Oracle Linux 8.8'de PostgreSQL 13 Yedekli Yapı Nasıl Kurulur? - Patroni, ETCD, HAProxy
    1 project | dev.to | 7 Dec 2023
    sudo dnf -y install curl wget vim ETCD_RELEASE=$(curl -s https://api.github.com/repos/etcd-io/etcd/releases/latest|grep tag_name | cut -d '"' -f 4) echo $ETCD_RELEASE wget https://github.com/etcd-io/etcd/releases/download/${ETCD_RELEASE}/etcd-${ETCD_RELEASE}-linux-amd64.tar.gz tar xvf etcd-${ETCD_RELEASE}-linux-amd64.tar.gz cd etcd-${ETCD_RELEASE}-linux-amd64 sudo mv etcd* /usr/local/bin ls /usr/local/bin /usr/local/bin/etcd --version
  • Transitioning from more traditional OOP like C# to Go, what are the biggest coding style differences.
    2 projects | /r/golang | 16 Nov 2023
    Reading the standard library will give you ideas/insight about various Go idiomatic patterns/approaches, and you can see a full website/API implementation in the pkg.go.dev repository (https://github.com/golang/pkgsite). Projects like https://github.com/etcd-io/etcd may be interesting too.
  • Fault Tolerance in Distributed Systems: Strategies and Case Studies
    4 projects | dev.to | 18 Oct 2023
    Failure Detection and Recovery It’s not enough to have backup systems. It’s also crucial to detect failures quickly. Modern systems employ monitoring tools and rely on distributed coordination systems such as Zookeeper or etcd to identify faults in real-time: once detected, recovery mechanisms are triggered to restore the service.
  • 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.
  • How is Apache APISIX Fast?
    6 projects | dev.to | 13 Sep 2023
    APISIX uses etcd to store and synchronize configurations.
  • Apache APISIX without etcd
    3 projects | dev.to | 27 Jul 2023
    etcd is an excellent key-value distributed database used internally by Kubernetes and managed by the CNCF. It's a great option, and that's the reason why Apache APISIX uses it too. Yet, it's not devoid of issues.
  • From /etc to database
    1 project | /r/BSD | 11 Jul 2023
    Someone on HN (https://news.ycombinator.com/item?id=36682595) suggested etcd (https://etcd.io)
  • Evaluating Apache APISIX vs. Spring Cloud Gateway
    3 projects | dev.to | 22 Jun 2023
    In traditional mode, APISIX stores its configuration in etcd. APISIX offers a rich API to access and update the configuration, the Admin API. In standalone mode, the configuration is just plain YAML. It's the approach for GitOps practitioners: you'd store your configuration in a Git repo, watch it via your favorite tool (e.g., Argo CD or Tekton), and the latter would propagate the changes to APISIX nodes upon changes. APISIX reloads its configuration every second or so.
  • Implementing a distributed key-value store on top of implementing Raft in Go
    5 projects | news.ycombinator.com | 25 May 2023
  • RedisRaft
    2 projects | news.ycombinator.com | 6 May 2023
    I am not sure neither. But this might overcome the etcd's soft storage limit of 8GB? [1]

    [1] https://github.com/etcd-io/etcd/issues/9771

What are some alternatives?

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

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

minio - The Object Store for AI Data Infrastructure

traefik - The Cloud Native Application Proxy

Vault - A tool for secrets management, encryption as a service, and privileged access management

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

Apache ZooKeeper - Apache ZooKeeper

nsq - A realtime distributed messaging platform

kubernetes - Production-Grade Container Scheduling and Management

CoreDNS - CoreDNS is a DNS server that chains plugins