How does RUM work?

rum5.d87bd9c

RUM from start to finish

  1. The RUM service provider will generate a small JavaScript snippet unique for your website.
  2. Insert the JavaScript snippet into the header or footer of the HTML code of a common/index page of the web application that needs to be monitored.
  3. This script collects and sends telemetry from each end-user as he or she browses the website to the RUM service provider.
  4. All the data is processed and analysis for visual or event reporting.
  5. Some RUM service provider will use advance big data processing or machine-learning technology to make assessments and predictions of possible issues in latency or availability based on the data obtained.

Real User Monitoring track user experience through live sessions and find out what pages the visitor visited. By collecting information such as the page load time or response time, generates a report and sends it back to the website owner. 

There are six basic steps which a RUM powered system follows in order to perform its monitoring life-cycle: 

Step 1: Data collection
With the help of tools such as passive network taps and JavaScript on a browser, RUM captures data on pages that are underperforming, broken or not responding.

Step 2: Recording
All of the faulty pages are organized based on different components such as loading time or audience visits. 

Step 3: Problem identification
Once the pages are grouped accordingly, all the pages are analyzed for any unusual behaviors which are affecting the page performance. 

Step 4: Segmentation
The collected information is then analyzed by running it on different browsers and user-segments. The purpose is to determine the availability of each specific page.

Step 5: Alert notification
In case, if any of the pages represent a major issue, the website owner is automatically alerted through a notification


Previous article:
« What is real user monitoring (RUM)?
Next article:
Why is RUM important (for modern web applications)? »