Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Calculate TPS according to the principle of 80top 20

2025-03-14 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Understanding 1: 80% of the business is completed in 20% of the time

Understanding 2: 80% of access requests end up on 20% of data

Understanding 3: 80% of users focus on operations 20% of the time

Examples:

User login scenario: morning rush hour, 8:50---9: 10, 5000 agents log in online.

Business volume: 5000

Time: 20 x 60 =1200 seconds

Throughput = 80% x Traffic/(20%* Time)=4000/240=16.7/sec

instead of 5000/1200=4.1/sec.

In fact, the log-in request distribution is a normal distribution, and the peak must be higher than 4.1/sec. The peak period actually completes 80% of the traffic, but it takes only 20% of the time.

Note:

The 80/20 principle calculates the throughput (TPS) that the system is trying to achieve, not the number of concurrent users.

Knowing the number of online users or registered users or PV, you can use the 80/20 principle to estimate the TPS to be achieved.

Formula: PV*80% / 3600*20% =TPS value

3600 is one hour, 3600 seconds.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report