arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 0706.3984cs.SEcs.PF
收藏

Ajax的Push和Pull技术比较

A Comparison of Push and Pull Techniques for Ajax

Engin Bozdag, Ali Mesbah, Arie van Deursen

摘要:

Ajax应用程序被设计为具有高用户交互性和低用户感知延迟。实时动态Web数据,如新闻标题、股票报价和拍卖更新,需要尽快传播给用户。然而,Ajax仍然受到Web请求/响应架构的限制,这阻止了服务器推送实时动态Web数据。这些应用程序通常使用拉式来获取最新的更新,其中客户端基于预定义的间隔主动请求更改。可以通过采用推式交互来克服这种限制,其中当服务器端发生变化时,服务器广播数据。这两种选择都有自己的权衡。本文探讨了基于浏览器的应用程序的基本限制,并分析了Ajax技术的推送解决方案。它还显示了一项比较推和拉的实证研究的结果。

英文摘要:

Ajax applications are designed to have high user interactivity and low user-perceived latency. Real-time dynamic web data such as news headlines, stock tickers, and auction updates need to be propagated to the users as soon as possible. However, Ajax still suffers from the limitations of the Web's request/response architecture which prevents servers from pushing real-time dynamic web data. Such applications usually use a pull style to obtain the latest updates, where the client actively requests the changes based on a predefined interval. It is possible to overcome this limitation by adopting a push style of interaction where the server broadcasts data when a change occurs on the server side. Both these options have their own trade-offs. This paper explores the fundamental limits of browser-based applications and analyzes push solutions for Ajax technology. It also shows the results of an empirical study comparing push and pull.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑