Re: Backend per-server rate limiting

2016-09-28 Thread Dmitry Sivachenko
> On 28 Sep 2016, at 10:49, Stephan Müller wrote: > > Hi, > > i want to configure a rate limit (say 100 http req/sec) for each backend > server like this: > > listen front > bind :80 > balance leastconn > server srv1 127.0.0.1:8000 limit 100 >

Backend per-server rate limiting

2016-09-28 Thread Stephan Müller
Hi, i want to configure a rate limit (say 100 http req/sec) for each backend server like this: listen front bind :80 balance leastconn server srv1 127.0.0.1:8000 limit 100 server srv2 127.0.0.2:8000 limit 100 As far i can see rate limiting is only supported for

Re: Backend per-server rate limiting

2012-08-08 Thread Willy Tarreau
Hi Andrew, On Tue, Aug 07, 2012 at 11:44:53PM -0600, Andrew Davidoff wrote: Hi, I'm trying to determine if haproxy can be configured to solve a rate limiting based problem I have. I believe that it can, but that I am not seeing how to put the configuration together to get it done. Here's

Re: Backend per-server rate limiting

2012-08-08 Thread Andrew Davidoff
Willy, Thanks for the quick response. I haven't fully digested your example suggestion yet but I will sit down with it and the haproxy configuration documentation and sort it out in my brain. Here's the basic idea of the use case. Let me go ahead and state that maybe haproxy just isn't the right

Re: Backend per-server rate limiting

2012-08-08 Thread Willy Tarreau
On Wed, Aug 08, 2012 at 12:51:23AM -0600, Andrew Davidoff wrote: Willy, Thanks for the quick response. I haven't fully digested your example suggestion yet but I will sit down with it and the haproxy configuration documentation and sort it out in my brain. Here's the basic idea of the use

Re: Backend per-server rate limiting

2012-08-08 Thread David Birdsong
On Tue, Aug 7, 2012 at 11:51 PM, Andrew Davidoff david...@qedmf.net wrote: Willy, Thanks for the quick response. I haven't fully digested your example suggestion yet but I will sit down with it and the haproxy configuration documentation and sort it out in my brain. Here's the basic idea of

Re: Backend per-server rate limiting

2012-08-08 Thread Andrew Davidoff
On Wed, Aug 8, 2012 at 1:12 AM, Willy Tarreau w...@1wt.eu wrote: These are precisely the types of issues that you won't have with the two-stage LB I gave in the example, because the load sent to the servers will be smoothed as much as possible and will never go beyond the configured limit.

Backend per-server rate limiting

2012-08-07 Thread Andrew Davidoff
Hi, I'm trying to determine if haproxy can be configured to solve a rate limiting based problem I have. I believe that it can, but that I am not seeing how to put the configuration together to get it done. Here's what I'm trying to do: I have a set of servers (backends) that can each handle a