You are previewing Complete Web Monitoring.

Complete Web Monitoring

Cover of Complete Web Monitoring by Alistair Croll... Published by O'Reilly Media, Inc.

Capturing End User Experience

Armed with thousands of measurements of individual page requests, you can answer two important questions: could visitors use the website? What were their experiences like?

The first question involves problem diagnosis and dispute resolution. When someone calls with a problem, you can quickly see what happened. You can even detect and resolve a problem before she calls, because your RUM tool has seen the error occur.

The second question involves segmentation and reporting. You can look across all requests of a certain type—a specific browser, a geographic region, a URL, and so on—and analyze the performance and availability of the website for capacity planning or to understand how the site’s performance affects business outcomes.

Both questions are vital to your web business. To answer them, you first need to collect all those page measurements. The work you’ll need to do depends heavily on which RUM approach you use.

How RUM Works

RUM solutions vary widely, but always involve the following basic steps, as shown in Figure 10-3.

The basic steps in all RUM solutions

Figure 10-3. The basic steps in all RUM solutions

  1. Capture. The monitoring system captures page and object hits from several sources—JavaScript on a browser, a passive network tap, a load balancer, or a server and its logfiles.

  2. Sessionization. The system takes data about these hits and reassembles it into a record of the pages and components ...

The best content for your career. Discover unlimited learning on demand for around $1/day.