Hi Yasaman, You should create a couple of backend where you setup different weight per servers and use frontend capacity to route HTTP request using acls and use_backend.
Baptiste On Mon, Apr 7, 2014 at 7:30 AM, Yasaman Amannejad <[email protected]> wrote: > > Hi everyone, > > I have a specific need when load balancing. I want to set weight on servers > for each requested uri. For example, I want to send 10 of the requests of > uri1 to server 1, and 3 of them to server 2. And for uri2 I want to set > different weights on the servers. > > > - I would like to know if it is possible to do this with haproxy? (also I > need to update the weights while the system is running.) > > - If not possible with current haproxy features, where should I start to > implement this (I am not very familiar with Haproxy code). > > Any help is appreciated. > > > Thanks.

