Internet common noun explanation

Source: Internet
Author: User

1. QPS

Queries per second means "Query Rate/sec", which is the number of queries per second that a server can respond to, and is a measure of how much traffic is handled by a particular query server over a specified time period.

"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: How much QPS does this machine need per day for 300w PV on a single machine?
Answer: (3000000 * 0.8)/(86400 * 0.2) = 139 (QPS)

Q: If the QPS for a machine is 58, how many machines are needed to support it?
Answer: 139/58 = 3

2. TPS

Transactions per Second is the number of transactions per second, which is the number of transactions that a database server processes within a unit of time.

Internet common noun explanation

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.