Whenever a visitor opens your site, the browser sends a request to the hosting server, which in turn executes it and gives the desired content as a response. A basic HTML website uses very little resources due to the fact that it's static, but database-driven platforms are more requiring and use a lot more processing time. Every page which is served generates two forms of load - CPU load, which depends on the span of time the web server spends executing a certain script; and MySQL load, which depends on the total number of database queries generated by the script while the customer browses the site. Greater load will be created if loads of people look through a certain Internet site at the same time or if many database calls are made at the same time. 2 illustrations are a discussion board with thousands of users or an online store where a customer enters a term within a search box and tens of thousands of items are searched. Having thorough statistics about the load which your site generates will enable you to improve the content or see if it is time to switch to a more powerful sort of hosting service, if the Internet site is simply getting really popular.
MySQL & Load Stats in Hosting
Using the Hepsia Control Panel, provided with all of our hosting packages, you will be able to see really detailed data concerning the system resources your sites use. One of the sections will give you information regarding the CPU load, like how much processing time the web server spent, the span of time it took for your scripts to be executed and exactly how much memory they used. Stats are automatically provided every six hours and you can also see the different types of processes that generated the most load - PHP, Perl, and so on. MySQL load stats are listed in a separate section in which you can see all the queries on an hourly, day-to-day, etcetera. basis. You can go back and compare data from various months to determine if some update has altered the resource usage if the amount of site visitors hasn't changed much. Thus, you can see if your website needs to be optimized, that will give you a better general performance and an improved user experience.