摘要
为了实现在HTTP应用下服务器能够主动和客户端通信,产生很多服务器推送技术,然而这些技术在应用过程都存在着不同方面的缺陷,HTML5提出了一些在通信方面的新特性,为了验证这些特性和传统的服务器推送之间的异同,通过构建相同的客户端服务器环境,抓取和分析在服务器和客户端传输的报文的形式来量化比较它们之间的区别。通过实验可以发现,HTML5这些通信方面的新特性在实现方式上和传统的流方式比较相似,比传统的轮询方式有着出色的性能上提升。
In order to achieve server side communicating with client side on its own initiative on HTTP application circumstance,many server push technologies arise.However,there are many defects in these technologies.HTML5 brings several new features on communications.In order to validate the similarities and differences between the new features of HTML5 and traditional server push technologies,compares will be made with analysis on transmission messages by constructing the same client and server environment to capture these transmission messages.Empirical results show that the communication features presented by HTML5 have similar realization mechanism with traditional streaming way,and better performances than traditional long pooling way.
出处
《长春理工大学学报(自然科学版)》
2011年第4期159-163,共5页
Journal of Changchun University of Science and Technology(Natural Science Edition)