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 t

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

Example Embodiment

[0108] a) The file information is saved in the head, which is divided by | (vertical bar). The performance test results can be directly parsed from the head. Specific examples are given below:

[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, users can define it by themselves, as long as the performance test results can be obtained by parsing; as in the above example: 2.0 represents the version number of the data, and 159 represents the character length of the head (according to the character length of the head, the head can be obtained directly all the 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 / Represents the request url, 10.249.173.110 is the ip of the executo...

Example Embodiment

[0133] Corresponding to the method provided by Embodiment 1 of a server performance testing method of the present application, refer to Figure 7 , the present application also provides Embodiment 1 of a server performance testing apparatus, in this embodiment, the apparatus 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 configured to create at least one sending thread and a computing thread independent of the sending thread;

[0137] The first triggering module 402 is configured 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 file. 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 performanc...

Example Embodiment

[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 a parsing sub-module 405;

[0146] The parsing submodule 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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products