<p dir="ltr">On 30 Mar 2015 18:59, "Kevin Day" <<a href="mailto:toasty@dragondata.com">toasty@dragondata.com</a>> wrote:<br>
><br>
> I have a use case where I need to be able to take an incoming request like “/XXX/filename” and translate that to fetching “<a href="http://nodeXXX.example.com/filename">http://nodeXXX.example.com/filename</a>” where there’d literally be hundreds of backend servers. i.e. XXX would be a varying 3 digit number.<br>
><br>
> I saw this post here:<br>
><br>
> <a href="https://www.varnish-software.com/blog/truly-dynamic-backend-definition-varnish">https://www.varnish-software.com/blog/truly-dynamic-backend-definition-varnish</a><br>
><br>
> From 2012, but I know a lot has changed since then. Is there an easy way this can be accomplished now?</p>
<p dir="ltr">Modulo a significant advance in varnish dynamic backends I've missed, I'd do this with Varnish talking to one or more local or remote Nginx instances - it's trivial to implement that dynamic routing there. I wouldn't move to nginx alone however - varnish definitely does a better job of caching. IMHO & IME :-)</p>
<p dir="ltr">Jonathan</p>