The Community for Technology Leaders
Green Image
Issue No. 04 - July-Aug. (2012 vol. 16)
ISSN: 1089-7801
pp: 45-53
Victoria Pimentel , Universidad Simón Bolívar
Bradford G. Nickerson , University of New Brunswick
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.
Servers, Protocols, Real time systems, Internet, Web and internet services, Base stations, Synchronization, Wide area networks, wide area networks, Servers, Protocols, Real time systems, Internet, Computers, Base stations, Synchronization, latency, Web technologies, real time, communications applications, Web servers, data communications aspects, WebSocket
Victoria Pimentel, Bradford G. Nickerson, "Communicating and Displaying Real-Time Data with WebSocket", IEEE Internet Computing, vol. 16, no. , pp. 45-53, July-Aug. 2012, doi:10.1109/MIC.2012.64
221 ms
(Ver )