Detailed Guide for Website Monitoring
Learn all about the different aspects of both external and internal monitoring to ensure optimum web speed and performance.
Join the DZone community and get the full member experience.Join For Free
now more than ever, your web platform performance is weighty. most online users expect less than a 2 second load time for your web resources. when customers are satisfied with website speed they are more likely to follow survey, to register or make a purchase. regardless of the fact whether it's a web page, online shop or saas .
what is website monitoring?
website monitoring is the process of checking web page or web application availability, performance and functional. it allows you to be sure that your online products are always available and your potential customers don't suffer unexpected downtimes.
why is website monitoring important?
according to the european ecommerce page speed and web performance report , around the world, the speed with which websites and web applications perform is emerging as a critical business issue. while this awareness lags in some parts of the world more than others, what is certain is that internet users are very aware of the issue of poor website performance, regardless of their location.
if page load time will be more than 3 seconds, 6-39 % of users will leave your page.
according to the survey "'need for speed,' 1&1 internet. 2011" of 1500 internet customers, users who experience even a two-second slowdown from the speed they've come to expect are unsatisfied with performance and simply do less on the site.
internal and external monitoring
there are many methods to monitor your website performance and they are divided into two main categories: internal and external monitoring.
external monitoring allows you to monitor all your web resource parameters. first of all, define what criteria you need to monitor.
- web page availability or uptime rate (uptime monitoring)
- average web page load time (full page monitoring)
- web page functionality (synthetic transaction monitoring)
- web page and scenario stress resistance (web stress tester)
- real user monitoring (quantity of users)
- api monitoring (jmeter)
internal monitoring can be used in your local network when a resource which should be monitored is not available from global network. for internal or server-device monitoring all you need to do is download and install smart agent for linux or windows, then add server/device monitors from your monitis dashboard.
what can you monitor?
everything which is possible to monitor externally plus your local devices' performance like local network, server cpu, memory and drive utilization, bandwidth consumed by your network interfaces, different system processes, status of services running on your server or your system events.
uptime monitoring is a regular checkup of availability and response time of a website from a different location. it is critical for every business. if a page is not available, it means that your business is not available on the internet. your potential customers will be dissatisfied or, even worse, will move to your competitors' page. you should be the first person who is informed about any issue connected to your web page in order to react as quick as possible. there are many tools and sources for web page monitoring.
location list from which you can monitor your web page.
uptime monitoring example from many locations
there are many protocols which can be used for uptime monitoring like http, https, ping, dns, ping, ftp, tcp, udp, sip, etc..
full page load monitoring
the average web users perceive load time as being 15% slower than it actually is. it gets worse. when recalling the experience, users remember load times as being 35% slower.
in average, users believe they spend 9 minutes per day waiting for slow websites. this translates to two full days every year .
with the growing demand for speed and all the psychology on top, knowing your site is up is not enough. you need to know what element, when and where becomes a showstopper. with the help of monitis full page load monitoring, you will get load time information on each element, for each hour. a comprehensive report on all the resources will instantly identify the cause of failure if a page is not loading during the expected period of time.
net view of fpl monitor.
fpl monitor allows you export historical data for statistic and results analyzing. you can also exclude 3 rd part resources if there need be.
from monitor settings, you can choose preferable maximum load time for your page and if the load time is higher than the set maximum load time, the monitor will report a failure and you will receive a notification respectively.
with full page load monitoring, you can use the content matching feature to lookup text strings in the source code of your web page. from fpl monitor settings you can choose text or phrase which should be available on your page e.g. if the page is loading but the text doesn't exist on the page you will receive an alert notification.
fpl monitor settings.
based on full page load time statistic analyze you can predict further behavior of your hardware and consequently will be able to plan your hardware upgrade without having an impact on your page performance.
synthetic transaction monitoring
another important factor is web page functional checking. for instance, you have an online e-commerce platform that must be available 24/7. your customers certainly will do below mentioned actions: visit your web page, register, log in with their usernames and passwords, surf in the market, choose some products, add them into their basket and pay for them using one of your integrated payment methods. if one of these steps is not completed successfully you will lose both the potential clients and money.
so what can you do for avoiding such cases? you should regularly test and perform the same actions as your users do. it will take a lot of time and will be too boring. instead, you can use synthetic transaction monitoring.
synthetic transaction monitoring uses a predefined script to perform the same actions as your users. you can easily record a script with transaction recorder and then set up monitor which will use the recorded script. if you need a custom script you ask monitis support team will record and upload the script for you within 48 hours (intricate scripts may take longer).
the script will imitate web transaction flow and check the functionality of each step. you can choose loading time for each step or action and if time is higher than predefined, the monitor will generate an alert and notify you. in alert notifications, you will see all necessary information: the cause of the alert, in which step the script is failed and the screenshot of your page at the moment of failure.
it means that you will be immediately informed if your page or one of the steps will not function as expected. monitis synthetic transaction monitoring allows you to run the script starting from every 5 minutes. and different locations are also available for this type of monitoring, allowing you to keep control from all business-crucial locations. this will help you be safe 24/7/365 of any unusual behavior.
web stress tester
your page can function normally till the moment it's overloaded. for understanding average acceptable load for your web resource, you can perform load testing. web stress testing puts a predefined load on a service to show how it functions under unusual conditions, e.g. you can test your page during 5-15 minutes for up to 2000 users and understand whether the page stays stable. if you need to check page functionality during load time you can perform scenario stress testing.
real user monitoring
real user monitoring allows you to monitor real user interaction with your website to determine if the users access different pages on your website quickly and without errors and to identify and troubleshoot performance problems.
rum is collecting user data about your website page views and load time and where the time is spent, starting from the moment the user enters the page address or clicks the link until the web page has completely loaded and rendered to the user.
jmeter as a solution for api monitoring . jmeter is an open source testing software. it is 100% pure java application for load and performance testing. jmeter is designed to cover categories of tests like load, functional, performance, regression, etc., and can be used to test performance both on static and dynamic resources like web dynamic applications.
your site is an organic entity that needs constant care and monitoring to stay functional. my greatest hope in writing this article is that i've helped motivate you to embrace performance as an evergreen project, to enjoy the thrill of seeking out innovative fixes for new performance challenges, and to celebrate the impact of performance wins on your business.
sure, implementing a few of them is better than implementing none, but the goal is to make your website so great that people would want to come back over and over again.
write in the comments in what other ways you can make a website great.
Opinions expressed by DZone contributors are their own.