Writing in the front

The National Day holiday is basically over, many friends still keep the mentality of continuous learning during the holiday, and many friends ask me on wechat, asking me to push relevant articles. At this point, I take time to sort out my friends’ questions and then tweet them in order.

PS: I didn’t go anywhere during the holiday, except to take care of my children at home. Someone said: no one read technical papers during the holiday? I don’t believe it!

A friend’s Question

Let’s look at the question of our partner with a picture.

Next, let’s move on to the main body.

What is PV?

PV stands for Page View, refers to the number of Page views, used to measure the number of pages visited by website users.

Each time the user opens a page, it records 1 PV, and opens the same page for many times. Generally speaking, PV is proportional to the number of visitors, but PV does not directly determine the actual number of visitors to the page, just as a visitor can produce a very high PV by constantly refreshing the page.

Specifically, THE PV value is how many pages of a site or a page are viewed by all visitors within 24 hours (0 to 24). PV refers to the number of page refreshes. Each page refresh counts as one PV flow.

The measurement method is to send a Request from the browser to the web server, and the web server receives the Request and sends the corresponding Page to the browser, resulting in a PV. So in this case, as long as the request is sent to the browser, regardless of whether the page is fully open (download completed), then should be counted as 1 PV.

What is UV?

UV is Unique Visitor, the number of Unique visitors that visit a site in a day, based on cookies or tokens.

Multiple visits by the same visitor within a day are recorded as only one visitor. Two ways to determine UV values are by IP and cookie.

Analyze UV values with cookies

When a client visits a web server for the first time, the web server issues a Cookie to the client’s computer, usually placed on drive C of the client’s computer. In this Cookie, a unique number is assigned, which records some information about the server, such as the time of the visit, which pages were visited, and so on. The next time you visit the server, the server can directly find the Cookie from your computer and update it, but the unique number will not change.

What is VV?

VV stands for Visit View, which records the number of visits to the website by all visitors in a day.

When the visitor completes all the browsing and finally closes all the pages of the website, he has completed a visit. The same visitor may visit several times a day, and the number of visits is accumulated.

What is IP?

IP is the number of independent IP addresses. It refers to the number of times that users with different IP addresses access a website in a day. No matter how many pages are accessed by the same IP address, the number of independent IP addresses is 1.

Note here: if two machines access the server using the same IP address, then only one IP address can be accessed.

There is not much difference in the data between IP and UV, usually the amount of UV and IP is a little higher, and each UV corresponds more accurately to an actual viewer relative to each IP.

(1) UV than IP

This situation is in Internet cafes, schools, companies and so on, the same place in the common IP of different users, or a variety of different browsers to visit the site, then the number of UV will be greater than the number of IP.

(2) the UV < IP

In general home network, most computers use ADSL dial-up Internet access, so when the same user visits the website at different times at home, IP may be different, because it will change IP according to the time, that is, the dynamic IP address, but the actual number of visitors is only, there will be less than the number of IP UV.

Example is given to illustrate

For example, on the home ADSL dial-up Internet, I accessed two pages under www.binghe.com at 8 a.m. and three pages under www.binghe.com at 2 p.m. So, for www.binghe.com, today’s PV, UV, VV, IP indicators how to calculate?

Calculation of PV

PV refers to the number of page views. PV is equal to the sum of 2 pages in the morning and 3 pages in the afternoon, that is, PV = 2 + 3.

To calculate the UV

UV refers to the number of independent visitors, a day in the same visitor’s multiple visits only counted as 1 UV, that is, UV = 1.

Calculation of v. v.

VV refers to the number of visits by visitors. There is one visit in the morning and one visit in the afternoon, that is, VV = 2.

Calculate the IP

IP is the number of independent IP addresses. Since THE IP address of ADSL dial-up Internet is different each time, that is, IP = 2.

Well, let’s call it a day and see you next time!

Big welfare

WeChat search the ice technology WeChat 】 the public, focus on the depth of programmers, daily reading of hard dry nuclear technology, the public, reply within [PDF] have I prepared a line companies interview data and my original super hardcore PDF technology document, and I prepared for you more than your resume template (update), I hope everyone can find the right job, Learning is a way of unhappy, sometimes laugh, come on. If you’ve worked your way into the company of your choice, don’t slack off. Career growth is like learning new technology. If lucky, we meet again in the river’s lake!

In addition, I open source each PDF, I will continue to update and maintain, thank you for your long-term support to glacier!!

Write in the last

If you think glacier wrote good, please search and pay attention to “glacier Technology” wechat public number, learn with glacier high concurrency, distributed, micro services, big data, Internet and cloud native technology, “glacier technology” wechat public number updated a large number of technical topics, each technical article is full of dry goods! Many readers have read the articles on the wechat public account of “Glacier Technology” and succeeded in job-hopping to big factories. There are also many readers to achieve a technological leap, become the company’s technical backbone! If you also want to like them to improve their ability to achieve a leap in technical ability, into the big factory, promotion and salary, then pay attention to the “Glacier Technology” wechat public account, update the super core technology every day dry goods, so that you no longer confused about how to improve technical ability!