Architecture Design of GPS benchmark monitoring platform (7)-stress testing

Source: Internet
Author: User
Tags benchmark

The stress testing of the ministerial monitoring platform is the last and most difficult part of the detection process. Many enterprise platforms for inspection are stuck in this process. The Enterprise platform faces the following problems:

1. the requirements for specific indicators for stress testing are vague. We only know that we are simulating 10 thousand vehicle terminals for data packet transmission. We do not know which indicators are the specific testing standards. We will be listed after entering the Beijing examination, only then can we know that the stress test has failed. At this time, we need to notify the comrades behind the team for improvement. The delay and travel costs are astonishing. Many testers need to stay in Beijing for dozens of days, which is much less money. Because I don't know the direction, the improvement is also a blind improvement. If I don't know how to do it, I will send a new ticket to the task and shake the dice. Pray that we can pass it.

2. I don't know how to detect it. There are different methods for killing pigs and tails. People repeatedly invented various detection methods. The results are different from the detection methods of the Detection Center of the Ministry of Transport. I watched the testers blindly test the results, it's just to pretend to the leaders, and the effect is still the same as that of not being tested.

3. There is no clear picture of the factors that affect the stress test. Only one factor can be improved, but the combined results of the factors that affect the effect of the stress test.

To solve this problem, stress testing must be conducted in a targeted manner:

1. Know what is the hard indicator of the stress test, and then try to simulate the test to achieve this indicator.

The JT/t796 protocol of the Ministry of Transport stipulates that the platform's vehicle access performance requirements should be: the monitoring platform must meet the high concurrency capability of massive positioning data; an average of 500 entries/second, with a peak value of 1000 entries/second; the Enterprise platform supports access from at least 10000 terminals and monitors more than 10000 dynamic targets. According to the above requirements, the pressure detection of the enterprise platform is carried out in TCP mode, which is divided into two parts. The dynamic target pressure is the detection and positioning data pressure detection.

During the detection, the detection stops if any connection is active or passive.

If the GPS sending frequency does not meet the standard requirements, the detection is also stopped.

The time difference between the GPS time displayed on the client and the Local Machine exceeds 5 seconds, which is also considered as a pressure test failure.

2. measure the test taker's knowledge about the various factors that affect stress testing, and list them for rectification, such as the network bandwidth, server performance, database performance, operating system, and 808gps server of the data center. For example, if your network is poor, in a 10 m exclusive network, when 10 thousand sets of connections flood in, they have not reached the processing bottleneck of the server, and they have timed out and disconnected. The performance of the enterprise and simplified editions of databases varies greatly.

3. to improve and optimize the performance of your 808gps server, you must be able to track the status of the server. Your 808gps server must be added with a function that monitors the performance of the GPS server, at least you can track the maximum concurrency that your server can currently bear, the Inbound speed of your GPS server, Alarm Analysis for latency, and various error logs that may occur under pressure bottlenecks. How many packages are sent by the stress testing tool, how many packages are received by the server, how many packages are lost, and how many connections are disconnected. In this way, you can improve it; otherwise, it is East-West-East.

4. simulate an environment similar to that detected by the Ministry of Transport. For example, if your platform is deployed in the China Southern telecom data center, and the network environment of the Ministry of Transport's testing computer is China North Unicom, this is a blind spot, so how can the same network or dual-line data center be used in your server room.

5. Use professional benchmark testing tools for testing, so that they are consistent with the testing center.

Pressure Test solution available-GPS product manager [email protected]

 

Architecture Design of GPS benchmark monitoring platform (7)-stress testing

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.