What is Docker Swarm and why You Need to Start using it - Deepstash
What is Docker Swarm and why You Need to Start using it

What is Docker Swarm and why You Need to Start using it

It’s a cluster comprised of a group of physical and virtual machines running the Docker Engine, these are called nodes.

One of the nodes is elected to be the Leader by using the Raft consensus algorithm. He make all the orchestration decisions for the swarm. In case of failure, a new leader it’s automatically elected.

Manager nodes assign tasks to Worker nodes. They can do some other managerial tasks. You want to have an odd number of managers, for reliability purposes. Having to many managers can degrade performance, it’s recommended to have at most 7.

4

55 reads

CURATED FROM

IDEAS CURATED BY

pvl

Ex Backend @deepstash

So you started development using a Docker architecture but you don’t know how to scale and deploy?

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates