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
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SaaSHub - Software Alternatives and Reviews
consul etcd
51 45
25,941 42,452
0.4% 0.6%
10.0 9.9
6 days ago 1 day 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.

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-01-20.
  • 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.
  • 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
  • GKE with Consul Service Mesh
    29 projects | dev.to | 3 Dec 2022
    The underlying tool Consul is very powerful, and Consul Connect service mesh on top of this tool is quite robust and extremely flexible where you can swap out the default CA for other solutions, like Vault CA, and swap out the Envoy proxy for another solution, like NGINX or HAProxy. For ingress into the cluster, you can use Consul API Gateway, or another API Gateway or an ingress controller.
  • What is the best solution to orchestrate Docker containers ?
    3 projects | reddit.com/r/docker | 11 Nov 2022
    I'd like to also mention hashicorp nomad + consul. They're worth evaluating.
  • What is a service mesh?
    6 projects | dev.to | 24 Oct 2022
    Out of the number of service mesh solutions that exist, the most popular open source ones are: Linkerd, Istio, and Consul. Here at Koyeb, we are using Kuma.
  • System Design: The complete course
    31 projects | dev.to | 16 Aug 2022
    Consul
  • Cloud Native Java Microservices with JHipster and Istio
    18 projects | dev.to | 28 Jun 2022
    A service mesh provides features to help with common distributed microservice challenges. Like service discovery, routing, load balancing, and so on. Today we will be using Istio, one of the most popular service mesh solutions available. Istio is tailored for distributed application architectures, especially those you might run in Kubernetes. Istio plays nicely with Kubernetes, so nicely that you might think that it's part of the Kubernetes platform itself. Istio isn't the only service mesh around; we also have platforms like Linkerd and Consul, which are also quite popular.
  • Controlling Elixir supervisors at runtime with feature flags
    4 projects | dev.to | 22 Jun 2022
    We knew that we needed a way, at runtime, to start and stop these queue consumers. Although we could have reached for other configuration management tools like Hashicorp Consul or AWS AppConfig, we already use LaunchDarkly at Knock to control the runtime behavior of our frontend and backend applications. LaunchDarkly feature flags seemed like a great way to control this starting and stopping process without adding new dependencies or complexity to our stack.
  • ECS Container map dns names
    2 projects | reddit.com/r/aws | 19 Jun 2022
    Since all of your apps are in the same environment, one possibility is to use a service registry like Consul or etcd. As a container comes up it registers itself by making a REST call to declare “I’m the Rabbit server!”. Then other apps call out to etcd with a REST query to ask “Where’s the Rabbit server?” and get the name of the Rabbit container. If you decide to start playing with HA or clustering, this can be extended so the service registry returns the name of the current primary node, or spreads traffic across multiple nodes by returning different responses based on rules you set up.

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-01-30.
  • How to get a head start into contributing to open source projects
    3 projects | reddit.com/r/cscareerquestions | 30 Jan 2023
    Step 0: You have a strong grasp on who uses the tool/product/service and for what purpose. That can take weeks, months, or years depending on the specific project you're contributing to. A little NodeJS module? Probably closer to days. etcd? Probably closer to months/years.
  • Secret Management in Kubernetes: Approaches, Tools, and Best Practices
    8 projects | dev.to | 23 Jan 2023
    etcd is not secure - etcd is where Kubernetes secrets are stored. Though etcd is a distributed key/value store with great performance, it lacks key features when it comes to handling sensitive data such as audit log, key rotation, and encryption of key.
  • 💡Hosted ETCD aaS
    2 projects | dev.to | 10 Jan 2023
    You know how Kubernetes is absolutely blowing up? Well there's one piece of technology that it all depends on -- etcd.
  • ETCD Backup with K10 / Kanister
    2 projects | reddit.com/r/kubernetes | 4 Jan 2023
    FROM quay.io/coreos/etcd:v3.5.0 as etcd FROM alpine:3.17 RUN apk add --no-cache tar # Taken from https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64 COPY --from=etcd /usr/local/bin/etcd /usr/local/bin/ COPY --from=etcd /usr/local/bin/etcdctl /usr/local/bin/ COPY --from=etcd /usr/local/bin/etcdutl /usr/local/bin/ COPY --from=etcd /etc/nsswitch.conf /etc/nsswitch.conf CMD ["/usr/local/bin/etcd"]
  • a tool for quickly creating web and microservice code
    28 projects | dev.to | 15 Dec 2022
    Service registry and discovery etcd, consul, nacos
  • Kubernetes: What It Is, How It Works, and Why It's A Game changer
    5 projects | dev.to | 3 Dec 2022
    Yes, Kubernetes, in fact, relies on a number of other free and open source software packages. As a base, it relies on the Docker container runtime and the CoreOS Linux distribution, and it utilizes other open source projects for a number of its components, such as etcd for distributed key-value storage. The tool's core and control plane are both built in GO programming language, making it a completely Go-based application. Kubernetes itself is an open source project and has been used as a building block for other open source projects.
  • A poor man's API
    9 projects | dev.to | 23 Nov 2022
    APISIX stores its configuration in etcd
  • How to choose the right API Gateway
    15 projects | dev.to | 22 Nov 2022
    Next, review deployment complexity such as DB-less versus database-backed deployments. For example, Kong does require running Cassandra or Postgres. Apigee requires Cassandra, Zookeeper, and Postgres to run, while other solutions like Express Gateway and Tyk only require Redis. Apache APISIX uses etcd as its data store, it stores and manages routing-related and plugin-related configurations in etcd in the Data Plane.
  • KWOK : mettre en place un cluster de milliers de nœuds en quelques secondes …
    9 projects | dev.to | 20 Nov 2022
    [email protected]:~# fake-k8s create cluster --name c1 Creating cluster "fake-k8s-c1" Download https://dl.k8s.io/release/v1.24.1/bin/linux/amd64/kubectl ############################################################| 100% 0s Download https://dl.k8s.io/release/v1.24.1/bin/linux/amd64/kube-apiserver ############################################################| 100% 1s Download https://dl.k8s.io/release/v1.24.1/bin/linux/amd64/kube-controller-manager ############################################################| 100% 6s Download https://dl.k8s.io/release/v1.24.1/bin/linux/amd64/kube-scheduler ############################################################| 100% 0s Download https://github.com/wzshiming/fake-kubelet/releases/download/v0.7.4/fake-kubelet_linux_amd64 ############################################################| 100% 2s Download https://github.com/etcd-io/etcd/releases/download/v3.5.4/etcd-v3.5.4-linux-amd64.tar.gz ############################################################| 100% 1s Starting cluster "fake-k8s-c1" Wait for cluster "fake-k8s-c1" to be ready Cluster "fake-k8s-c1" is ready > kubectl --context fake-k8s-c1 get node NAME STATUS ROLES AGE VERSION fake-0 Ready agent 1s fake fake-1 Ready agent 1s fake fake-2 Ready agent 1s fake fake-3 Ready agent 1s fake fake-4 Ready agent 1s fakeou un second … [email protected]:~# fake-k8s create cluster --name c2 Creating cluster "fake-k8s-c2" Starting cluster "fake-k8s-c2" Wait for cluster "fake-k8s-c2" to be ready Cluster "fake-k8s-c2" is ready > kubectl --context fake-k8s-c2 get node NAME STATUS ROLES AGE VERSION fake-0 Ready agent 0s fake fake-1 Ready agent 0s fake fake-2 Ready agent 0s fake fake-3 Ready agent 0s fake fake-4 Ready agent 0s fake [email protected]:~# fake-k8s get clusters c1 c2
  • Acorn: A lightweight PaaS for Kubernertes, from Rancher founders
    11 projects | news.ycombinator.com | 27 Aug 2022

What are some alternatives?

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

minio - Multi-Cloud :cloud: Object Storage

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

Apache ZooKeeper - Apache ZooKeeper

traefik - The Cloud Native Application Proxy

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

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

kubernetes - Production-Grade Container Scheduling and Management

nsq - A realtime distributed messaging platform