[Varnish] #1595: Make hash director nice enough not to reshuffle clients

Varnish varnish-bugs at varnish-cache.org
Wed Sep 17 16:51:29 CEST 2014


#1595: Make hash director nice enough not to reshuffle clients
-------------------------+----------------------
 Reporter:  zviratko     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:
Component:  build        |     Version:  unknown
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+----------------------

Comment (by slink):

 If you want to go for the cookie based persistence, you can all of it in
 vcl. Use vmod cookie, set a cookie with an id for the backend you have
 chosen and then select the backend based on that cookie.

 Regarding non cookie-based persistence:

 If you were looking after a more stable hash director, this could help
 you: https://code.uplex.de/uplex-varnish/libvmod-vslp but in your case,
 VSLP won't help you. To the best of my knowledge, there is no vmod for
 varnish which would implement persistent sessions as f5 does and I don't
 think it would be a good idea anyway, because we would open a can of worms
 regarding distribution of state within varnish clusters.

 Finally, we don't use trac for enhancement request, so I'd suggest you
 either put your suggestion on [[Future_VMODS]] or contract someone to
 implement the feature you require.

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1595#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator



More information about the varnish-bugs mailing list