The Internet has become an indispensable part of human life in the rapidly growing information age. In response to this demand the number of web-based applications is increasing as well. Web-based applications run in two parts, one on the client and other on the server side. Client-side usually is a web browser, and it requests content from the server. As a result, the server provides the necessary information to the client. To perform the communication between the server and the client, usually Polling, Long Polling and Comet web communication methods are used. In this study, WebSocket, which is the new web communication method, was compared with the Long Polling and Comet methods. For this, a web server and a client computer was used. On the server, three separate web pages were created to accept connection through the WebSocket, Long Polling, and Comet methods. The client computer, which uses a browser to view these web pages, downloads the data on the server into its own memory in pieces at regular intervals. In other experiments, the client computer sends data of different sizes to the server at regular intervals. The comparisons were made based on the bandwidth used. The advantages and disadvantages of the WebSocket method against the Long Polling and Comet methods were presented by comparing the results of the experiments.
[1]
Dai Mao,et al.
A Real-Time Group Communication Architecture Based on WebSocket
,
2012
.
[2]
Jussi-Pekka Erkkilä.
WebSocket Security Analysis
,
2012
.
[3]
Duan Hui-chuan,et al.
Application research of WebSocket technology on Web tree component
,
2012,
2012 International Symposium on Information Technologies in Medicine and Education.
[4]
Chao Yuan,et al.
Review on Real-Time Communications Technology in Web Application
,
2014
.
[5]
Kun Ma,et al.
Introducing WebSocket-Based Real-Time Monitoring System for Remote Intelligent Buildings
,
2013,
Int. J. Distributed Sens. Networks.
[6]
Bradford G. Nickerson,et al.
Communicating and Displaying Real-Time Data with WebSocket
,
2012,
IEEE Internet Computing.
[7]
Zhiqi Xu,et al.
A framework for browser-based Multiplayer Online Games using WebGL and WebSocket
,
2011,
2011 International Conference on Multimedia Technology.
[8]
Y. Furukawa,et al.
WEB-BASED CONTROL APPLICATION USING WEBSOCKET
,
2011
.