Brian Toone, firstname.lastname@example.org
Investigating the impact of Ajax on server load in a Web 2.0 application
The additional capabilities provided by Ajax do not come for free. If used without consideration of the impact on server performance, the asynchronous requests initiated by the web browser in response to user actions can quickly overwhelm computational and network resources on the web server. For example, a web application that responds to â€œmousemoveâ€ events by sending a new Ajax request to the web server for each mousemove event can send hundreds of individual requests in only a few seconds. Each request consumes web server resources and prevents this type of code from scaling to large number of simultaneous users.
In this presentation we discuss the results of our investigation on the impact of Ajax requests on the web server hosting a Web 2.0 application that allows users to create and share topographic maps1. We demonstrate our experimental setup including the tools used for monitoring network and CPU usage. Finally, we provide suggestions on web application design to minimize the impact of Ajax requests on web server performance.