Communicating and Displaying Real-Time Data with Web Socket

被引:147
作者
Pimentel, Victoria [1 ]
Nickerson, Bradford G. [2 ]
机构
[1] Univ Simon Bolivar, Comp Engn Program, Caracas, Venezuela
[2] Univ New Brunswick, Fac Comp Sci, Software Engn Program, Fredericton, NB E3B 5A3, Canada
关键词
Base stations; communications applications; Computers; data communications aspects; Internet; latency; Protocols; real time; Real time systems; Servers; Synchronization; Web servers; Web technologies; WebSocket; wide area networks;
D O I
10.1109/MIC.2012.64
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Internet communication provides a convenient, hyperlinked, stateless exchange of information, but can be problematic when real-time data exchange is needed. The Web Socket protocol reduces Internet communication overhead and provides efficient, stateful communication between Web servers and clients. To determine whether Web Socket communication is faster than HTTP polling, the authors built a Web application to measure the one-way transmission latency of sending real-time wind sensor data at a rate of 4 Hz. They implemented a Jetty servlet to upgrade an HTTP connection to a Web Socket connection. Here, they compare the Web Socket protocol latency to HTTP polling and long polling.
引用
收藏
页码:45 / 53
页数:9
相关论文
共 11 条
[1]  
Akerberg J., 2011, Proceedings of the 2011 9th IEEE International Conference on Industrial Informatics (INDIN 2011), P410, DOI 10.1109/INDIN.2011.6034912
[2]  
[Anonymous], 2003, Computer Networks
[3]  
Bijin Chen, 2011, 2011 International Conference on Multimedia Technology, P471
[4]  
Fette I., 2011, WEBSOKET PR IN PRESS
[5]  
Gravelle R., 2009, COMET PROGRAMMING US
[6]  
Hickson I., 2011, WEBSOCKET API
[7]   Networked predictive control over the internet using round-trip delay measurement [J].
Hu, Wenshan ;
Liu, Guo-Ping ;
Rees, David .
IEEE Transactions on Instrumentation and Measurement, 2008, 57 (10) :2231-2241
[8]  
Lubbers P., 2010, PRO HTMLS PROGRAMMIN
[9]  
Lubbers P., 2010, SOA WORLD MAGAZI MAR
[10]  
Mills D., 2010, RFC 5905