Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have an interactive flash application running on AWS EC2 instances. One instance can handle between 100 and 200 users. We expect times with heavy growth and slashdot effects. To be prepared and not over-prepared we want a load balancing solution with automatic scaling.

We tried Elastic Load Balancer but it doesn't seem to work with our application. We experience many and early TCP disconnects.

Right now the best solution seems to be haproxy but it doesn't fit our automatic scaling requirement. We like to have something more programmable/scriptable. We need to add or remove backend servers often.

I'd like to know if there are other - maybe better - solutions.

share|improve this question
up vote 1 down vote accepted

I guess you could do many things here:

  1. ask amazon support to help you and escalate the problem because they seem to solve big flash game issues like

see for more:

  1. if you go wo/ them you could use some hardware solution: citrix/cisco/juniper all have some solution for LBs

  2. software LBs: check nginx it is a really nice project, i am not sure if they added the LB features lately but with a bit scripting you could use it and it is damn fast and efficient

share|improve this answer

Look at Varnish; its configuration language is sufficiently flexible that you ought to be able to coerce it into what you want to do.

share|improve this answer

Your Answer


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.