I am prototyping an application using nodejs. But this question refers to hypothetical large scale roll out. What is more demanding on a server and/or bandwidth: WebSocket stay alive connections or repeated client HTTP GET requests?
For example (maybe an extreme example), is it more efficient for Twitter to allow its clients to send GET requests to its API every 20 secs, or have each client connected on an HTTP1.1 websocket? What about every 1 minute or greater, or less?
BTW, maybe it does not matter, but presuming GET requests will be handled by nginx as supposed to node, would this make a difference?