Re: HA for HAProxy in Amazon Cloud

2011-11-18 Thread Mariano Guezuraga
On 11/17/2011 10:55 PM, Mir Islam wrote: Hi Guys, I am wondering how people are solving the problem of HAProxy becoming SPOF. I am using HAproxy in Amazon cloud for SSL stick session and load balancing, but best solution I could come up with for making HAProxy HA is by having another exact inst

Re: HA for HAProxy in Amazon Cloud

2011-11-18 Thread Joel Krauska
I use two load balancer instances and setup DNS to have two A records. I map each A record to a virtual IP. It's "OK" for one of those A records to go down. Browsers will move on an try the next one. (test it and be sure, but I've seen it work all the time) 'dig' a few of the major internet playe

hashing + roundrobin algorithm

2011-11-18 Thread Rerngvit Yanggratoke
Hello All, First of all, pardon me if I'm not communicating very well. English is not my native language. We are running a static file distribution cluster. The cluster consists of many web servers serving static files over HTTP. We have very large number of files such that a single server

Re: HA for HAProxy in Amazon Cloud

2011-11-18 Thread Mir Islam
So on avg how long it took for the AWS api call to transfer the IP to standby HA Proxy? I am wondering if it makes to go with just auto scale and define minimum 1 server. Thanks Mir On Nov 18, 2011, at 4:26 AM, Mariano Guezuraga wrote: > On 11/17/2011 10:55 PM, Mir Islam wrote: >> Hi Guys, I

Re: HA for HAProxy in Amazon Cloud

2011-11-18 Thread Mariano Guezuraga
Firts, sorry HAproxy list for the OT. I would say it takes an average of 5 seconds. Also please note that Amazon _seems_ to throttle your API requests if you exceed certain number of requests, sometimes the API failed with "unable to connect to ..." (I've noticed that while performing the mon