Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, device and system of server performances testing

A test method and server technology, which is applied in hardware monitoring and other directions, can solve the problem of reduced efficiency of server processing requests, and achieve the effect of improving efficiency and saving transmission resources

Active Publication Date: 2013-04-24
ALIBABA GRP HLDG LTD
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The technical problem to be solved in this application is to provide a server performance testing method to solve the problem that the efficiency of server processing requests is reduced due to the small number of requests received by the server when performing response performance testing on the server in the prior art. Further, it saves the transmission resources between JMeter and the server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, device and system of server performances testing
  • Method, device and system of server performances testing
  • Method, device and system of server performances testing

Examples

Experimental program
Comparison scheme
Effect test

specific example

[0109] 2.0|159|This is a test project

[0110] |jmeter| http: / / www.gouwu.com / |10.249.173.110|110|1|11|time|num|

[0111] avgTime|stdDevTime|sum|sqtSumTime|min|max|avgTps|

[0112] errNum|avgBytes|

[0113] For the definition of head, the user can define it by himself, as long as the performance test result can be parsed; as in the above example: 2.0 indicates the version number of the data, and 159 indicates the character length of the head (the head can be directly obtained according to the character length of the head All information in ); "This is a test project" is the project name;

[0114] Jmeter indicates that the data is the data result of jmeter, http: / / www.gouwu.com / Indicates the request url, 10.249.173.110 is the ip of the execution machine, 110 indicates the length of each piece of data, 1 indicates that one piece of data is read at a time (used when reading data), 11 indicates that each piece of data has 11 columns, time|num |avgTime|stdDevTi...

Embodiment 1

[0133] Corresponding to the method provided in Embodiment 1 of a server performance testing method of the present application, see Figure 7 , the present application also provides Embodiment 1 of a server performance testing device. In this embodiment, the device may include:

[0134] A thread creation module 401, a first trigger module 402 and a second trigger module 403;

[0135] in:

[0136] The thread creation module 401 is used to create at least one sending thread and a computing thread independent of the sending thread;

[0137] The first trigger module 402 is used to trigger the sending thread to send the current data request to the server, and when receiving the request result returned by the server, store the request result in a preset fixed-length In the data queue, send the next data request;

[0138] The second triggering module 403 is configured to trigger the calculation thread to calculate the response performance result of the server according...

Embodiment 3

[0145] see Figure 9 , the embodiment of the present application provides a preferred embodiment 3 of a server performance testing device, in which the first trigger module 402 is provided with an analysis sub-module 405;

[0146] The parsing sub-module 405 is configured to parse the data request corresponding to the request result, and obtain the request identifier in the data request.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method, a device and a system of server performances testing. The method of the server performances testing comprises that at least one sending thread is set up, and a computing thread independent to the sending thread is set up. The sending thread is triggered to send current data demand to the server, receive a demand result returned by the server and deposit the demand result to a preset data array with fixed length, and then sends out the next data demand. The computing thread is triggered to compute the response performance result of the server according to the demand result in the data array. According to the method of the server performances testing, a computing process is completed by the independent computing thread, massive time occupied by computing and processing the demand result responded to the server is saved, the amount of demand sent by the server and the amount of the demand received by the server are increased in a certain continuous period, and thus the demand processing efficiency of the server is improved.

Description

technical field [0001] The present application relates to the field of network data processing, in particular to a server performance test optimization method and system. Background technique [0002] A server refers to a collection of computer software and hardware that manages resources and provides services to users, and is used to receive data requests and respond to said data requests. The kind of server comprises multiple, as application server, WEB server etc.; Take WEB server as example: WEB server receives the HTTP (HyperText Transfer Protocol, hypertext transfer protocol) request that client sends, and responds to described HTTP request, will The page corresponding to the HTTP request is sent to the browser of the client, so that the user can browse. [0003] In order to test the response performance of the server to the data request sent by the client, a performance testing tool is generally used to create multiple threads, and then these multiple threads simulat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/34
Inventor 孟凡慧王成军倪生华吴更新
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products