ポーリングとロングポーリングの違いは何ですか? 長所と短所は何ですか?Ajax はロングポーリングと見なされますか?
2232 次
1 に答える
7
polling: hitting a url from a client at some interval
long polling: hitting the url from a client and having the server hold the connection for a period of time, in this way the server can return the connection at the moment when it has information for the client
Not all ajax is long polling. Long polling is best achieved using a framework like cometd. (http://www.cometd.org)
于 2012-07-11T22:36:25.433 に答える