In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
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!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.