128
Views
5
CrossRef citations to date
0
Altmetric
Articles

Real-time monitoring using AJAX and WebSockets

, &
 

Abstract

The primary method for facilitating asynchronous communication over the Web is asynchronous JavaScript and XML (AJAX). Although AJAX provides the Web with warranted real-time functionality, unconventional techniques of programming are required at the cost of extensive use of resources. Implementing asynchronous communication over the Web, WebSockets, which is an emerging protocol, has the potential to address many challenges. There has been no independent study analyzing AJAX and WebSockets quantitatively. This paper, therefore, provides the following contributions to integrating Web technologies in realtime systems. First, it quantitatively compares AJAX and Websocket performance in terms of connection time by varying the number of requests over the web. Second, it compares the data bytes transferred by varying the number of requests. Third, it quantitatively compares network bandwidth consumption between AJAX and WebSocket

Subject Classification:

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.