Docker Swarm and deploying like a pro - Deepstash
Docker Swarm and deploying like a pro

Docker Swarm and deploying like a pro

Ideas, facts & insights covering these topics:

3 ideas

Ā·

138 reads

9

Explore the World's Best Ideas

Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.

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.

3

55 reads

Swarm Service Networks

Swarm Service Networks

Overlay networks manage communications among the Docker nodes participating to the Swarm. Can also be used for service-to-service communication.

Ingress network is a special overlay network that facilitates load balancing among the Swarm nodes.

docker_gwbridge is a network connecting the containers running on a Docker daemonā€™s host. Also this network connects the overlay networks to a individual Docker daemonā€™s physical network

3

39 reads

You heard about Load-Balancers, Docker Swarm does  it Better

You heard about Load-Balancers, Docker Swarm does it Better

Just like a manager of a shipping company has to pick which ship is best used for caring a container, a Manager node ensures that container workloads are assigned to run on the most appropriate Worker node for optimal efficiency.Ā 

The ingress network handles the control and data traffic related to the swarm services and is used by the manager nodes to send workloads to the worker nodes.

3

44 reads

IDEAS CURATED BY

pvl

Ex Backend @deepstash

CURATOR'S NOTE

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