Title :
Performance evaluation of Websocket protocol for implementation of full-duplex web streams
Author :
Skvorc, D. ; Horvat, Marko ; Srbljic, S.
Author_Institution :
Sch. of Electr. Eng. & Comput., Univ. of Zagreb, Zagreb, Croatia
Abstract :
Besides traditional synchronous HTTP request-response communication paradigm that was used on the Web for decades, modern Web services require more flexible communication system that enables asynchronous messaging between clients and servers, as well as server-initiated data delivery. Among several Web-based asynchronous communication paradigms emerged recently, the Websocket protocol and corresponding Websocket API are accepted as a pivotal framework for implementation of full-duplex asynchronous Web streams. In this paper, we evaluate the performance of the Websocket protocol with respect to underlying TCP protocol. We compare the two against the latency and amount of generated network traffic. The results show that, except a small overhead imposed due to initial handshaking, Websocket-based communication does not consume any more network traffic than plain TCP based communication. However, it is still slightly inferior in terms of latency.
Keywords :
Web services; application program interfaces; computer network performance evaluation; hypermedia; telecommunication traffic; transport protocols; Web services; Web-based asynchronous communication paradigms; Websocket API; Websocket protocol; asynchronous messaging; flexible communication system; full-duplex asynchronous Web streams; generated network traffic; performance evaluation; plain TCP based communication; server-initiated data delivery; synchronous HTTP request-response communication paradigm; Data transfer; Payloads; Protocols; Servers; Sockets; Telecommunication traffic; Time measurement;
Conference_Titel :
Information and Communication Technology, Electronics and Microelectronics (MIPRO), 2014 37th International Convention on
Conference_Location :
Opatija
Print_ISBN :
978-953-233-081-6
DOI :
10.1109/MIPRO.2014.6859715