Will LB be load balanced by launching multiple web servers with docker on one server?

Asked 2 years ago, Updated 2 years ago, 124 views

Place docker in VPS and launch multiple web server containers.
Suppose you put nginx in the host and load balance each container when accessing it.

Does this work for load balancing?

Each server container is load balanced, but
I think the load on the host will not change...

docker docker-compose

2022-09-30 21:18

2 Answers

Running multiple containers for Web servers in a single server does not balance the load, but rather adds the overhead of running the containers and adds up.


2022-09-30 21:18

Isn't it availability, not load balancing?
1 Even if the process dies, the service will continue, right?


2022-09-30 21:18

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.