QPS:
Query rate per second (Second), the number of response requests per second, which is the maximum throughput capacity.
QPS = REQ/SEC = Request Number/sec
QPS statistical methods [general use Http_load for statistics]
QPS = Total Requests/(total number of processes * Request time)
QPS: Number of times a single process has succeeded in requesting a server per second
Peak QPS and machine calculations:
Rationale: 80% of visits per day are concentrated in 20% of the time, which 20% times is called peak time
Formula: (Total PV number * 80%)/(number of seconds per day * 20%) = Peak time per second request (QPS)
Machine: Peak time per second QPS/single machine QPS = Required machine
Number of servers calculated:
Number of servers =ceil (total PV/single server per day PV)
Q: 100w PV per day on a single machine, this machine needs how many QPS.
Answer: (1000000 * 0.8)/(86400 * 0.2) = (QPS)
Q: If a machine has a QPS of 18, it needs several machines to support it.
Answer: 46/18 = 3
What is PV:
The number of visits is Page view, which is the number of pages viewed or clicked, which is an important index to measure a website. Once a user refreshes or once address access is computed once plus 1.
Single server PV calculation per day
Formula 1: Total PV per day = QPS * 3600 * 6
Formula 2: Total PV per day = QPS * 3600 * 8
What is UV:
An independent visitor, the unique Visitor, accesses a computer client on your site as a visitor (the number of different IP addresses). The same client is only counted once in the same 00:00-24:00, and independent IP visitors provide
A number of different audiences for a certain period of time statistical indicators, but did not reflect the comprehensive activities of the site.
What is the PR value:
PR (ie pagerank), that is, the level of Web page technology, or the weight of the site or popularity. Represents the degree of importance of a Web page. Levels ranging from 1 to 10, and 10 to full marks. The higher the PR value means the more popular the Web page is.
What is IP:
An IP address is a 32-bit IPv4 address assigned to each computer connected to the Internet. (now has 64-bit address)
Concurrent Number:
The number of concurrent users refers to the number of users that the system can host at the same time with normal system capabilities
Throughput:
Throughput refers to the number of requests that the system processes in a unit of time
Response Time (RT):
Response time refers to the time that the system responds to requests