Home Common Problem What is the qps of a typical server?

What is the qps of a typical server?

Jun 14, 2019 pm 05:16 PM
qps

QPS

QPS is the query rate per second, which is a measure of how much traffic a specific query server handles within a specified period of time.

What is the qps of a typical server?

Query rate per second(Recommended learning: PHP video tutorial)

Commonly used on the Internet The query rate per second measures the performance of the domain name system server machine, which is QPS.

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

Calculation relationship:

QPS = Concurrency / Average response time

Concurrency = QPS * Average response time

Principle: 80% of visits every day Concentrate on 20% of the time, this 20% of time is called peak time.

Formula: (Total PV * 80%) / (Seconds per day * 20%) = Requests per second (QPS) at peak time.

Machine: Peak time QPS per second / QPS of a single machine = required machine.

Case analysis:

If 300w PV per day is used on a single machine, how many QPS does this machine require?

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

Generally it needs to reach 139QPS because it is the peak value.

If the QPS of a machine is 58, how many machines are needed to support it?

139 / 58 = 3

For more PHP related technical articles, please visit the PHP Graphic Tutorial column to learn!

The above is the detailed content of What is the qps of a typical server?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)