Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am setting up load balancing for my Amazon RDS Read Replicas using HAProxy, should I use a m1.large or c1.medium instance type for running HAProxy ?

thanks

share|improve this question

2 Answers 2

You might want to look into Elasticache.

If you are determined to use HAProxy then I'd select the instance with a higher memory level when load balancing read replicas.

Are you going to run a cluster of HAProxy so that this is not a single point of failure?

share|improve this answer

HAproxy works only as a forwarder , and itself it does not do high level processing to balance load, as a front end web server faces load. but it depends upon your level of load, that how what is the threshold level for haproxy, at which it starts consuming high level of CPU. you can start with medium instance, as it is already heavy. run test benchmark to see that how much level of load breaks the threshold of system resources on medium instance. if it fills your requirement, then ok, otherwise go for larger instance. you can run benchmarks with ab(apache benchmark).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.