tech/webdev magazine

February 14, 2017

Oli Callaghan: dynamic load balancing with docker and haproxy

Tuesday, February 14, 2017 Teklinks

Ok so recently, I was wondering, how can I load balance my Docker containers? The solution seemed simple, just run an Nginx reverse proxy in front of the containers and Bob’s your Uncle! Then I realised – it wasn’t. Despite the simplicity of this solution, it has one fatal flaw: you can’t really change it once its running, and you especially can’t change it programmatically.

Full article