How to select a backend from a vmod?

Per Buer perbu at varnish-software.com
Mon Dec 10 10:50:47 CET 2012


Hi David,



On Mon, Dec 10, 2012 at 2:47 AM, J David <j.david.lists at gmail.com> wrote:

>
> I wrote a rudimentary "magic" vmod from which magic.map returns a
> string, but that's unacceptable because VCL wants a backend object
> there, not a string.  And even this approach requires all the backends
> to be predefined, which seems like a hassle as we add more to handle
> growth.
>
> Is there an efficient way to approach this?
>

Currently I think the most efficient approach would be the DNS director.


-- 
 <http://www.varnish-software.com/> *Per Buer*
CEO | Varnish Software AS
Phone: +47 958 39 117 | Skype: per.buer
We Make Websites Fly!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20121210/06aef040/attachment.html>


More information about the varnish-misc mailing list