A Real-Time Web Application Solution Based on Node.js and WebSocket

Article Preview

Abstract:

With the rapid development of computer technology, the demand for real-time information is becoming higher, many real-time web applications such as online booking system, stock trading system, instant messaging system, are supposed to send the constant changes of the server to the client in real time. On the basis of in-depth study of WebSocket protocol in HTML5 standard, this paper proposes a new real-time web application solution based on Node.js and WebSocket, aiming to significantly enhancing real-time performance, and more efficiently using the processing power of the server. Finally, the new solution is applied in the game You draw, I guess to theoretically and practically study the viability of the solution and the advantages compared to traditional solutions.

You might also be interested in these eBooks

Info:

Periodical:

Advanced Materials Research (Volumes 816-817)

Pages:

1111-1115

Citation:

Online since:

September 2013

Export:

Price:

Permissions CCC:

Permissions PLS:

Сopyright:

© 2013 Trans Tech Publications Ltd. All Rights Reserved

Share:

Citation:

[1] Dtgriscom . WebSocket. http: /en. wikipedia. org[G]. 2013. 4.

Google Scholar

[2] Paul Verest. Node. js. http: /en. wikipedia. org[G]. 2013. 5.

Google Scholar

[3] Xiao Zai-chang, Yang Wen-hui, Liu Bing. Real-Time Technology of Web Based on WebSocket. Network&Communication[j]. 2012. 12, PP40-42.

Google Scholar

[4] W3C. The WebSocket API. http: /dev. w3. org/html5/websockets/ . (2010).

Google Scholar

[5] ZHOU Ting. Comet: Long Server Push Technology Based on HTTP. http: /www. ibm. com/ developerworks/cn/Web/wa-lo-Comet/ . (2007).

Google Scholar

[6] GAO Yuan. Server-side javascript Technology. Information&Computer(Theory Edition)[J]. 2012. 1, PP78-80.

Google Scholar

[7] Wen Zhao-song, Yi Ren-wei, Yao Han-bing. WebSocketBasedReal TimeWebApplication Solution. Computer&Techology[J]. 2012. 6, PP26-28.

Google Scholar

[8] David Herron. Node Web Develop [M]. people's Posts and Telecommunications Press, 2012. 4.

Google Scholar