On Thu, Mar 17, 2016 at 1:17 PM, Gregg Cranshaw <[email protected]>
wrote:

> Hello,
>
> I am in the middle of a project where I have to setup a couple of load
> balancers to allow load balancing traffic to some web app servers and to
> provide an easy way to swap out some other resources. I have spent a lot of
> time researching options and I settled on HAProxy with Keepalived to make
> it fault tolerant.
>
> I have read through the HAProxy configuration options page as best I could
> and I have the basic setup of HAProxy for a web server. I also setup the
> stats option on the server. Do you have any tips or resources on what best
> practices are for the haproxy.cfg file? Most options I find are basic with
> the front and back end setup, the binding IP, the server list, and the
> method used for load balancing. Is there anything else I should add to that
> basic configuration? Is there an easy way to tell what the connection
> counts should be? Any info would be greatly appreciated.
>
> Thanks for your time.
>
> Regards
>
>
>
> [image: signatureSeal]Gregg Cranshaw
>
> *Senior Network Engineer*
>
> RI Department of State  |  Secretary of State Nellie M. Gorbea
>
> Email: g <[email protected]>[email protected]  | Website:
> www.sos.ri.gov  | Twitter: @RISecState <https://twitter.com/RISecState>
>
> 148 W. River Street, Providence RI 02904 | 401-222-1326
>
>
>
> *Our Mission: *The Rhode Island Department of State engages and empowers
> all Rhode Islanders by making government more accessible and transparent,
> encouraging civic pride, enhancing commerce and ensuring that elections are
> fair, fast and accurate.
>


Don't forget the following points:
- setup proper timeouts (enable slow post protection)
- configure an accurate health check
- enable the stats page

Baptiste

Reply via email to