Re: Experimental patch: Consistent Hashing with Bounded Loads

2016-09-19 Thread Andrew Rodland
On Thursday, September 15, 2016 4:06:15 AM EDT Willy Tarreau wrote: > Hi Andrew, > > On Wed, Sep 14, 2016 at 02:44:26PM -0400, Andrew Rodland wrote: > > On Sunday, September 11, 2016 7:57:41 PM EDT Willy Tarreau wrote: > > > > > Also I've been thinking about this issue of the infinite loop that >

Re: Experimental patch: Consistent Hashing with Bounded Loads

2016-09-19 Thread Willy Tarreau
Hi Andrew, On Mon, Sep 19, 2016 at 11:32:49AM -0400, Andrew Rodland wrote: (...) > I haven't found the cause of this, or been able to pin it down much further > than that it happens fairly reliably when doing a "haproxy -sf" restart under > load. OK I'll have to test it. > Other than that, I

Re: How to control traffic like linux TC, instead of reject it?

2016-09-19 Thread Lukas Tribus
Hello JWD, all your emails are arriving, there is no need to double or triple post your questions. Please stop doing that. When you say "control traffic like linux TC", do you mean traffic shaping? Haproxy doesn't support traffic shaping as far as I know. Lukas

Re: selecting backend based in server's load

2016-09-19 Thread Dmitry Sivachenko
> On 19 Sep 2016, at 23:42, Dmitry Sivachenko wrote: > > Hello, > > imagine the following configuration: > > frontend F1 > use_backend BACKUP_B1 if B1_IS_FULL > default_backend B1 > > backend B1 > server s_i > ... > server s_j > > backend BACKUP_B1 > server b_i > ... >

Re: [PATCH] MAJOR: filters: Add filters support

2016-09-19 Thread Christopher Faulet
Le 18/09/2016 à 04:17, Bertrand Jacquin a écrit : > Today I noticed data corruption when haproxy is used for compression > offloading. I bisected twice, and it lead to this specific commit but > I'm not 100% confident this commit is the actual root cause. > > HTTP body coming from the nginx

Re: [PATCH] MAJOR: filters: Add filters support

2016-09-19 Thread Bertrand Jacquin
On Mon, Sep 19, 2016 at 10:08:32AM +0200, Christopher Faulet wrote: > Le 18/09/2016 à 04:17, Bertrand Jacquin a écrit : > > Today I noticed data corruption when haproxy is used for compression > > offloading. I bisected twice, and it lead to this specific commit but > > I'm not 100% confident this

selecting backend based in server's load

2016-09-19 Thread Dmitry Sivachenko
Hello, imagine the following configuration: frontend F1 use_backend BACKUP_B1 if B1_IS_FULL default_backend B1 backend B1 server s_i ... server s_j backend BACKUP_B1 server b_i ... server b_j - frontend F2 use_backend BACKUP_B2 if B2_IS_FULL default_backend B2 backend B2 server s_k