Hi,

On Tue, Jan 26, 2010 at 1:21 PM, Willy Tarreau <[email protected]> wrote:
[...]
>> * Is there a cleverer way to do it ? I mean : if I have 2000 domains
>> hosted on the cluster, it means 2000 ACL and 2000 backend sections :
>> Not really easy to maintain... Do I have a generic way to handle
>> domains ?
>
> Right now, there is not. However, I have started to work on a draft
> for generic QoS per any criterion relying on the new stickiness code.
> That way you could create many classes of limitations and decide whether
> a request is subject to that limitation. You could then have limits per
> backend, per frontend, per server, and per source IP, header, etc...
>
> I think I will start doing that for 1.5, as 1.4 is getting very close
> to a release, I don't want to break anything now.

Great news !


>> * Is that method really usable for so much domains ? I guess that this
>> kind of ACLs will need a *lot* of CPU to handle several hundreds of
>> requests by second for the 2000 hosted domains (and also a lot of
>> memory ?).
>
> Indeed it's becoming huge. I think that just hundreds of requests per
> second will not be a problem, but it seems to be complicated to manage
> and a bit overkill.

Ok, we'll make a try with the current configuration (more than 5000
domains : the generated haproxy conf file has a size of 4.3 Mb !), and
we'll see if it can be handled by a simple Celeron with 2 Gb of RAM.


Fabien

Reply via email to