Amazon Load Balancer and Smartfox

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
drh_qtm
Posts: 40
Joined: 15 Apr 2010, 09:07

Amazon Load Balancer and Smartfox

Post by drh_qtm »

Hi

Has anyone had any experience with running smartfox in the amazon cloud using the amazon elastic load balancer.

I recentley set up a smartfox cluster (using Terracotta) to run in the amazon cloud. When I came to do a bit of load testing I noticed a couple of things:

- The ip address of the client reported by doing user.getIpAddress() in a server extension always returns the ip address of the load balancer. Is there any way to get the originating ip address of the client?

- I would get a lot of clients disconnecting, presumably because the amazon load balancer is sending traffic from a client to the different servers randomly.

Has anyone got a cluster working with the Amazon load balancer or is the only option to have some homegrown load balance solution and avoid amazon load balncer?
nschommer
Posts: 4
Joined: 08 Sep 2010, 17:00

bump

Post by nschommer »

just a "bump" as I am interested in the OP's topic
Post Reply