Hello Willy, 

   I am still unclear "how could 1 daemon HAProxy process handle thousands 
requests/connections simultaneously or concurrently?"  I thought the daemon 
should fork children to handle connections, but I could not see any children 
spawned  when did a load-test with 100 concurrent users.  Could you help me to 
understand it?

Thanks, Q.Xie



________________________________
 From: Willy Tarreau <[email protected]>
To: Qingshan Xie <[email protected]> 
Cc: Lukas Tribus <[email protected]>; "[email protected]" 
<[email protected]>; Nenad Merdanovic <[email protected]> 
Sent: Monday, July 1, 2013 3:26 PM
Subject: Re: Can HAProxy Reverse Proxy SSL to Backend?
 

Hi,

On Mon, Jul 01, 2013 at 03:06:36PM -0700, Qingshan Xie wrote:
> Hello Willy and Lukas, 
> 
> 
>     I have 3 questions regarding HAProxy listed below, Please help.
> 
> 1. Can HAProxy handle 1000 ACL lines in one frontend service? what it's limit?

There is no limit. ACLs by themselves do not hurt, they just consume
a little bit of memory. Using them is what you should care about. That
said, the worst config I have ever seen had 450000 ACLs and as many
"use_backend" rules. It was not very fast as you can imagine :-)

> 2. For 1 process of HAProxy, how many concurrent connections it can handle?

That can be configured in the global section for the process and
in each frontend section or in the default section for the services
themselves, please check the doc for this.

>  Can HAProxy configure Threads?

no.

> 3. Can HAProxy set a default frontend service?

I don't understand what you mean here.

Regards,
Willy

Reply via email to