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

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

EditPlus Chinese cracked version

EditPlus Chinese cracked version

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

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools