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?