In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the differences between tps and qps, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Difference: QPS refers to "query rate per second", while TPS refers to "transactions per second". Understanding: Tps is the number of transactions per second, for a page visit, form a Tps; and a page request, may generate multiple requests to the server, the server for these requests, can be counted in the "Qps".
The operating environment of this tutorial: windows7 system, Dell G3 computer.
QPS:Queries Per Second means "query rate per second", which is the corresponding number of queries per second by a server, and is a measure of how much traffic is processed by a particular query server within a specified period of time.
TPS: is an acronym for TransactionsPerSecond, that is, transactions per second. It is the unit of measurement of software test results. A transaction is the process in which a client sends a request to the server and the server responds. The client starts the timing when sending the request and ends the timing after receiving the response from the server to calculate the time used and the number of transactions completed.
My personal understanding is as follows:
1. Tps refers to the number of transactions per second, including
1) user request server
2) the internal processing of the server itself
3) the server returns to the user
These three processes can complete N of these three processes per second, and Tps means N
2. Qps is basically similar to Tps, but the difference is that a visit to a page forms a Tps;, but a page request may generate multiple requests to the server, and the server can count these requests into the "Qps".
For example, visiting a page will request the server three times, one visit, resulting in a "T" and three "Qs".
Thank you for reading this article carefully. I hope the article "what's the difference between tps and qps" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is 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.