Docker Swarm and deploying like a pro - Deepstash

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.

4

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

4

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.

4

44 reads

CURATED BY

pvl

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

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving & library

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Personalized recommendations

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