Operations 8 min read

Understanding QPS, TPS, Concurrency, and System Throughput Metrics

This article explains the definitions and differences of QPS and TPS, clarifies concurrency and throughput concepts, introduces related metrics such as PV, UV, DAU, and MAU, and outlines key performance testing considerations for system design and capacity planning.

MaGe Linux Operations
MaGe Linux Operations
MaGe Linux Operations
Understanding QPS, TPS, Concurrency, and System Throughput Metrics

1. QPS

QPS Queries Per Second measures the number of queries a single server can handle each second, reflecting its maximum throughput capacity.

2. TPS

TPS Transactions Per Second counts completed transactions per second, where a transaction spans the request from client to server response.

3. Difference between QPS and TPS

TPS counts complete request‑response cycles, while QPS counts every individual request that may occur within a single transaction, such as multiple server calls generated by one page load.

TPS includes user requests, internal server processing, and server responses.

QPS counts each individual request, which can be multiple per transaction.

Example: a page load may generate three server requests, resulting in one TPS but three QPS.

4. Concurrency

Concurrency (concurrent degree) indicates how many requests a system can handle simultaneously, reflecting load capacity and can be derived from access logs.

5. Throughput

Throughput is the number of requests processed per unit time; both TPS and QPS are common throughput metrics.

Key throughput factors

Throughput depends on CPU consumption per request, external interfaces, I/O, etc.; higher CPU cost or slower I/O reduces throughput.

Important parameters

QPS/TPS: number of requests or transactions per second.

Concurrency: simultaneous requests the system can handle.

Response time: usually the average response time.

Relationship

QPS (or TPS) = Concurrency / Average response time.

When either concurrency or response time reaches its limit, overall throughput cannot increase further.

6. PV (Page View)

PV counts each page load or refresh, representing total page accesses.

7. UV (Unique Visitor)

UV counts distinct users visiting within a day, derived by deduplicating user identifiers.

8. DAU (Daily Active Users)

DAU measures the number of active users per day, similar to UV but focused on activity.

9. MAU (Monthly Active Users)

MAU counts distinct active users over a month.

10. System Throughput Evaluation

System design must consider CPU, I/O, external service latency, and estimate performance based on QPS, concurrency, and daily PV.

Typical approach: identify peak TPS and daily PV, relate them, and use stress testing or experience to estimate maximum throughput.

11. Basic Concepts and Formulas for Software Performance Testing

From a user perspective, the key metric is response time—the interval from an action to the result being displayed.

From an administrator perspective, important metrics include response time, resource utilization (CPU, memory, I/O), scalability, maximum concurrent users, bottleneck identification, hardware upgrades, and 24/7 availability.

From a developer perspective, considerations include architecture design, database design, code efficiency, memory usage, thread synchronization, and resource contention.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

ThroughputQPSTPS
MaGe Linux Operations
Written by

MaGe Linux Operations

Founded in 2009, MaGe Education is a top Chinese high‑end IT training brand. Its graduates earn 12K+ RMB salaries, and the school has trained tens of thousands of students. It offers high‑pay courses in Linux cloud operations, Python full‑stack, automation, data analysis, AI, and Go high‑concurrency architecture. Thanks to quality courses and a solid reputation, it has talent partnerships with numerous internet firms.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.