Hi Lucas On 07/07/17 12:12, Lucas Rolff wrote:
Instead of doing round robin load balancing why not do a URI based load balancing? Then you ensure your cached file is only present on a single machine behind the load balancer.
Yes, we considered this option but it forces us to deploy and maintain another layer (LB+NG+AppServer). All cloud providers have round robin load balancers out-of-the-box but no one provides URI based load balancer. Moreover, in our scenario, our webservers layer is quite dynamic due to scaling up/down.
Best, Joan _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx