caroseuk
By:
caroseuk

Whats a good droplet size for HAProxy loadbalancer

October 23, 2015 1.6k views
High Availability PHP Frameworks CentOS

Hi Guys,

Im looking to set up an HA proxy load balancer for one of my sites. Ive set it up before for dev environments but this is for a live site and wanted to make sure I have a powerful enough droplet. I just want a Layer 4 set up to balance my traffic between two app servers.

Can anyone recommend a good size/spec droplet to run HAProxy?

What do you guys run it on?

Thanks,
Chris

1 Answer

This mostly depends on your HAproxy configuration and how many concurrent connections you are looking to support. HAproxy is also heavy on the CPU usage.

How many concurrent connections are you looking to handle?

  • Hi thanks for your reply, so looking at the Apache Stauts page its reporting:
    6.2 requests/sec - 56.1 kB/second - 9.0 kB/request

    So OK not exactly on par with any Massive sites but just wanted to create a backup which HA Proxy can point to in the event my main server was to fail.

    The server also has a Max Client setting of 380.

Have another answer? Share your knowledge.