Term Description:
QPS = REQ/SEC = Number of Requests/sec
"The way the QPS calculates PV and machines"
QPS statistics [general use of http_load statistics]
QPS = Total Requests/(total number of processes * Request time)
QPS: Number of successful requests per second of a single process server
Single server PV calculation per day
Equation 1: Total PV per day = QPS * 3600 * 6
Equation 2: Total PV per day = QPS * 3600 * 8
Server computing
Number of servers = Ceil (total PV per day/single server total PV per day)
"Peak QPS and machine calculation formula"
Principle: 80% of visits per day are concentrated in 20% of the time, 20% times called peak time
Formula: (Total PV number * 80%)/(number of seconds per day * 20%) = Peak Time requests per second (QPS)
Machine: Peak time per second QPS/single machine for QPS = Required machine
Q: Every day 300w PV on a single machine, this machine requires how much QPS.
Answer: (3000000 * 0.8)/(86400 * 0.2) = 139 (QPS)
Q: If the QPS of a machine is 58, several machines are required to support it.
Answer: 139/58 = 3
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.