You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Rose, John B" <jb...@utk.edu> on 2018/07/02 17:24:08 UTC

[users@httpd] Apache load balancer, etc

Have been comparing  Apache load balancing with some other possibilities

As expected can do just about anything you want with Apache but the performance testing between Apache load balancing and nginx, haproxy, lighthttpd has Apache noticeably slower.  

Any tips on config tuning to optimize Apache load balancing performance?

Any comments on open source software load balancers you folks have used that you recommend?

Thanks

Sent from my iPad
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache load balancer, etc

Posted by "Rose, John B" <jb...@utk.edu>.
At this point nGinx, HAProxy, Lighthttpd seemed ~equivalent in speed. Apache was slower however, read repose to Jim's comment and questions ....





Apache


Nginx


HAProxy


Lighttpd


Alter Ratio of Traffic to Hosts


Yes


Yes


Yes


?


Send to 2 Hosts


Yes


Yes


Yes


Yes


Implement Persistent Connection


Yes


Paid Only


Yes


Not Working


Handle HTTPS Connection


Yes


Yes


Yes


Yes


Terminate SSL at Load Balancer


Yes


Yes


Yes


Yes


Pass thru SSL Connection


Yes


Yes


Yes


Yes


Fail2Ban Compatibility


Yes


Yes


Yes


Yes


Pass X-Forwarded-For Value


Yes


Yes


Yes


?



________________________________
From: knobisoft@gmail.com <kn...@gmail.com> on behalf of Martin Knoblauch <kn...@knobisoft.de>
Sent: Tuesday, July 3, 2018 9:27:47 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache load balancer, etc

Hi John,

 care to share pointers to those comparisons? Curious myself ...

Thanks
Martin

On Mon, Jul 2, 2018 at 7:24 PM, Rose, John B <jb...@utk.edu>> wrote:
Have been comparing  Apache load balancing with some other possibilities

As expected can do just about anything you want with Apache but the performance testing between Apache load balancing and nginx, haproxy, lighthttpd has Apache noticeably slower.

Any tips on config tuning to optimize Apache load balancing performance?

Any comments on open source software load balancers you folks have used that you recommend?

Thanks

Sent from my iPad
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org<ma...@httpd.apache.org>
For additional commands, e-mail: users-help@httpd.apache.org<ma...@httpd.apache.org>




--
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de

Re: [users@httpd] Apache load balancer, etc

Posted by Martin Knoblauch <kn...@knobisoft.de>.
Hi John,

 care to share pointers to those comparisons? Curious myself ...

Thanks
Martin

On Mon, Jul 2, 2018 at 7:24 PM, Rose, John B <jb...@utk.edu> wrote:

> Have been comparing  Apache load balancing with some other possibilities
>
> As expected can do just about anything you want with Apache but the
> performance testing between Apache load balancing and nginx, haproxy,
> lighthttpd has Apache noticeably slower.
>
> Any tips on config tuning to optimize Apache load balancing performance?
>
> Any comments on open source software load balancers you folks have used
> that you recommend?
>
> Thanks
>
> Sent from my iPad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


-- 
------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www: http://www.knobisoft.de

Re: [users@httpd] Apache load balancer, etc

Posted by "Rose, John B" <jb...@utk.edu>.
We are using 2.4. However we were not using "Event MPM" and were on a different, much less robust, system than the other load balancers we tested.


We moved Apache to system equivalent to test environment of other load balancers we tested, implemented "Event MPM" set MaxRequestWorkers to a high number and Apache performed as well as any of the other load balancers.


Summary ...


nGinx is ok, but our understanding is you have to buy nGinx+ to get persistent connection capability

Lighthttpd was ok but we had some trouble finding documentation on some things and we read the developer may have slowed down on development

HAProxy looks pretty good, we still had to dig a bit to get information and it looked to us that we would have to do some log file conversion in order to use with something that needs to parse logs

Apache performed as well as any of the others, differentiating less than +/- 100 ms or less in performance with repeated tests compared to the best performing of other options, we already have some familiarity with Apache as a web server, there is a lot of documentation/examples/mailinglists/etc. available, it seems to be able to do anything we might want to do from a load balancer perspective


I would rate Apache,HAProxy as 1st and 2nd, then the other two.


Questions ....


When calculating "MaxRequestWorkers" is it better to have "ServerLimit" or "ThreadPerChild" as the larger multiplier?


What happens to http requests thru the Apache load balancer if the backend hosts get maxed out on current TCP connections and there are still requests coming into the load balancer?


Thanks






________________________________
From: Jim Jagielski <ji...@jaguNET.com>
Sent: Wednesday, July 4, 2018 7:51:28 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache load balancer, etc

Are you using the latest Apache httpd 2.4.x? Are you using the Event MPM? Both our and independent 3rd party benchmarks show Apache as fast and, at times, even faster, than those solutions you mentioned.

> On Jul 2, 2018, at 1:24 PM, Rose, John B <jb...@utk.edu> wrote:
>
> Have been comparing  Apache load balancing with some other possibilities
>
> As expected can do just about anything you want with Apache but the performance testing between Apache load balancing and nginx, haproxy, lighthttpd has Apache noticeably slower.
>
> Any tips on config tuning to optimize Apache load balancing performance?
>
> Any comments on open source software load balancers you folks have used that you recommend?
>
> Thanks
>
> Sent from my iPad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Apache load balancer, etc

Posted by Jim Jagielski <ji...@jaguNET.com>.
Are you using the latest Apache httpd 2.4.x? Are you using the Event MPM? Both our and independent 3rd party benchmarks show Apache as fast and, at times, even faster, than those solutions you mentioned.

> On Jul 2, 2018, at 1:24 PM, Rose, John B <jb...@utk.edu> wrote:
> 
> Have been comparing  Apache load balancing with some other possibilities
> 
> As expected can do just about anything you want with Apache but the performance testing between Apache load balancing and nginx, haproxy, lighthttpd has Apache noticeably slower.  
> 
> Any tips on config tuning to optimize Apache load balancing performance?
> 
> Any comments on open source software load balancers you folks have used that you recommend?
> 
> Thanks
> 
> Sent from my iPad
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org