Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What does QPS mean?

Shulou Source: shulou.com Published: 2022-06-02 17:28:47 10月01日 Update

This article mainly introduces the meaning of QPS, which has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

QPS (Queries-per-second), that is, query rate per second, is a measure of how much traffic is processed by a particular query server in a specified period of time; on the Internet, the performance of a machine as a domain name system server is often measured by a query rate per second.

QPS

QPS, the query rate per second, is a measure of how much traffic is processed by a particular query server within a specified period of time.

Query rate per second

On the Internet, the query rate per second is often used to measure the performance of the machine of the domain name system server, namely QPS.

Corresponding to fetches/sec, that is, the number of response requests per second, that is, the maximum throughput capacity.

Computing relationship:

QPS = concurrency / average response time

Concurrency = QPS * average response time

Principle: 80% of daily visits are concentrated in 20% of the time, which is called peak time.

Formula: (total PV * 80%) / (seconds per day * 20%) = requests per second at peak time (QPS).

Machine: peak time per second QPS / QPS of a single machine = needed machine.

Case study:

300w PV per day on a single machine, how much QPS does this machine need?

(3000000 * 0.8) / (86400 * 0.2) = 139 (QPS).

It is generally necessary to reach 139QPS because it is a peak.

Q: if the QPS of a machine is 58, how many machines do you need to support it?

Answer: 139 / 58 = 3

Thank you for reading this article carefully. I hope it is helpful for everyone to share what QPS means. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you have any problems. Detailed solutions are waiting for you to learn!

Tags: Time machine query peak server service article meaning domain name common use performance standard traffic system Internet processing support maximum value formula Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Apple Xiaomi macOS MariaDB