MemRed: towards reliable web applications

  • Authors:
  • Masoomeh Rudafshani;Paul A. S. Ward;Bernard Wong

  • Affiliations:
  • University of Waterloo;University of Waterloo;University of Waterloo

  • Venue:
  • Proceedings of the Workshop on Secure and Dependable Middleware for Cloud Monitoring and Management
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Current approaches for improving the reliability of web services focus on server side data collection and analysis to detect errors and prevent failures. However, significant portions of modern web applications are executed on the client browser with the server only acting as a data store. These applications are mostly developed using Javascript, which presents a challenge for developing reliable web applications due to a current lack of tools for debugging Javascript applications. In addition, these applications use AJAX to communicate with the server asynchronously; therefore they remain on the same page during their lifetime that can lead to runaway memory usage from even minor memory leaks. In this paper, we introduce MemRed, a system that improves the reliability of the client side of web applications. It achieves this goal by taking advantage of browser APIs to monitor web applications. It analyzes the collected data to detect excessive memory utilization and applies recovery action to hide failures from end users, if needed. Our prototype is implemented as an extension for the Chrome browser. The evaluation shows the effectiveness of recovery actions in lowering memory usage of web applications.