Communicating and Displaying Real-Time Data with Web Socket

Communicating and Displaying Real-Time Data with Web Socket
复制标题

DOI:
10.1109/mic.2012.64
复制
发表时间:
2012-07-01
影响因子:
3.2
通讯作者:
Nickerson, Bradford G.
Nickerson, Bradford G.
中科院分区:
计算机科学4区
文献类型:
--
作者:
Pimentel, Victoria;Nickerson, Bradford G.

文献摘要

被引文献

相似文献

互联网通信提供了一种方便的、超链接的、无状态的信息交换,但在需要实时数据交换时可能会出现问题。Web Socket协议减少了Internet通信开销,并在Web服务器和客户端之间提供了有效的、有状态的通信。为了确定Web Socket通信是否比HTTP轮询更快,作者构建了一个Web应用程序来测量以4 Hz的速率发送实时风传感器数据的单向传输延迟。他们实现了一个Jetty servlet来将HTTP连接升级为Web Socket连接。在这里,他们将Web Socket协议延迟与HTTP轮询和长轮询进行了比较。
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.