Docker Community Forums

Share and learn in the Docker community.

Docker swarm load balancing with nginx


(Hoggar) #1

Do we need to balance the load via ngnix with the swarm mode in production?
If so, why do we have to do this? The Docker swarm balances the charge. I tested for a simple application. It has several strategies for load balancing.
Even the docker balances are loading, why are there so many articles on load balancing with ngnix in swarm mode?

what are the advantages and disadvantages of LB in terms of http traffic routing (HRM), is it necessary to set up another solution (nginx (+) or other alternative) in production?

thank you for your feedback.

(Manuel Andres Garcia Vazquez) #2

Try with