What is the overhead associated with keeping a socket open on the server?
Let's say that you've got millions of concurrent connections like facebook, would sockets add too much overhead compared to HTTP requests? I know that sockets will reduce network overhead by a good amount (because of headers), but would sockets be the better choice? If you don't update the client REAL-TIME, but still send batches of information (every few seconds or whenever the client requests) to the client which is the better option to serve these millions of users in terms of scalability, performance and server side overhead? (Would you have to scale more/faster using sockets or http?)