I saw 3 different messages about using ELB with websockets, but they all seem to use javascript clients or have another variable that is not relevant to our situation.
We have several websocket servers that run on Tomcat. We want ELBs in front of them and all websocket clients (i.e. 100s out of 1000s) connect to the ELB, which should:
- forward the update / connection request to 1 of our web server servers.
- then make this connection sticky so that all bidirectional traffic passes between the same client and server for the lifetime of the connection.
Is this possible with ELB today? If possible, is there any special configuration / setting that needs to be done? What limitations exist on the number of concurrent connections supported by Amazon ELB in TCP mode?
We tried to verify this in TCP mode, but for a few 100 connections, the connection starts to fail. However, if we connect directly to one websocket server, we can establish connections at 80 Kbps (or more).
Thanks Bob
source share