Hi Lukas,

The thing is I need to return a custom error page with a certain http
code if the rate is exceeded. However, limiting maxconn value
doesn't allow me to operate on http level obviously.

The way it works is pretty much what I need if only the counter could be
dropped every 10 seconds.

On Friday, 12 August 2016, Lukas Tribus <[email protected]> wrote:

> Hello,
>
>
> Am 12.08.2016 um 17:01 schrieb Artem Lalaiants:
>
>> Hello,
>>
>> I'm trying to limit traffic based on the amount of http requests load
>> balancer handles at the moment.
>>
>
> The way to do this is to use maxconn on the various parts of haproxy
> (backend, frontend, servers etc). This also includes a global maxconn
> value. Haproxy is engineered to handle "maxconn" load, and will do the
> right thing if that value is exceeded.
>
> I don't think doing this manually is a good idea.
>
>
>
> Lukas
>
>

-- 
Artem Lalaiants
Infrastructure Engineer, GeoComply
skype: artem.kharkov
www.geocomply.com

-- 
 

*CONFIDENTIALITY NOTICE: The information contained in this email message is 
intended only for use of the intended recipient. If the reader of this 
message is not the intended recipient, you are hereby notified that any 
dissemination, distribution or copying of this communication is strictly 
prohibited. If you have received this communication in error, please 
immediately delete it from your system and notify the sender by replying to 
this email.*

Reply via email to