Terms:
QPS = req/sec = number of requests/second
[Method for Calculating PV and machines in QPS]
QPS statistical method [http_load is generally used for Statistics]
QPS = Total number of requests/(total number of processes * request time)
QPS: Number of successful requests from a single process to the server per second
PV computing per server per day
Formula 1: daily total Pv = QPS * 3600*6
Formula 2: daily total Pv = QPS * 3600*8
Server Computing
Number of servers = Ceil (total PV per day/total PV per day for a single server)
Peak QPS and machine Calculation Formula]
Principle: 80% of accesses are concentrated in 20% of the time every day. The 20% time is called the peak time.
Formula: (total PV count * 80%)/(number of seconds per day * 20%) = number of requests per second during peak time (QPS)
MACHINE: QPS per second during peak time/QPS for a single machine = required Machine
Q: How much QPS does a single machine have 300 PVS per day?
Answer: (3000000*0.8)/(86400*0.2) = 139 (QPS)
Q: If the QPS of one machine is 58, how many machines are needed for support?
Answer: 139/58 = 3