My Understanding of HTTP Polling, Long Polling, HTTP Streaming and WebSockets
问题 I have read many posts on SO and the web regarding the keywords in my question title and learned a lot from them. Some of the questions I read are related to specific implementation challenges while others focus on general concepts. I just want to make sure I understood all of the concepts and the reasoning why technology X was invented over technology Y and so on. So here goes: Http Polling: Basically AJAX, using XmlHttpRequest. Http Long Polling: AJAX but the server holds on to the response