Performance Test Preparation-Calculate TPS

Source: Internet
Author: User

During the demand research phase, we will know the business model of the test system, including the number of transactions, the daily volume of each transaction (PEN/day) or the peak time volume (pen/time), resulting in the total expected TPS and the proportion of each transaction. This is important to configure the scenario based on this ratio in both the mixed stress test scenario and the stability test scenario. So, first of all, how is TPS calculated?


Example 1: With the current production core system volume peak 6.8 million/day as the base, 20% of the business growth per year, the cabinet business accounted for 25%, the business accounted for 40% of the counter business

Calculate the front-end system three years after the business volume is 6.8 million * (1+20%) * (1+20%) * (1+20%) *25%*40%=117.5 million pen/day.

Based on the expected daily trading volume of 1.175 million/day for the test target, the TPS estimation method is calculated using the conventional performance test, the peak trade TPs is 80% of the trading volume in 20% of the time, with the system trading time 12 hours calculation, the test target TPS is: (1.175 million *0.8)/(12* 0.2*3600 seconds) = 109 PEN/s.

Example 2: The current branch 20 outlets, 5 online teller per network, a total of 5*20=100, the number of teller in the next three years, a total of 200 members of the online teller

By 10% concurrent acreage requires 200*10%=20 concurrent users.


The target TPS may be given directly in a validated performance test, and in general the expected TPS will be calculated based on the given volume.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.