• DocumentCode
    3076704
  • Title

    Real-Time Monitoring using AJAX and WebSockets

  • Author

    Puranik, Darshan G. ; Feiock, Dennis C. ; Hill, James H.

  • Author_Institution
    Dept. of Comput. & Inf. Sci., Indiana U.-Purdue U. Indianapolis, Indianapolis, IN, USA
  • fYear
    2013
  • fDate
    22-24 April 2013
  • Firstpage
    110
  • Lastpage
    118
  • Abstract
    Asynchronous JavaScript and XML (AJAX) is the primary method for enabling asynchronous communication over the Web. Although AJAX is providing warranted real-time capabilities to the Web, it requires unconventional programming methods at the expense of extensive resource usage. WebSockets, which is an emerging protocol, has the potential to address many challenges with implementing asynchronous communication over the Web. However, there has been no independent study that quantitatively compares AJAX and WebSockets.This paper therefore provides two contributions to integrating Web technologies in real-time systems. First, it provides an experience report for adding real-time monitoring support over the Web to the Open-source Architecture of Software Instrumentation of Systems (OASIS), which is an open-source real-time instrumentation middleware for distributed real-time and embedded (DRE) systems. Secondly, its quantitatively compares using AJAX and WebSockets to stream collected instrumentation data over the Web. Results from our study show that a WebSockets server consumes 50% less network bandwidth than an AJAX server; a WebSockets client consumes memory at constant rate, not at an increasing rate; and WebSockets can send up to 215.44% more data samples when consuming the same amount network bandwidth as AJAX.
  • Keywords
    Internet; Java; XML; embedded systems; monitoring; protocols; public domain software; software architecture; AJAX; DRE systems; OASIS; WebSockets; World Wide Web; XML; asynchronous JavaScript; distributed real-time systems; embedded systems; open-source architecture; protocol; real-time monitoring; software instrumentation of systems; unconventional programming; Bandwidth; Memory management; Probes; Protocols; Real-time systems; Software;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Engineering of Computer Based Systems (ECBS), 2013 20th IEEE International Conference and Workshops on the
  • Conference_Location
    Scottsdale, AZ
  • Print_ISBN
    978-0-7695-4991-0
  • Type

    conf

  • DOI
    10.1109/ECBS.2013.10
  • Filename
    6601579