DocumentCode
1512595
Title
Communicating and Displaying Real-Time Data with WebSocket
Author
Pimentel, Victoria ; Nickerson, Bradford G.
Volume
16
Issue
4
fYear
2012
Firstpage
45
Lastpage
53
Abstract
Internet communication provides a convenient, hyperlinked, stateless exchange of information, but can be problematic when real-time data exchange is needed. The WebSocket protocol reduces Internet communication overhead and provides efficient, stateful communication between Web servers and clients. To determine whether WebSocket 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 WebSocket connection. Here, they compare the WebSocket protocol latency to HTTP polling and long polling.
Keywords
Internet; file servers; hypermedia; protocols; real-time systems; HTTP connection; HTTP polling; Internet communication; Jetty servlet; Web servers; WebSocket connection; WebSocket protocol latency; hyperlinked information; real-time data display; real-time data exchange; real-time wind sensor data; stateless information exchange; transmission latency; Base stations; Internet; Protocols; Real time systems; Servers; Synchronization; Web and internet services; Wide area networks; Base stations; Computers; Internet; Protocols; Real time systems; Servers; Synchronization; Web servers; Web technologies; WebSocket; communications applications; data communications aspects; latency; real time; wide area networks;
fLanguage
English
Journal_Title
Internet Computing, IEEE
Publisher
ieee
ISSN
1089-7801
Type
jour
DOI
10.1109/MIC.2012.64
Filename
6197172
Link To Document