Some conclusions about web performance test

First, the purpose of software performance testing:
1. The current performance evaluation system to determine whether the system meets the expected performance requirements.
2. The overall assessment of the ability of the current system, predictable system load pressure tolerance, prior to application deployment, evaluate system performance.
3. Look for the place of the current system can improve the performance of the
---------------------------------------- ---------------------
Second, indicators of performance testing:
software system metrics:
transaction 1. concurrent users --- lottery class
2. online visitor - - requesting access more pages
3. --- the average response time of a user operation more places: orders, form submission
4. transactions per second (the TPS) --- the number of processing transaction flow, the entire order process the whole data modification form
5. transaction success rate ---- system fails after a certain bottleneck

Resource indicators (Application occupied):
1.CPU usage
2. Memory Utilization
3. Disk the I / O
4. network bandwidth

Database:
1. connections
2. certain concurrency
3.sql execution time

-------------------------------------------------- -----------
Third, consider the direction of tuning:
user:
1. Follow the user operation response time.

Administrator:
1. Response time
usage of server resources is reasonable 2.
3. The application server and database resources are reasonable
4. The system can achieve the expansion
The system supports a maximum number of users to access the maximum amount of business processing system is the number
6 where the system performance bottlenecks may exist
7. the replacement device may improve the performance of those
8. the system can support 7 × 24-hour service access

Development:
1. The architecture is reasonable
2. database design is reasonable
3. Code if there are performance issues
if there is an unreasonable use memory 4. The system
whether the present embodiment unreasonable thread synchronization system 5.
6. System whether there is a reasonable resource competition

-------------------------------------------------- -----------
four aspects of performance tuning:
client tuning:

the server side:
1. the resource separation movement
2. requested load balancing, distributed deployment backend service
3. The tuning program logic, multithreading
4. cache
5. messaging middleware, asynchronous processing

Database:
1.sql statement optimization
2. indexed
3. The large number of splitting Table
4. The separate read and write, the deployment of a distributed database
adjusting The deployment architecture

-------------------------------------------------- -----------
Fifth, system monitoring tools
server resources monitoring indicators:
under 1.Linux system, free, vmstat, sar, iostat commands
2.nmon tools

System monitoring software metrics:
1.Jmeter
2.LR

Guess you like

Origin www.cnblogs.com/laochiji/p/12604394.html