Each time a visitor opens your website, the web browser sends a request to the server, which in turn executes it and gives the necessary data as a response. A basic HTML website uses very little resources as it's static, but database-driven platforms are more demanding and use much more processing time. Each and every page that is served generates two sorts of load - CPU load, that depends on the length of time the hosting server spends executing a certain script; and MySQL load, which depends on the number of database queries produced by the script while the end user browses the site. Higher load will be produced if many people surf a given website at the same time or if numerous database calls are made at the same time. Two good examples are a discussion board with many users or an online store in which a client enters a term within a search box and thousands of items are searched. Having thorough stats about the load which your Internet site generates will help you optimize the content or see if it is time for you to switch to a more powerful type of web hosting service, if the site is simply getting really popular.
MySQL & Load Stats in Website Hosting
Using the Hepsia CP, provided with all of our website hosting packages, you will be able to see very detailed stats about the system resources your sites use. One of the sections shall give you information regarding the CPU load, such as the amount of processing time the web server spent, the span of time it took for your scripts to be executed and how much memory they used. Statistics are consistently produced every 6 hours and you can also see the types of processes that generated the most load - PHP, Perl, etc. MySQL load stats are listed in a separate section in which you'll be able to see all the queries on an hourly, everyday, etc. basis. You'll be able to go back and compare stats from different months to find out whether some update has transformed the resource usage if the amount of visitors hasn't changed much. In this way, you can determine if your Internet site needs to be optimized, that'll give you a better general performance and an improved user experience.