Chapter 2. If You Can’t Control It, Monitor It
It’s vitally important for you to understand what’s going on with the elements of your website and infrastructure that you can’t control—particularly their impact on other areas of your website. A good monitoring system is essential to enabling the performance optimizations that are recommended in Chapter 3.
In addition to monitoring, it’s important that you set up appropriate alerting to notify you when issues may be occurring.
A good monitoring solution needs to gather a full range of data about how your website is performing. This needs to illustrate not only what is happening across the full end to end—from server to user—but also across the full range of users. It not only needs to gauge the user experience, but also provide sufficient data to be able to determine the root cause if the experience is not at the level expected.
Reasonable end-to-end monitoring requires five types of monitoring.
1. RUM and EUM
Ultimately, the most important data answers the question: what is the user seeing? This is the task of real user monitoring (RUM) and end user monitoring (EUM).
RUM gathers data from all user activity and passes that data back to a central collection server, allowing analysis of your users’ exact experience. This will flag any unexpected behavior and can help you drill down to identify the cause of the problem. RUM is also useful for determining whether there is a pattern to the types of users who are experiencing a particular ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access