Hacker News new | past | comments | ask | show | jobs | submit login

Does it support websockets? Pretty important feature for node.js.



Presumably 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.


You 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


you do get the client IP, but it comes as a request header: x-forwarded-for http://docs.aws.amazon.com/ElasticLoadBalancing/latest/Devel...


How would that work for a protocol that isn't HTTP?


There are no HTTP headers in pure TCP.


You can use Server-Sent Events (HTTP-compatible server->client websocket).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: