25.07.2014 Views

Analysis and Testing of Ajax-based Single-page Web Applications

Analysis and Testing of Ajax-based Single-page Web Applications

Analysis and Testing of Ajax-based Single-page Web Applications

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 4.1 A screenshot taken from eBay. The user has to constantly click the<br />

“Refresh” button to see any updates.<br />

• How does a push-<strong>based</strong> web data delivery approach compare to a pull<strong>based</strong><br />

one, in terms <strong>of</strong> data coherence, scalability, network performance,<br />

<strong>and</strong> reliability?<br />

This chapter is further organized as follows.<br />

We start out, in Section 4.2, by exploring current techniques for real-time<br />

HTTP-<strong>based</strong> data delivery on the web. Subsequently, in Section 4.3, we discuss<br />

the push-<strong>based</strong> Bayeux protocol <strong>and</strong> the DWR library, the two open source<br />

push implementations that we will use in our experiments. In Section 4.4, we<br />

present the experimental design by articulating our research questions <strong>and</strong><br />

outlining the proposed approach. The independent <strong>and</strong> dependent variables<br />

<strong>of</strong> our experiment are also discussed in this section. A detailed presentation<br />

<strong>of</strong> our distributed testing framework called Chiron 2 as well as the environment<br />

<strong>and</strong> applications that we use to conduct our experiments, is shown in<br />

Section 4.5. In Section 4.6 the results <strong>of</strong> our empirical study involving push<br />

<strong>and</strong> pull data delivery techniques are covered, followed by a discussion <strong>of</strong> the<br />

findings <strong>of</strong> the study <strong>and</strong> threats to validity in Section 4.7. Finally, in Section<br />

4.8, we survey related work on this area, after which we conclude our<br />

2 In Greek mythology, Chiron, was the only immortal centaur. He became the tutor for a<br />

number <strong>of</strong> heroes, including <strong>Ajax</strong>.<br />

Chapter 4. Performance <strong>Testing</strong> <strong>of</strong> Data Delivery Techniques for <strong>Ajax</strong> 77

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!