Large number of (dynamic?) backends

Jonathan Matthews contact at jpluscplusm.com
Mon Mar 30 20:46:23 CEST 2015


On 30 Mar 2015 18:59, "Kevin Day" <toasty at dragondata.com> wrote:
>
> I have a use case where I need to be able to take an incoming request
like “/XXX/filename” and translate that to fetching “
http://nodeXXX.example.com/filename” where there’d literally be hundreds of
backend servers. i.e. XXX would be a varying 3 digit number.
>
> I saw this post here:
>
>
https://www.varnish-software.com/blog/truly-dynamic-backend-definition-varnish
>
> From 2012, but I know a lot has changed since then. Is there an easy way
this can be accomplished now?

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 :-)

Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20150330/5c86459d/attachment.html>


More information about the varnish-misc mailing list