4 ms·
Does it support websockets? Pretty important feature for node.js.
by quahada 14y ago
Does it support websockets? Pretty important feature for node.js.
- jonpaul 14y agoPresumably so, since the press release explicitly mentions websockets, and you can use Nginx (which now supports websockets) or choose to not use any reverse proxy.
- mathrawka 14y agoYou need to use TCP forwarding on the ELB, not HTTP. The disadvantages are: * You cannot enable stickiness on the ELB * You will not get the client IP forwarded to your instances
- miles932 14y agoyou do get the client IP, but it comes as a request header: x-forwarded-for http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/TerminologyandKeyConcepts.html#x-forwarded-for http://docs.aws.amazon.com/ElasticLoadBalancing/latest/Devel...
- lucian1900 14y agoHow would that work for a protocol that isn't HTTP?
- mathrawka 14y agoThere are no HTTP headers in pure TCP.
- pornel 14y agoYou can use Server-Sent Events (HTTP-compatible server->client websocket).