Education, Science, Technology, Innovation and Life
Open Access
Sign In

Design and Implementation of a High Performance Event-Driven WebSocket

Download as PDF

DOI: 10.23977/cpcs.2016.11005 | Downloads: 97 | Views: 7175

Author(s)

Wenbin Cao 1, Bei Liu 1, Xinming Tan 1, Chuanwen Liu 1

Affiliation(s)

1 Computer Science Technology, Wuhan University of Technology,Wuhan, Hubei 430063, China

Corresponding Author

Wenbin Cao

ABSTRACT

In recent years, instant messaging has been more and more widely used on the Internet. The Pull model adopted in the traditional servers can not well meet the requirements of real-time information acquisition and high concurrent using accesses in the practical applications. In order to deal with the aforementioned problem, using the Push model in the real-time message transmission has become a research hotspot. Firstly, based on the open source projects of Node.js, Redis and RabbitMQ, a WebSocket server which can provide real-time message push service to a large number of different users' subscription requests is designed and implemented. Secondly, the function modules and implementation details of each layer are analyzed in detail. At last, experimental results show that the feasibility of WebSocket server.

KEYWORDS

WebSocket protocol, Node.js, High concurrent, Event-driven, Stability.

CITE THIS PAPER

Wenbin, C. , Xinming, T. , Bei, L. and Chuanwen, L. (2016) Design and Implementation of a High Performance Event-Driven WebSocket Server. Computing, Performance and Communication systems (2016) 1: 28-32.

REFERENCES

[1] Lu Chen, Feng Xiang-yang, Su Hou-qin. Study and Implementation of Html5 WebSocket Handshake Protocol [J]. Computer Applications and Software,2015, 32(1):128-131.
[2] Pimentel V, Nickerson B G. Communicating and Displaying Real-Time Data with WebSocket[J]. IEEE Internet Computing, 2012, 16(4):45-53.
[3] Cai Jin-da, Jiang Zhen-fei. Remote Monitoring and Control Method for Printing and Packaging Machinery Based on WebSocket [J]. Packaging Engineering,2013(15):87-90.
[4] Ma K, Zhang W. Introducing browser-based high-frequency cloud monitoring system using WebSocket Proxy[J]. International Journal of Grid & Utility Computing, 2015, 6(1).
[5] Jin Feng, Zhang Yue, Yong Peng. Design and Implementation of Monitoring System in B/S Mode Base on Two Servers [J]. Computer Simulation,2014, 31(2):201-205.
[6] Melnikov A. The WebSocket Protocol[J]. 2011.
[7] Videla A, Williams J J W. RabbitMQ in action : distributed messaging for everyone[J]. 2012.

Downloads: 2629
Visits: 128382

Sponsors, Associates, and Links


All published work is licensed under a Creative Commons Attribution 4.0 International License.

Copyright © 2016 - 2031 Clausius Scientific Press Inc. All Rights Reserved.