Exercise 3 Scaling: Additional features
Additional Requirements: • Add a load-balancer between the front-end and the multiple back-end instances. • Your browser/front-end connects to the load balancer and the load-balancer connects to all back-end instances. • The load balancer should route requests to a running back-end. E.g., if you stop back- end one and reload the page, you should be routed to back-end two by the load balancer. • You can use any load balancer software that you want (e.g., haproxy, nginx, envoy, traefik, …) or use the docker “service” feature that can directly route requests to multiple containers without separate load-balancer software.