Now all Chinese sites claim to be able to count pv. However, after hearing what PV is, it is estimated that all webmasters will laugh. PV means that a visitor looks at several pages of your website within 24 hours (.
However, in China, the webmaster's general quality is not high, understanding is varied. Some think that the cookie is recorded once, some think that the cookie is recorded once, and some think that the cookie is recorded once every page. The first type of counters in China is more understandable, and the second type is quite less. The third type is also incorrect, but after all it is somewhat tight with the correct results, but it is always better than completely wrong. However, timeliness is the third method of recording, because its Cookies need to be written at a considerable level, this method has not yet been used.
How is the real PV calculated? When a website is accessed, the page accessed by the website is recorded and the corresponding IP address is recorded. Then, it is determined that this IP address has not accessed this page today, because there are two elements involved, one column is more than the IP record. The specific comparison method is complicated. I will not go into details here. I just want to describe it from the database volume. If there are 0.6 million simple IP addresses, each visitor accesses an average of three pages, so there will be 1.8 million records in the PV table. Each visitor, in addition to comparing the 0.6 million IP addresses, will continue to compare the 1.8 million PV table, you can imagine this computing workload.
Therefore, in China, the number of independent IP addresses recorded in 24 hours is only a few (some payment statistics are recorded in 24 hours independently), and PV records are not recorded at all, I used to count PV when my server load was low, but I was quickly overwhelmed by computation. I was not prepared to provide this service until the performance of CPU and related devices increased by 10 times.