search
HomeCommon ProblemHow much qps is considered high concurrency?

How much qps is considered high concurrency?

Four angles of high concurrency

To say that concurrency does not improve usability is to be a rogue. This issue can be discussed from four perspectives.

First of all, the stateless front-end machine is not enough to carry the request traffic and needs to be expanded horizontally. Generally, the QPS is thousands of levels. Then the relational database cannot handle the read or write peaks, and requires horizontal expansion of the database or the introduction of NoSQL, which is generally thousands to ten thousand levels. After that, nosql cannot be hosted on a single machine, and nosql needs to be horizontally expanded, usually from 100,000 to one million QPS. Finally, it is difficult to simply scale NoSQL horizontally. For example, Weibo has introduced a multi-level cache architecture. This architecture can generally handle millions to tens of millions of QPS access to NoSQL. Of course, user-facing interface requests generally do not reach this level of magnitude. The increase in QPS is mostly due to the pressure caused by read amplification, which is also considered by high-concurrency architecture.

Video Course Recommendation →: "Concurrency Solution for Tens of Millions of Data (Theory and Practice)"

PV and QPS

For example, Weibo’s system with more than 100 million PVs per day generally only has 1500QPS and a peak of 5000QPS.

For example, someone said:

2C4G machine is generally 1000QPS per machine.

8C8G machine can withstand 7000QPS alone.

Written at the back

The specific QPS is closely related to the business. The read-only interface reads the cache and puts pressure on the cache. 3000 per machine is no problem. Write requests of 1000 are also normal. , it is also more complicated and may only be a few hundred QPS.

So QPS is closely related to business scenarios and designs. For example, QPS can be improved through browser local caching, using cache to query hotspot data, and writing transaction MQ asynchronous processing.

For more FAQ, please visit the PHP Chinese website.

The above is the detailed content of How much qps is considered high concurrency?. For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function