NGINX stale-while-revalidate cluster

Joan Tomàs i Buliart joan.tomas at marfeel.com
Fri Jul 7 10:30:28 UTC 2017


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


More information about the nginx mailing list