[PATCH] add documentation about backend naming for VMOD authors

Poul-Henning Kamp phk at phk.freebsd.dk
Mon Nov 2 11:47:14 CET 2015


--------
In message <CABoVN9Ay2PPDRBGfowo1LZTActqg9ty=O+22_KkBB0fbGUNXmA at mail.gmail.com>, Dridi Bouke
lmoune writes:

>I don't think it's a good idea to leave the end-user with unnamed
>backends in the VSL that don't even appear in the CLI and VSM, or
>confusing names in the CLI/VSM because of name collisions auto-repair.

I think you are thinking far too narrow about backend.

Imagine vmod-cgi.

It would create a backend good only for a single request and it
doesn't have an IP#, cannot be polled and cannot in any meaningful
way be set healthy/sick.

Why would you ever name that backend or show it in the CLI ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list