Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Docker Swarm
Docker Swarm

431
415
+ 1
207
etcd
etcd

148
120
+ 1
15
Add tool

Docker Swarm vs etcd: What are the differences?

What is Docker Swarm? Native clustering for Docker. Turn a pool of Docker hosts into a single, virtual host. Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself.

What is etcd? A distributed consistent key-value store for shared configuration and service discovery. etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It鈥檚 open-source and available on GitHub. etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master.

Docker Swarm belongs to "Container Tools" category of the tech stack, while etcd can be primarily classified under "Open Source Service Discovery".

"Docker friendly" is the top reason why over 44 developers like Docker Swarm, while over 7 developers mention "Service discovery" as the leading cause for choosing etcd.

Docker Swarm and etcd are both open source tools. It seems that etcd with 25.9K GitHub stars and 5.26K forks on GitHub has more adoption than Docker Swarm with 5.63K GitHub stars and 1.11K GitHub forks.

Docker, Bugsnag, and Hammerhead are some of the popular companies that use Docker Swarm, whereas etcd is used by Beam, Giant Swarm, and CNCFlora. Docker Swarm has a broader approval, being mentioned in 83 company stacks & 38 developers stacks; compared to etcd, which is listed in 27 company stacks and 11 developer stacks.

What is Docker Swarm?

Swarm serves the standard Docker API, so any tool which already communicates with a Docker daemon can use Swarm to transparently scale to multiple hosts: Dokku, Compose, Krane, Deis, DockerUI, Shipyard, Drone, Jenkins... and, of course, the Docker client itself.

What is etcd?

etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines. It鈥檚 open-source and available on GitHub. etcd gracefully handles master elections during network partitions and will tolerate machine failure, including the master.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose Docker Swarm?
Why do developers choose etcd?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Docker Swarm?
    What companies use etcd?

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Docker Swarm?
    What tools integrate with etcd?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Docker Swarm and etcd?
    Docker Compose
    With Compose, you define a multi-container application in a single file, then spin your application up in a single command which does everything that needs to be done to get it running.
    Rancher
    Rancher is an open source container management platform that includes full distributions of Kubernetes, Apache Mesos and Docker Swarm, and makes it simple to operate container clusters on any cloud or infrastructure platform.
    Ansible
    Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible鈥檚 goals are foremost those of simplicity and maximum ease of use.
    Apache Mesos
    Apache Mesos is a cluster manager that simplifies the complexity of running applications on a shared pool of servers.
    Kubernetes
    Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
    See all alternatives
    Decisions about Docker Swarm and etcd
    Yshay Yaacobi
    Yshay Yaacobi
    Software Engineer | 27 upvotes 292.5K views
    atSolutoSoluto
    Docker Swarm
    Docker Swarm
    Kubernetes
    Kubernetes
    Visual Studio Code
    Visual Studio Code
    Go
    Go
    TypeScript
    TypeScript
    JavaScript
    JavaScript
    C#
    C#
    F#
    F#
    .NET
    .NET

    Our first experience with .NET core was when we developed our OSS feature management platform - Tweek (https://github.com/soluto/tweek). We wanted to create a solution that is able to run anywhere (super important for OSS), has excellent performance characteristics and can fit in a multi-container architecture. We decided to implement our rule engine processor in F# , our main service was implemented in C# and other components were built using JavaScript / TypeScript and Go.

    Visual Studio Code worked really well for us as well, it worked well with all our polyglot services and the .Net core integration had great cross-platform developer experience (to be fair, F# was a bit trickier) - actually, each of our team members used a different OS (Ubuntu, macos, windows). Our production deployment ran for a time on Docker Swarm until we've decided to adopt Kubernetes with almost seamless migration process.

    After our positive experience of running .Net core workloads in containers and developing Tweek's .Net services on non-windows machines, C# had gained back some of its popularity (originally lost to Node.js), and other teams have been using it for developing microservices, k8s sidecars (like https://github.com/Soluto/airbag), cli tools, serverless functions and other projects...

    See more
    Interest over time
    Reviews of Docker Swarm and etcd
    No reviews found
    How developers use Docker Swarm and etcd
    Avatar of theskyinflames
    theskyinflames uses etcdetcd

    Set envrionment variables for Docker containers's apps.

    Avatar of Giant Swarm
    Giant Swarm uses etcdetcd

    etcd is a core component of our microservice platform.

    Avatar of Robert Hao
    Robert Hao uses etcdetcd

    I used etcd as high availability KV storage.

    How much does Docker Swarm cost?
    How much does etcd cost?
    Pricing unavailable
    Pricing unavailable