<div dir="ltr"><div>Hey guys.</div><div><br></div><div>I'm trying to loadbalance my cache_peers based on which user is authenticated, so far this is what I came up with using the "userhash" loadbalance method:<br></div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:"Droid Sans Mono","monospace",monospace,"Droid Sans Fallback";font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(212,212,212)">cache_peer localhost parent 6667 0 no-query userhash </span><span style="color:rgb(86,156,214)">name</span><span style="color:rgb(212,212,212)">=proxy1</span></div><div><span style="color:rgb(212,212,212)">cache_peer localhost parent 6668 0 no-query userhash </span><span style="color:rgb(86,156,214)">name</span><span style="color:rgb(212,212,212)">=proxy2</span></div></div></div><div><br></div><div>This works, the same user is always sent to the same cache_peer, but the thing is I want specific users to go through specific peers.</div><div><br></div><div>For instance, user "dummy1" will always go to "proxy1" and user "dummy2" will go to "proxy2".</div><div><br></div><div>Is that possible?</div><div><br></div><div>Thanks<br></div><div><br></div><div><br></div></div>