Ideally I would like to return 429 Too Many Requests.
 




-----Original Message-----
From: Willy Tarreau <[email protected]>
Date: Tuesday, February 9, 2016 at 11:27 PM
To: Chris White <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: Limiting the size of the backend queues

>On Tue, Feb 09, 2016 at 03:45:15PM +0000, Chris White wrote:
>> I have been looking at the documentation for haproxy and I can???t seem to
>> find anyway of limiting the size of each backend proxy queue. I can see how
>> to limit the queue size and number of connections handle by each of the
>> backend servers.  I can see how to configure the backend queue timeout, but
>> no way of actually limiting the total number of requests queued per backend
>> proxy. I really want to put limits on how many requests are queued per
>> backend proxy, is there anyway of doing this?
>
>Limiting is one thing, but what matters is what happens once the limit is
>reached. Are you sure you want to return a 503 in such a case ?
>
>Willy
>

Reply via email to