Access whitepaper

HA Proxy in the cloud

Friday, February 6, 2009 by james litton
I just stumbled across this article:
http://agiletesting.blogspot.com/2009/02/load-balancing-in-amazon-ec2-with.html

The suggestion made is that since EC2 does not yet have a load-balancing feature built-in you must use a software load-balancer, specifically mentioned is using haproxy for load-balancing.

I've been using a software load-balancer to host Compendium's web services for nearly a year now, but it's coming time to re-evaluate. I've been using ipvsadm to manage the ipvs linux kernel module with nat for load-balancing. I decided to use this instead of something like haproxy primarily due to the fact that it was not limited to proxying http requests. When the first generation hardware for our application was being deployed, it was important to realize that we needed to conserve some resources and still attempt to maintain redundancy to whatever extent possible.

A year in now and the primary issue that I have yet to solve with ipvsadm is dynamically updating the configuration. Disappointingly, haproxy does not seem to solve this either. What I would like to see is a load-balancer that allows me to make changes to the configuration programatically, either through a configuration maintained in memcache or even better via API calls to a web-service endpoint.



Comments for HA Proxy in the cloud

Leave a comment





Captcha

Free Webinar

Using Blogs to Generate and Nurture Demand into Closed Business.

Hosted by Richard Cunningham, VP Marketing of Right On Interactive and Chris Baggott Co-founder, CEO of Compendium Blogware. Thursday, December 3rd 2009.
Sign up here »

Meet Our Team

Abby Brosmer-Rivera Ali Sales Brian Millis Chris Baggott Chantelle Flannery The Client Corner Dereck Martin James Litton Jennifer Buscher Jenni Edwards Jim Hyslop Jess Wehner Krystal Featherston Kaila Woodside Megan Glover Meghan Peters mikey mioduski P.J. Hinton Randy Cox Sarah Sedberry Chandra Chavez Julie Murphy

© 2009 Compendium Blogware
All Rights Reserved