CN108376112A - Method for testing pressure, device and readable medium - Google Patents
Method for testing pressure, device and readable medium Download PDFInfo
- Publication number
- CN108376112A CN108376112A CN201810136622.5A CN201810136622A CN108376112A CN 108376112 A CN108376112 A CN 108376112A CN 201810136622 A CN201810136622 A CN 201810136622A CN 108376112 A CN108376112 A CN 108376112A
- Authority
- CN
- China
- Prior art keywords
- server
- pressure
- performance data
- application server
- flow
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3452—Performance evaluation by statistical analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Quality & Reliability (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Probability & Statistics with Applications (AREA)
- Evolutionary Biology (AREA)
- Bioinformatics & Computational Biology (AREA)
- Life Sciences & Earth Sciences (AREA)
- Debugging And Monitoring (AREA)
Abstract
This application discloses a kind of method for testing pressure, device and readable mediums, are related to field of communication technology.This method includes:Determine that pressure surveys server;First flow is oriented to pressure and surveys server;The performance data that pressure surveys server is obtained from unification monitor supervision platform, for unification monitor supervision platform for being collected to the performance data of at least one application server, at least one application server includes that pressure surveys server;When performance data reaches bottleneck value, pressure testing results are obtained according to performance data.Obtain the performance data of application server in real time by the way that unification monitor supervision platform is arranged, test server can directly obtain the performance data of application server from unification monitor supervision platform, test server is avoided when testing different application servers, it needs after different application server sending performance data acquisition requests, from the tedious steps of different application server receptivity datas, it is only necessary to unified to obtain corresponding performance data from unification monitor supervision platform.
Description
Technical field
The invention relates to field of communication technology, more particularly to a kind of method for testing pressure, device and readable medium.
Background technology
Pressure test be one kind by pressurizeing to server, the method for the maximum load capability of test server, lead to
It often needs through the central processing unit (CPU, Central Processing Unit) of server, memory, disk, server
The data such as query rate (Query Per Second, QPS) per second obtain the pressure testing results of server.
Include a variety of different functions, each function is corresponding with one in general, in the system being completely tested at one
A or one group of server needs to carry out pressure test to the corresponding server of each function in pressure test.The relevant technologies
In provide a kind of method for testing pressure, when carrying out pressure test, direct traffic to tested server, and to each quilt
The server sending performance data acquisition request of test, to be obtained and performance-relevant performance number from the tested server
According to obtaining the pressure testing results of tested server according to these performance datas.
However, due to including a variety of different functions in system, the tested server that when test needs is more, because
And needs are obtained respectively from each tested server and performance-relevant performance data, namely need to each tested
Server sending performance data acquisition request, and after obtaining performance data, obtained according to performance data each tested
The pressure testing results of server cause the process of pressure test relatively complicated.
Invention content
The embodiment of the present application provides a kind of method for testing pressure, device and readable medium, can solve pressure test
The relatively complicated problem of process.The technical solution is as follows:
On the one hand, a kind of method for testing pressure is provided, the method includes:
Determine that pressure surveys server, the pressure surveys the application server that server is pending pressure test;
First flow is oriented to the pressure and surveys server;
The performance data that the pressure surveys server is obtained from unification monitor supervision platform, the unification monitor supervision platform is used for at least
The performance data of one application server is collected, and at least one application server includes that the pressure surveys service
Device;
When the performance data reaches bottleneck value, pressure testing results are obtained according to the performance data.
On the other hand, a kind of pressure test device is provided, described device includes:
Determining module, for determining that pressure surveys server, the pressure surveys the application service that server is pending pressure test
Device;
Oriented module surveys server for first flow to be oriented to the pressure;
Acquisition module, for obtaining the performance data that the pressure surveys server, the unified monitoring from unification monitor supervision platform
Platform is wrapped for being collected to the performance data of at least one application server at least one application server
It includes the pressure and surveys server;
The acquisition module is additionally operable to when the performance data reaches bottleneck value, is obtained and is pressed according to the performance data
Power test result.
On the other hand, a kind of server is provided, which is characterized in that the server includes processor and memory, institute
It states and is stored at least one instruction, at least one section of program, code set or instruction set in memory, at least one instruction, institute
At least one section of program, the code set or instruction set is stated to be loaded by the processor and executed to realize such as above-mentioned the application first
Any method for testing pressure in aspect and its optional embodiment.
On the other hand, a kind of computer readable storage medium is provided, at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is loaded by the processor and is executed to realize as any in above-mentioned the application first aspect and its optional embodiment
The method for testing pressure.
On the other hand, a kind of computer program product is provided, when the computer program product is run on computers
When so that computer is executed such as the pressure test side as described in any in above-mentioned the application first aspect and its optional embodiment
Method.
The advantageous effect that technical solution provided by the embodiments of the present application is brought includes at least:
Obtain the performance data of application server in real time by the way that unification monitor supervision platform is arranged, it can be directly flat from unified monitoring
Platform obtains the performance data of application server, that is, avoids test server when testing different application servers, need to
After different application server sending performance data acquisition requests, from the cumbersome step of different application server receptivity datas
Suddenly, it is only necessary to unified to obtain corresponding performance data from unification monitor supervision platform.
Description of the drawings
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present application, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the implementation environment schematic diagram for the method for testing pressure that one exemplary embodiment of the application provides;
Fig. 2 is the flow chart for the method for testing pressure that one exemplary embodiment of the application provides;
Fig. 3 is the flow chart of the method for testing pressure of the application another exemplary embodiment offer;
Fig. 4 is the flow chart of the method for testing pressure of the application another exemplary embodiment offer;
Fig. 5 is the flow chart of the method for testing pressure of the application another exemplary embodiment offer;
Fig. 6 is the report schematic diagram for the pressure testing results that one exemplary embodiment of the application provides;
Fig. 7 is the structure diagram for the pressure test device that one exemplary embodiment of the application provides;
Fig. 8 is the structure diagram for the server that one exemplary embodiment of the application provides.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
First, the noun involved in the embodiment of the present application is explained:
Pressure test:Pressure test refers to the side tested the maximum load capability of tested application server
Method.
Issued transaction amount (Transactions Per Second, TPS):Issued transaction amount refers within the unit interval
The quantity for the affairs that can be handled of uniting, optionally, the unit interval are 1 second.
Mould is tuned into power:It refers to the success rate called between unit interval internal module in system, optionally, one that mould, which is tuned into power,
A application server group can be used as a module, for the function of application server group, between different application server groups
It can mutually call, specifically, application server group has hereinafter carried out specific description in the corresponding explanations of Fig. 1.It can
Selection of land, the unit interval are 1 second.
Average handling time:Average handling time refers to averagely taking duration to what affairs were handled.Such as:Handle affairs
1 takes 3 milliseconds, and processing affairs 2 take 5 milliseconds, then the average handling time for handling affairs 1 and affairs 2 is 4 milliseconds.
The queue stand-by period:The queue stand-by period refers to affairs being averaged in the queue before handling affairs
Waiting time.Such as:Before handling affairs 1, affairs 1 wait for 3 milliseconds in the queue, are carrying out handling it to affairs 2
Before, affairs 2 wait for 5 milliseconds in the queue, then the queue stand-by period of affairs 1 and affairs 2 is 4 milliseconds.
Disk read-write speed:Disk read-write speed refers to the data that disk can read and be written within the unit interval
Amount, optionally, the unit interval are 1 second.
In conjunction with the noun in above-mentioned the embodiment of the present application, to the implementation ring of method for testing pressure provided by the embodiments of the present application
Border is introduced, and Fig. 1 is the implementation environment schematic diagram for the method for testing pressure that one exemplary embodiment of the application provides, such as
Shown in Fig. 1, which includes:Test server 110, unification monitor supervision platform 120, communication network 130 and application clothes
Business device;
Maximum load capability of the test server 110 for application server is tested, optionally, test server
110 be additionally operable to from unification monitor supervision platform 120 obtain application server performance data, and the performance value of application server into
Row calculates.
Optionally, test server 110 and unification monitor supervision platform 120 are attached by communication network 130, the communication network
Network 130 can be that cable network can also be wireless network.
Performance data of the unification monitor supervision platform 120 for application server is obtained and is cached, optionally, unified to supervise
Control platform 120 can obtain the performance data of application server in real time, and the performance data that can also work as application server changes
When, obtain the performance data of the application server after variation, moreover it is possible to obtain performance data from application server every preset time.
Application server is for providing corresponding service to the user, such as:User browses A webpages in terminal by browser
When, it is supplied to the user to browse A webpages by server corresponding with the A webpages.Optionally, application server can wrap
It includes application server 141, application server 142, application server 143, application server 144, application server 145 and answers
With server 146, illustrated for including 6 application servers in figure, in practical operation, the quantity of application server
It can be less or more, wherein several servers can form an application server group, in the application server group
Application server is for providing the same service to the user.As shown in Figure 1, application server 141 in the application server, answering
An application server group 1401 is formed with server 142, application server 143 and application server 144.Optionally, it surveys
Examination server 110 can determine that the application server of pending pressure test surveys server as pressure in the application server.
In conjunction with the implementation environment schematic diagram of above-mentioned method for testing pressure shown in FIG. 1, Fig. 2 is that the application one is illustrative
The flow chart for the method for testing pressure that embodiment provides, is applied with the method for testing pressure in test server as shown in Figure 1
For in 110, as shown in Fig. 2, the method for testing pressure includes:
Step 201, determine that pressure surveys server.
The pressure surveys the application server that server is pending pressure test.
Optionally, before determining and pressing and survey server, the case where triggering the pressure test, is including at least in following situation
It is at least one:
The first situation, periodic application server carry out pressure test;
Optionally, the pressure survey period cannot be long, such as:A pressure test is carried out within every two days, or is carried out weekly primary
Pressure test.
The second situation tests the corresponding application server of update packet when having detected update packet publication.
For above-mentioned two situations, it is required for application server group to be determined first, such as:It is surveyed according to preset pressure
The examination period is determined application server group to be tested, is carried out really to the update packet application server group according to update packet
It is fixed, then server is surveyed to pressure in application server group and is determined, in general, an application clothes only in application server group
Business device or several application servers carry out pressure test, and pressure is carried out with an application server in application server group
It is illustrated for test, determines that the mode that pressure surveys server includes such as at least one under type in application server group
Kind:
1, when the application server arranged in sequence in application server group, first is not carried out the application of pressure test
Server is determined as pressure and surveys server;
Schematically, application server group A includes application server a, application server b and application server c, and
Application server a, application server b and application server c arranged in sequence, if application server a and application server b into
When row excess pressure is tested, application server c is first application server for not carrying out pressure test;If application server a,
When application server b and application server c is sequenced progress excess pressure test, continue using application server a as first
A application server for not carrying out pressure test.
2, it from application server group, randomly selects an application server and surveys server as pressure;
Step 202, first flow is oriented to pressure and surveys server.
Optionally, which can be existing net flow, which refers to the flow of real user in network, packet
Include upstream data flow and downlink data flow, wherein upstream data flow includes stream caused by the data such as the request of user
Amount, downlink data flow include the flow that the operations such as user's transmission data generate.
Step 203, the performance data that pressure surveys server is obtained from unification monitor supervision platform.
The unification monitor supervision platform is for being collected the performance data of at least one application server, optionally, the system
The performance data for there are all application servers in above-mentioned application server shown in FIG. 1 140 is collected in one monitor supervision platform.
Optionally, unification monitor supervision platform can obtain the performance data of application server in real time, can also work as application server
Performance data when changing, obtain the performance data of the application server after variation, moreover it is possible to every preset time from application
Server obtains performance data.
Step 204, when performance data reaches bottleneck value, pressure testing results are obtained according to performance data.
Optionally, which may include multiple performance datas, such as:The performance data includes central processing unit
(Central Processing Unit, CPU) utilization rate, throughput of system, mould are tuned into power, average handling time, queue etc.
Wait for the time, the numerical value of disk read-write speed can be used for referring to when a performance data then when performance data reaches bottleneck value
At the time of reaching bottleneck value, it can be used for referring at the time of multiple performance datas reach bottleneck value, such as:Work as CPU usage
When reaching bottleneck value, pressure testing results are obtained.
Optionally, bottleneck value refers to the attainable maximum value of performance data value, such as:CPU under first flow is used
Rate is 80%, is increased after obtaining second flow first flow, and the CPU usage under second flow is still 80%,
Then 80% be CPU usage bottleneck value.
Optionally, which includes but not limited to:Pressure surveys the performance value of server, pressure surveys server most
Heavy load ability.
In conclusion method for testing pressure provided in this embodiment, application is obtained by the way that unification monitor supervision platform is arranged in real time
The performance data of server, test server can directly obtain the performance data of application server from unification monitor supervision platform, i.e.,
Test server is avoided when testing different application servers, needs to obtain to different application server sending performance data
After taking request, from the tedious steps of different application server receptivity datas, it is only necessary to unified to be obtained from unification monitor supervision platform
Corresponding performance data.
In an alternative embodiment, when performance data is not up to bottleneck value, then clothes are surveyed according to first flow and pressure
Second flow is oriented to pressure and surveys server by the performance data of business device.Fig. 3 is the application another exemplary embodiment offer
The flow chart of method for testing pressure, by taking the method for testing pressure is applied in test server 110 as shown in Figure 1 as an example, such as
Shown in Fig. 3, which includes:
Step 301, determine that pressure surveys server.
The pressure surveys the application server that server is pending pressure test.
Optionally it is determined that the mode that pressure surveys server includes such as at least one of under type:
First, when the application server arranged in sequence in application server group, pressure test is not carried out by first
Application server is determined as pressure and surveys server;
Second, from application server group, randomly selects an application server and survey server as pressure.Optionally, on
Application server group is stated for providing service, which is used for the code and/or data in application server group
It modifies namely the service of application server group offer is updated.
Optionally, application server group is for providing a user service, and the application service in an application server group
Device is for providing identical service.
Step 302, first flow is oriented to pressure and surveys server.
Optionally, which can be existing net flow, which refers to the flow of real user in network, packet
Include upstream data flow and downlink data flow, wherein upstream data flow includes stream caused by the data such as the request of user
Amount, downlink data flow include the flow that the operations such as user's transmission data generate.
Optionally, include but not limited to by the mode of first flow guiding pressure survey server:Due to load-balancing technique,
Now net flow is usually fifty-fifty oriented to each application server in application server group, by the flow for surveying server to pressure
Weight is configured, and first flow, which is oriented to pressure, surveys server, which is the uninterrupted that finger pressure surveys server load.
Wherein, include again to the mode for pressing the flow weight for surveying server to be configured:
First, it is configured to receiving the quantity of application server of existing net flow, and keep load balancing, to be arranged
Pressure surveys the flow weight of server;
Schematically, it is carried out so that the quantity that application server is arranged is configured the flow weight of pressure survey server as an example
Illustrate, an application server group includes 10 application servers, and the flow weight of each application server is 10%, will
After application server a in application server group is determined as pressure survey server, by the way that existing net stream will be received in application server group
The quantity of the application server of amount is set as 4, to which the flow weight of application server a is adjusted to 25% by 10%.
Second, the flow weight that server is directly surveyed to pressure configures, such as:By pressure survey server flow weight from
10% is configured to 25%.
Optionally, the initial flow weight that pressure surveys server can be pre-set, can also be in normal work shape
Flow weight under state, the initial flow weight that the application surveys pressure server do not limit.
Step 303, the performance data that pressure surveys server is obtained from unification monitor supervision platform.
The unification monitor supervision platform is for being collected the performance data of at least one application server, optionally, the system
The performance data for there are all application servers in above-mentioned application server shown in FIG. 1 140 is collected in one monitor supervision platform.
Optionally, unification monitor supervision platform can obtain the performance data of application server in real time, can also work as application server
Performance data when changing, obtain the performance data of the application server after variation, moreover it is possible to every preset time from application
Server obtains performance data.
Step 304, judge whether performance data reaches bottleneck value.
Optionally, which may include multiple performance datas, such as:The performance data includes central processing unit
(Central Processing Unit, CPU) utilization rate, throughput of system, mould are tuned into power, average handling time, queue etc.
Wait for the time, the numerical value of disk read-write speed can be used for referring to when a performance data then when performance data reaches bottleneck value
At the time of reaching bottleneck value, it can be used for referring at the time of multiple performance datas reach bottleneck value, such as:Work as CPU usage
When reaching bottleneck value, pressure testing results are obtained.
Optionally, bottleneck value refers to the attainable maximum value of performance data value, such as:CPU under first flow is used
Rate is 80%, is increased after obtaining second flow first flow, and the CPU usage under second flow is still 80%,
Then 80% be CPU usage bottleneck value.
Optionally, above-mentioned increase first flow can refer to increasing the flow weight of pressure survey server.
Step 305, when performance data reaches bottleneck value, pressure testing results are obtained according to performance data.
Optionally, which includes but not limited to:Pressure surveys the performance value of server, pressure surveys server most
Heavy load ability.
Optionally, when performance data reaches bottleneck value, the flow weight that pressure is surveyed to server is restored to initial flow to weigh
Weight.
Step 306, when performance data is not up to bottleneck value, the performance data of server is surveyed according to first flow and pressure,
Adjust the uninterrupted of first flow.
Optionally, after the uninterrupted for adjusting first flow, according to the first flow after adjustment, first flow is led in execution
The step of surveying server to pressure and subsequent testing procedure, i.e. step 302 and subsequent step.
Optionally, the above-mentioned performance data that server is surveyed according to first flow and pressure, adjusts the uninterrupted of first flow
When, the performance data that can survey server according to pressure first calculates the amplification of first flow, and the amplification of first flow is calculated
Afterwards, at least one of following situation is included at least:
First, when the amplification of first flow reaches default increasing value, according to the amplification of first flow and first flow
Uninterrupted adjusts the size of the flow of the first flow;
Second, when the amplification of first flow is less than default increasing value, according to the flow of default increasing value and first flow
Size adjusts the size of the flow of the first flow.
Schematically, it is illustrated so that performance data is CPU usage as an example, CPU is prestored in test server most
Big utilization rate calculates the amplification of first flow according to the maximum utilization rate of CPU usage and the CPU in performance data, meter
It is as follows to calculate formula:
Wherein, m is used to refer to the amplification of first flow, CPUmaxFor the maximum utilization rate of CPU, CPUcurrFor performance data
In CPU usage.
By taking default increasing value is 10% as an example, when m is more than or equal to 10%, the calculating of the first flow after adjustment is public
Formula is as follows:
Wherein, L5nextFor the uninterrupted of the first flow after adjustment, L5currFlow for the first flow before adjustment is big
It is small;
When m is less than 10%, the calculation formula of the first flow after adjustment is as follows:
L5next=L5curr* 110%
It is worth noting that, in an alternative embodiment, above-mentioned increase, adjustment, recovery etc. to first flow, all
Can be increase, adjustment, the recovery of the flow weight that server is surveyed to pressure.
In conclusion method for testing pressure provided in this embodiment, application is obtained by the way that unification monitor supervision platform is arranged in real time
The performance data of server, test server can directly obtain the performance data of application server from unification monitor supervision platform, i.e.,
Test server is avoided when testing different application servers, needs to obtain to different application server sending performance data
After taking request, from the tedious steps of different application server receptivity datas, it is only necessary to unified to be obtained from unification monitor supervision platform
Corresponding performance data.
Method for testing pressure provided in this embodiment is adjusted by the uninterrupted to first flow, i.e., by pair
The flow weight that pressure surveys server is adjusted, and gradually adjustment increases the flow weight that pressure surveys server, is increased pressure and is surveyed server
The uninterrupted of the first flow received avoids the performance data before and after the excessive increase of increase of first flow and reaches bottleneck
It can not determine that accurate performance data, i.e., method for testing pressure provided in this embodiment can more accurately obtain pressure and survey clothes when value
The bottleneck value that the performance data of business device can reach, and ensure the normal service on line, take into account the abundant of data acquisition
Property and accuracy, and consider pressure survey period cannot be long problem.
In an alternative embodiment, pressure testing results include the performance value that pressure surveys server, and Fig. 4 is the application
The flow chart for the method for testing pressure that one exemplary embodiment provides, is applied with the method for testing pressure as shown in Figure 1
Test server 110 in for, as shown in figure 4, the method for testing pressure includes:
Step 401, determine that pressure surveys server.
The pressure surveys the application server that server is pending pressure test.
Optionally it is determined that the mode that pressure surveys server includes such as at least one of under type:
First, when the application server arranged in sequence in application server group, pressure test is not carried out by first
Application server is determined as pressure and surveys server;
Second, from application server group, randomly selects an application server and survey server as pressure.
Optionally, for above application server group for providing service, which is used for application server group
In code and/or data modify namely application server group provide service be updated.Optionally, using clothes
Business device group is for providing a user service, and the application server in an application server group is for providing identical service.
Step 402, first flow is oriented to pressure and surveys server.
Optionally, which can be existing net flow, which refers to the flow of real user in network, packet
Include upstream data flow and downlink data flow, wherein upstream data flow includes stream caused by the data such as the request of user
Amount, downlink data flow include the flow that the operations such as user's transmission data generate.
Optionally, include but not limited to by the mode of first flow guiding pressure survey server:Due to load-balancing technique,
Now net flow is usually fifty-fifty oriented to each application server in application server group, by the flow for surveying server to pressure
Weight is configured, and first flow, which is oriented to pressure, surveys server, which is the uninterrupted that finger pressure surveys server load.
Wherein, include again to the mode for pressing the flow weight for surveying server to be configured:
First, it is configured to receiving the quantity of application server of existing net flow, and keep load balancing, to be arranged
Pressure surveys the flow weight of server;
Schematically, it is carried out so that the quantity that application server is arranged is configured the flow weight of pressure survey server as an example
Illustrate, an application server group includes 10 application servers, and the flow weight of each application server is 10%, will
After application server a in application server group is determined as pressure survey server, by the way that existing net stream will be received in application server group
The quantity of the application server of amount is set as 4, to which the flow weight of application server a is adjusted to 25% by 10%.
Second, the flow weight that server is directly surveyed to pressure configures, such as:By pressure survey server flow weight from
10% is configured to 25%.
Optionally, the initial flow weight that pressure surveys server can be pre-set, can also be in normal work shape
Flow weight under state, the initial flow weight that the application surveys pressure server do not limit.
Step 403, the performance data that pressure surveys server is obtained from unification monitor supervision platform.
The unification monitor supervision platform is for being collected the performance data of at least one application server, optionally, the system
The performance data for there are all application servers in above-mentioned application server shown in FIG. 1 140 is collected in one monitor supervision platform.
Optionally, unification monitor supervision platform can obtain the performance data of application server in real time, can also work as application server
Performance data when changing, obtain the performance data of the application server after variation, moreover it is possible to every preset time from application
Server obtains performance data.
Step 404, judge whether performance data reaches bottleneck value.
Optionally, which may include multiple performance datas, such as:The performance data includes central processing unit
(Central Processing Unit, CPU) utilization rate, throughput of system, mould are tuned into power, average handling time, queue etc.
Wait for the time, the numerical value of disk read-write speed can be used for referring to and work as any one performance then when performance data reaches bottleneck value
At the time of data reach bottleneck value, it can be used for referring at the time of multiple performance datas reach bottleneck value, such as:When CPU makes
When reaching bottleneck value with rate, pressure testing results are obtained.
Optionally, bottleneck value refers to the attainable maximum value of performance data value, such as:CPU under first flow is used
Rate is 80%, is increased after obtaining second flow first flow, and the CPU usage under second flow is still 80%,
Then 80% be CPU usage bottleneck value.
Optionally, above-mentioned increase first flow can refer to increasing the flow weight of pressure survey server.
Step 405, when performance data reaches bottleneck value, the property that the pressure surveys server is calculated according to the performance data
It can numerical value.
Optionally, using the performance value as pressure testing results.
Optionally, which includes but not limited to:Throughput of system, mould are tuned into power, average handling time, queue
Stand-by period, disk read-write speed, it is above-mentioned that the performance value that pressure surveys server is calculated according to performance data, such as lower section can be passed through
Formula:Throughput of system be multiplied by mould be tuned into power and obtain the first product, by average handling time be multiplied by the queue stand-by period and
Disk read-write speed obtains the second product, and the ratio of first the second product of sum of products is determined as performance value, is specifically please referred to
Following formula:
Wherein, it in above-mentioned performance data, is illustrated so that CPU reaches bottleneck value as an example, when CPU reaches bottleneck value, TPS
The value that power is tuned into mould is the bigger the better, and the value of average handling time, queue stand-by period and disk read-write speed is smaller
Better, in conjunction with above-mentioned formula, the value that performance value is tuned into power to the value of TPS and mould is directly proportional, performance value and average place
The value of reason time, queue stand-by period and disk read-write speed are inversely proportional.Optionally, when existing net underfed, performance data
When being unable to reach bottleneck value, it can convert according to the ratio of performance data, such as:The default bottleneck value of CPU is 80%, and by
In underfed, the bottleneck value that CPU is actually reached is 40%, and the half of only default bottleneck value will then when calculated performance numerical value
Throughput of system, mould be tuned into power, average handling time, the queue stand-by period, disk read-write speed value by 2 times carry out in terms of
It calculates.
Step 406, when performance data is not up to bottleneck value, the performance data of server is surveyed according to first flow and pressure,
Adjust the uninterrupted of first flow.
Optionally, after the uninterrupted for adjusting first flow, according to the first flow after adjustment, first flow is led in execution
The step of surveying server to pressure and subsequent testing procedure, i.e. step 402 and subsequent step.
In conclusion method for testing pressure provided in this embodiment, application is obtained by the way that unification monitor supervision platform is arranged in real time
The performance data of server, test server can directly obtain the performance data of application server from unification monitor supervision platform, i.e.,
Test server is avoided when testing different application servers, needs to obtain to different application server sending performance data
After taking request, from the tedious steps of different application server receptivity datas, it is only necessary to unified to be obtained from unification monitor supervision platform
Corresponding performance data.
Method for testing pressure provided in this embodiment calculates performance value by above-mentioned formula, according to each individual character
Positive inverse relation between energy data can more accurately obtain the performance value that pressure surveys server.
In an alternative embodiment, after test server obtains pressure testing results, the survey of this pressure can be obtained
Test result report, and be compared with this pressure testing results according to historical pressures test result, analysis data are obtained, are shown
Meaning property, referring to FIG. 5, Fig. 5 is the flow chart for the method for testing pressure that one exemplary embodiment of the application provides, such as scheme
Shown in 5, which includes:
Step 501, test server periodic scan task.
Optionally, test server is periodically scanned packet release tasks.The packet release tasks are updated for referring to
The publication of packet, after update packet publication, the service that application server provides is updated, which is possible to influence application server
Performance, therefore after update packet publication, need in time to the update wrap application server in corresponding application server group into
Row pressure test.
Step 502, packet publication.
Optionally, packet publication can be the update packet issued by application server, can also be to be sent out by other servers
The update packet of cloth, the embodiment of the present application are not limited this.
It optionally, can be directly to the corresponding application server of update packet when test server detects packet publication
Pressure test is carried out, default contact person can also be given to send alarm email, prompts, by update packet publication, to need to carry out pressure survey
Examination.
Step 503, test server according to server and IP obtain application server identifier (Server Identity,
SID)。
Optionally, after wrapping publication, test server is obtained with this more according to the Service name and IP for the update packet being published
Newly wrap corresponding application server identifier.
Step 504, the user's operation page.
When the user's operation page, existing net flow is produced, which is the flow for being oriented to pressure and surveying server.The existing net
Flow refers to the flow of real user in network, including upstream data flow and downlink data flow, wherein upstream data flow
Flow caused by the data such as the request including user, downlink data flow include the stream that the operations such as user's transmission data generate
Amount.
Step 505, existing net flow is oriented to pressure and surveys server by test server.
It is alternatively possible to press the flow weight for surveying server by changing, existing net flow, which is oriented to the pressure, surveys server.
Step 506, whether the performance data of detection pressure survey server reaches bottleneck value.
Test server obtains pressure from unification monitor supervision platform and surveys the performance data of server, and whether judges the performance data
Reach bottleneck value.Optionally, test server preserves the performance data obtained each time from unification monitor supervision platform.
Step 507, when performance data reaches bottleneck value, the load that pressure is surveyed to server and other servers is set as negative
It carries balanced.
I.e. it is equal with the flow weight of other servers to survey server for pressure, wherein other servers refer to surveying service in pressure
Other servers in tested system where device.
Step 508, pressure surveys server and performance data is uploaded to unification monitor supervision platform.
Optionally, pressure survey server can by way of real-time synchronization to unification monitor supervision platform sending performance data,
It can be every preset time to unification monitor supervision platform sending performance data.
Step 509, test server obtains performance data from unification monitor supervision platform.
Optionally, test server obtains the pressure of this pressure test after unification monitor supervision platform obtains performance data
Test result.
Step 510, test server obtains history pressure and surveys result.
Optionally, history pressure is surveyed result and can be stored in the test server, can also be stored in other servers
In.
Step 511, test server exports page report and analysis data according to pressure testing results.
The page report includes the performance data obtained each time in this pressure test.
Schematically, page report is as shown in following table one:
Table one
Time | IP | Flow weight | TPS | Processing time | Stand-by period | CPU |
53 | 100.96.32.41 | 16% | 96 | 50 | 0 | 10% |
54 | 100.96.32.41 | 58% | 101 | 0 | 0 | 13% |
55 | 100.96.32.41 | 58% | 338 | 52 | 0 | 20% |
56 | 100.96.32.41 | 58% | 338 | 54 | 0 | 34% |
57 | 100.96.32.41 | 66% | 348 | 55 | 0 | 36% |
58 | 100.96.32.41 | 70% | 409 | 53 | 0 | 36% |
According to the data in above-mentioned table one it is found that holding power when weighing to 70%, CPU usage has reached 36% bottleneck
Value.
Optionally, test server can also generate the report of broken line schema according to performance data, referring to FIG. 6, Fig. 6 is
The line chart made according to above-mentioned table one for using performance data as CPU usage and TPS.Optionally, further include in Fig. 6
The line chart that last time pressure is surveyed.
Step 512, test server exports this pressure according to pressure testing results and surveys result.
Optionally, this pressure survey result includes but not limited to:At least one of performance data and performance value.
Step 513, test server exports periodic scan pressure according to pressure testing results and historical pressures test result
Result is surveyed to summarize.
Optionally, under the performance value of pressure survey server is compared with the performance value in historical pressures test result
When drop, that is, illustrates that the publication of update packet surveys server for pressure and has a certain impact, need to be adjusted, then test server exists
During the periodic scan pressure survey result of output summarizes, server is surveyed to the pressure that the performance declines and is labeled.
In conclusion method for testing pressure provided in this embodiment, application is obtained by the way that unification monitor supervision platform is arranged in real time
The performance data of server, test server can directly obtain the performance data of application server from unification monitor supervision platform, i.e.,
Test server is avoided when testing different application servers, needs to obtain to different application server sending performance data
After taking request, from the tedious steps of different application server receptivity datas, it is only necessary to unified to be obtained from unification monitor supervision platform
Corresponding performance data.
Method for testing pressure provided in this embodiment, by carrying out report output to this pressure testing results, more intuitively
Embody this carry out pressure test pressure survey server performance data, when performance data display performance is relatively low, can and
When to pressure survey server be adjusted.
Method for testing pressure provided in this embodiment, by by this pressure testing results and historical pressures test result into
Row compares, and more can intuitively embody the trend that pressure surveys the performance of server, such as:The performance that pressure surveys server is optimized or is moved back
Change, better monitoring management is carried out to survey server to pressure.
Fig. 7 is the structure diagram for the pressure test device that one exemplary embodiment of the application provides, as shown in fig. 7,
The pressure test device includes:Determining module 71, oriented module 72 and acquisition module 73;
Determining module 71, for determining that pressure surveys server, the pressure surveys the application clothes that server is pending pressure test
Business device;
Oriented module 72 surveys server for first flow to be oriented to the pressure;
Acquisition module 73, for obtaining the performance data that the pressure surveys server, the unified prison from unification monitor supervision platform
Control platform is for being collected the performance data of at least one application server, at least one application server
Server is surveyed including the pressure;
The acquisition module 73 is additionally operable to when the performance data reaches bottleneck value, is obtained according to the performance data
Pressure testing results.
In an alternative embodiment, determining module 71 are additionally operable to when having detected update packet publication, determining and institute
It states update and wraps corresponding application server group, the application server group includes at least one application server, described
Update packet is for modifying to the code and/or data in the application server group;
Determining module 71 is additionally operable to determine that the pressure surveys server from the application server group.
In an alternative embodiment, determining module 71 are additionally operable to when the application in the application server group
When server arranged in sequence, by the application server group, first application server for not carrying out the pressure test is true
It is set to the pressure and surveys server;
Determining module 71 is additionally operable to from the application server group, is randomly selected described in an application server conduct
Pressure surveys server.
In an alternative embodiment, described device further includes:
Module is adjusted, for when the performance data is not up to the bottleneck value, according to the first flow and described
Pressure surveys the performance data of server, adjusts the uninterrupted of the first flow;
Oriented module 72 is additionally operable to according to the first flow after adjustment, and execution is described to be oriented to the pressure survey by first flow
Server and subsequent testing procedure.
In an alternative embodiment, module is adjusted, including:
First computing unit, the performance data for surveying server according to the pressure calculate the amplification of the first flow;
Module is adjusted, is additionally operable to when the amplification reaches default increasing value, according to the amplification of the first flow and institute
The uninterrupted for stating first flow adjusts the uninterrupted of the first flow;
Module is adjusted, is additionally operable to when the amplification is less than the default increasing value, according to the default increasing value and institute
The uninterrupted for stating first flow adjusts the uninterrupted of the first flow.
In an alternative embodiment, acquisition module 73, including:
Second computing unit, for when the performance data reaches bottleneck value, calculated according to the performance data described in
Pressure surveys the performance value of server, using the performance value as pressure testing results.
In an alternative embodiment, the performance data includes:Throughput of system, mould are tuned into power, average treatment
Time, queue stand-by period, disk read-write speed;
Second computing unit, is additionally operable to the throughput of system being multiplied by the mould and is tuned into power and obtains the first product;It will
The average handling time is multiplied by the queue stand-by period and the disk read-write speed obtains the second product;By described
The ratio of second product described in one sum of products is determined as the performance value.
In conclusion pressure test device provided in this embodiment, application is obtained by the way that unification monitor supervision platform is arranged in real time
The performance data of server, test server can directly obtain the performance data of application server from unification monitor supervision platform, i.e.,
Test server is avoided when testing different application servers, needs to obtain to different application server sending performance data
After taking request, from the tedious steps of different application server receptivity datas, it is only necessary to unified to be obtained from unification monitor supervision platform
Corresponding performance data.
Present invention also provides a kind of server, which includes processor and memory, be stored in memory to
A few instruction, at least one instruction are loaded by processor and are executed to realize that the pressure that above-mentioned each embodiment of the method provides is surveyed
Method for testing.Optionally, which can be test server as shown in Figure 1.It should be noted that the server can be
The server that following Fig. 8 is provided.
Referring to FIG. 8, the structural schematic diagram of the server provided it illustrates one exemplary embodiment of the application.Specifically
For:The server 800 includes central processing unit (CPU) 801 including random access memory (RAM) 802 and read-only deposits
The system storage 804 of reservoir (ROM) 803, and connect the system bus of system storage 804 and central processing unit 801
805.The server 800 further includes the basic input/output of transmission information between each device helped in computer
(I/O systems) 806, and massive store for storage program area 813, application program 814 and other program modules 815 are set
Standby 807.
The basic input/output 806 includes display 808 for showing information and inputs letter for user
The input equipment 809 of such as mouse, keyboard etc of breath.The wherein described display 808 and input equipment 809 are all by being connected to
The input and output controller 810 of system bus 805 is connected to central processing unit 801.The basic input/output 806
Can also include input and output controller 810 for receive and handle from keyboard, mouse or electronic touch pen etc. it is multiple its
The input of his equipment.Similarly, input and output controller 810 also provides output to display screen, printer or other kinds of defeated
Go out equipment.
The mass-memory unit 807 is by being connected to the bulk memory controller (not shown) of system bus 805
It is connected to central processing unit 801.The mass-memory unit 807 and its associated computer-readable medium are server
800 provide non-volatile memories.That is, the mass-memory unit 807 may include such as hard disk or CD-ROI
The computer-readable medium (not shown) of driver etc.
Without loss of generality, the computer-readable medium may include computer storage media and communication media.Computer
Storage medium includes information such as computer-readable instruction, data structure, program module or other data for storage
The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage media includes
RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape
Box, tape, disk storage or other magnetic storage apparatus.Certainly, skilled person will appreciate that the computer storage media
It is not limited to above-mentioned several.Above-mentioned system storage 804 and mass-memory unit 807 may be collectively referred to as memory.
Memory is stored with one or more programs, and one or more programs are configured to by one or more central processings
Unit 801 executes, and one or more programs include the instruction for realizing above-mentioned method for testing pressure, central processing unit 801
It executes the one or more program and realizes the method for testing pressure that above-mentioned each embodiment of the method provides.
According to various embodiments of the present invention, the server 800 can also be arrived by network connections such as internets
Remote computer operation on network.Namely server 800 can be by the network interface that is connected on the system bus 805
Unit 811 is connected to network 812, in other words, can also be connected to using Network Interface Unit 811 other kinds of network or
Remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in
In memory, the one or more programs include for carrying out in method for testing pressure provided in an embodiment of the present invention
By the step performed by server.
The embodiment of the present application also provides a kind of computer readable storage medium, and at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is loaded by the processor 810 and is executed to realize the method for testing pressure as described in Fig. 1 to Fig. 5 is any.
Present invention also provides a kind of computer program products to make when computer program product is run on computers
It obtains computer and executes the method for testing pressure that above-mentioned each embodiment of the method provides.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, the meter
Calculation machine readable storage medium storing program for executing can be computer readable storage medium included in memory in above-described embodiment;It can also
It is individualism, without the computer readable storage medium in supplying terminal.Be stored in the computer readable storage medium to
Few an instruction, at least one section of program, code set or instruction set, it is at least one instruction, at least one section of program, described
Code set or instruction set are loaded by the processor and are executed to realize the method for testing pressure as described in Fig. 1 to Fig. 5 is any.
Optionally, which may include:Read-only memory (ROM, Read Only Memory),
Random access memory (RAM, Random Access Memory), solid state disk (SSD, Solid State Drives) or light
Disk etc..Wherein, random access memory may include resistive random access memory body (ReRAM, Resistance Random
Access Memory) and dynamic random access memory (DRAM, Dynamic Random Access Memory).Above-mentioned
Apply for that embodiment sequence number is for illustration only, can not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on should be included within the protection domain of the application.
Claims (10)
1. a kind of method for testing pressure, which is characterized in that the method includes:
Determine that pressure surveys server, the pressure surveys the application server that server is pending pressure test;
First flow is oriented to the pressure and surveys server;
The performance data that the pressure surveys server is obtained from unification monitor supervision platform, the unification monitor supervision platform is used for at least one
The performance data of application server is collected, and at least one application server includes that the pressure surveys server;
When the performance data reaches bottleneck value, pressure testing results are obtained according to the performance data.
2. according to the method described in claim 1, it is characterized in that, the determining pressure surveys server, including:
When having detected update packet publication, application server group corresponding with the update packet, the application server are determined
Group includes at least one application server, and the update packet is for the code and/or data in the application server group
It modifies;
Determine that the pressure surveys server from the application server group.
3. according to the method described in claim 2, it is characterized in that, described determine that the pressure surveys service from the server group
Device, including:
When the application server arranged in sequence in the application server group, by the application server group, first is not
The application server for carrying out pressure test is determined as the pressure survey server;
Or,
From the application server group, randomly selects an application server and survey server as the pressure.
4. according to the method described in claim 1, it is characterized in that, the method, further includes:
When the performance data is not up to the bottleneck value, the performance number of server is surveyed according to the first flow and the pressure
According to adjusting the uninterrupted of the first flow;
According to the first flow after adjustment, execution is described to be oriented to the pressure survey server and subsequent test step by first flow
Suddenly.
5. according to the method described in claim 4, it is characterized in that, described survey server according to the first flow and the pressure
Performance data, adjust the uninterrupted of first flow, including:
The performance data for surveying server according to the pressure calculates the amplification of the first flow;
When the amplification reaches default increasing value, according to the uninterrupted of the amplification of the first flow and the first flow
Adjust the uninterrupted of the first flow;
When the amplification is less than the default increasing value, according to the uninterrupted of the default increasing value and the first flow
Adjust the uninterrupted of the first flow.
6. method according to any one of claims 1 to 5, which is characterized in that described when the performance data reaches bottleneck value
When, pressure testing results are obtained according to the performance data, including:
When the performance data reaches bottleneck value, the performance value that the pressure surveys server is calculated according to the performance data,
Using the performance value as pressure testing results.
7. according to the method described in claim 6, it is characterized in that, the performance data includes:Throughput of system, mould are tuned into work(
Rate, average handling time, queue stand-by period, disk read-write speed;
The performance value that the pressure survey server is calculated according to the performance data, including:
It the throughput of system is multiplied by the mould is tuned into power and obtain the first product;
The average handling time is multiplied by the queue stand-by period and the disk read-write speed obtains the second product;
The ratio of second product described in first sum of products is determined as the performance value.
8. a kind of pressure test device, which is characterized in that described device includes:
Determining module, for determining that pressure surveys server, the pressure surveys the application server that server is pending pressure test;
Oriented module surveys server for first flow to be oriented to the pressure;
Acquisition module, for obtaining the performance data that the pressure surveys server, the unification monitor supervision platform from unification monitor supervision platform
It is collected for the performance data at least one application server, at least one application server includes the pressure
Survey server;
The acquisition module is additionally operable to when the performance data reaches bottleneck value, and obtaining pressure according to the performance data surveys
Test result.
9. a kind of server, which is characterized in that the server includes processor and memory, be stored in the memory to
Few an instruction, at least one section of program, code set or instruction set, it is at least one instruction, at least one section of program, described
Code set or instruction set are loaded by the processor and are executed to realize the pressure test side as described in claim 1 to 7 is any
Method.
10. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction
Collection is loaded by the processor and is executed to realize the method for testing pressure as described in claim 1 to 7 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810136622.5A CN108376112B (en) | 2018-02-09 | 2018-02-09 | Pressure testing method, device and readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810136622.5A CN108376112B (en) | 2018-02-09 | 2018-02-09 | Pressure testing method, device and readable medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108376112A true CN108376112A (en) | 2018-08-07 |
CN108376112B CN108376112B (en) | 2021-03-26 |
Family
ID=63017667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810136622.5A Active CN108376112B (en) | 2018-02-09 | 2018-02-09 | Pressure testing method, device and readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108376112B (en) |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109460348A (en) * | 2018-10-31 | 2019-03-12 | 网易(杭州)网络有限公司 | The pressure of game server surveys method and apparatus |
CN109800137A (en) * | 2018-12-06 | 2019-05-24 | 珠海西山居互动娱乐科技有限公司 | A kind of server performance test method and system |
CN109828912A (en) * | 2018-12-26 | 2019-05-31 | 同盾控股有限公司 | A kind of software method for testing pressure and device |
CN110083519A (en) * | 2019-04-30 | 2019-08-02 | 中国联合网络通信集团有限公司 | Load test approach and system |
CN110442491A (en) * | 2019-07-09 | 2019-11-12 | 苏州浪潮智能科技有限公司 | A kind of method based on SPECPower testing server performance peak value, equipment and readable medium |
CN110519789A (en) * | 2019-08-02 | 2019-11-29 | 京信通信系统(中国)有限公司 | Method for testing performance, device, computer equipment and storage medium |
CN110727564A (en) * | 2019-10-22 | 2020-01-24 | 上海游族信息技术有限公司 | Real-time monitoring method for test data of server performance pressure test |
CN110874314A (en) * | 2018-08-29 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Pressure measurement method, apparatus, device and medium |
CN111294257A (en) * | 2020-03-09 | 2020-06-16 | 北京九州云动科技有限公司 | Method, device and system for automatic pressure test of application server |
CN111309570A (en) * | 2019-11-19 | 2020-06-19 | 天津网之易创新科技有限公司 | Pressure testing method, medium, device and computing equipment |
CN111343046A (en) * | 2020-02-21 | 2020-06-26 | 北京字节跳动网络技术有限公司 | Method and device for generating pressure flow, electronic equipment and computer readable storage medium |
CN111404771A (en) * | 2020-03-08 | 2020-07-10 | 苏州浪潮智能科技有限公司 | Network load testing method, device, equipment and medium |
CN111447113A (en) * | 2020-03-25 | 2020-07-24 | 中国建设银行股份有限公司 | System monitoring method and device |
CN111666197A (en) * | 2020-06-05 | 2020-09-15 | 北京百度网讯科技有限公司 | Pressure testing method and device, electronic equipment and computer readable medium |
CN111770002A (en) * | 2020-06-12 | 2020-10-13 | 南京领行科技股份有限公司 | Test data forwarding control method and device, readable storage medium and electronic equipment |
CN112350894A (en) * | 2020-11-05 | 2021-02-09 | 科大讯飞股份有限公司 | Performance test method, device, equipment and storage medium of service node |
CN113315677A (en) * | 2021-05-19 | 2021-08-27 | 湖南快乐阳光互动娱乐传媒有限公司 | Mirror flow based pressure measurement method and device, storage medium and equipment |
CN113645153A (en) * | 2021-08-11 | 2021-11-12 | 中国银行股份有限公司 | Flow control method, device, equipment and medium |
CN114448839A (en) * | 2022-01-29 | 2022-05-06 | 中国工商银行股份有限公司 | Self-adaptive distributed system pressure measurement method, device and system |
CN115396346A (en) * | 2022-08-30 | 2022-11-25 | 北京知道创宇信息技术股份有限公司 | Simulation pressure test method, device and system and electronic equipment |
CN117194131A (en) * | 2023-11-06 | 2023-12-08 | 腾讯科技(深圳)有限公司 | Data processing method, apparatus, device, readable storage medium, and program product |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140043985A1 (en) * | 2012-08-07 | 2014-02-13 | Ca, Inc. | System and method for license enforcement for data center monitoring applications |
CN104077212A (en) * | 2013-03-26 | 2014-10-01 | 阿里巴巴集团控股有限公司 | Pressure test system and method |
CN104202220A (en) * | 2014-09-19 | 2014-12-10 | 北京国双科技有限公司 | Pressure test method and pressure test device |
CN105490876A (en) * | 2015-11-26 | 2016-04-13 | 上海斐讯数据通信技术有限公司 | Method for automatic testing of server performance through packet sending linkage and concurrent monitoring |
CN106528426A (en) * | 2016-11-21 | 2017-03-22 | 北京蓝海讯通科技股份有限公司 | Distributed computing system of test indexes |
CN106776337A (en) * | 2016-12-29 | 2017-05-31 | 北京金山安全软件有限公司 | Performance analysis method and device and electronic equipment |
CN107015892A (en) * | 2017-03-30 | 2017-08-04 | 腾讯科技(深圳)有限公司 | A kind of method for testing pressure, device and system |
CN107480015A (en) * | 2017-07-04 | 2017-12-15 | 网易(杭州)网络有限公司 | Load test approach, device, system, storage medium and pressure survey server |
-
2018
- 2018-02-09 CN CN201810136622.5A patent/CN108376112B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140043985A1 (en) * | 2012-08-07 | 2014-02-13 | Ca, Inc. | System and method for license enforcement for data center monitoring applications |
CN104077212A (en) * | 2013-03-26 | 2014-10-01 | 阿里巴巴集团控股有限公司 | Pressure test system and method |
CN104202220A (en) * | 2014-09-19 | 2014-12-10 | 北京国双科技有限公司 | Pressure test method and pressure test device |
CN105490876A (en) * | 2015-11-26 | 2016-04-13 | 上海斐讯数据通信技术有限公司 | Method for automatic testing of server performance through packet sending linkage and concurrent monitoring |
CN106528426A (en) * | 2016-11-21 | 2017-03-22 | 北京蓝海讯通科技股份有限公司 | Distributed computing system of test indexes |
CN106776337A (en) * | 2016-12-29 | 2017-05-31 | 北京金山安全软件有限公司 | Performance analysis method and device and electronic equipment |
CN107015892A (en) * | 2017-03-30 | 2017-08-04 | 腾讯科技(深圳)有限公司 | A kind of method for testing pressure, device and system |
CN107480015A (en) * | 2017-07-04 | 2017-12-15 | 网易(杭州)网络有限公司 | Load test approach, device, system, storage medium and pressure survey server |
Cited By (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110874314A (en) * | 2018-08-29 | 2020-03-10 | 阿里巴巴集团控股有限公司 | Pressure measurement method, apparatus, device and medium |
CN110874314B (en) * | 2018-08-29 | 2024-05-28 | 阿里巴巴集团控股有限公司 | Pressure measurement method, device, equipment and medium |
CN109460348A (en) * | 2018-10-31 | 2019-03-12 | 网易(杭州)网络有限公司 | The pressure of game server surveys method and apparatus |
CN109800137A (en) * | 2018-12-06 | 2019-05-24 | 珠海西山居互动娱乐科技有限公司 | A kind of server performance test method and system |
CN109828912A (en) * | 2018-12-26 | 2019-05-31 | 同盾控股有限公司 | A kind of software method for testing pressure and device |
CN110083519A (en) * | 2019-04-30 | 2019-08-02 | 中国联合网络通信集团有限公司 | Load test approach and system |
CN110442491A (en) * | 2019-07-09 | 2019-11-12 | 苏州浪潮智能科技有限公司 | A kind of method based on SPECPower testing server performance peak value, equipment and readable medium |
CN110442491B (en) * | 2019-07-09 | 2022-07-12 | 苏州浪潮智能科技有限公司 | Method, device and readable medium for testing server performance peak value based on SPECpower |
CN110519789B (en) * | 2019-08-02 | 2023-11-28 | 京信网络系统股份有限公司 | Performance detection method, device, computer equipment and storage medium |
CN110519789A (en) * | 2019-08-02 | 2019-11-29 | 京信通信系统(中国)有限公司 | Method for testing performance, device, computer equipment and storage medium |
CN110727564A (en) * | 2019-10-22 | 2020-01-24 | 上海游族信息技术有限公司 | Real-time monitoring method for test data of server performance pressure test |
CN111309570A (en) * | 2019-11-19 | 2020-06-19 | 天津网之易创新科技有限公司 | Pressure testing method, medium, device and computing equipment |
CN111343046A (en) * | 2020-02-21 | 2020-06-26 | 北京字节跳动网络技术有限公司 | Method and device for generating pressure flow, electronic equipment and computer readable storage medium |
CN111343046B (en) * | 2020-02-21 | 2022-05-17 | 北京字节跳动网络技术有限公司 | Method and device for generating pressure flow, electronic equipment and computer readable storage medium |
CN111404771A (en) * | 2020-03-08 | 2020-07-10 | 苏州浪潮智能科技有限公司 | Network load testing method, device, equipment and medium |
CN111294257B (en) * | 2020-03-09 | 2022-05-27 | 北京九州云动科技有限公司 | Method, device and system for automatic pressure test of application server |
CN111294257A (en) * | 2020-03-09 | 2020-06-16 | 北京九州云动科技有限公司 | Method, device and system for automatic pressure test of application server |
CN111447113A (en) * | 2020-03-25 | 2020-07-24 | 中国建设银行股份有限公司 | System monitoring method and device |
CN111666197A (en) * | 2020-06-05 | 2020-09-15 | 北京百度网讯科技有限公司 | Pressure testing method and device, electronic equipment and computer readable medium |
CN111666197B (en) * | 2020-06-05 | 2024-05-24 | 北京百度网讯科技有限公司 | Pressure testing method and device, electronic equipment and computer readable medium |
CN111770002A (en) * | 2020-06-12 | 2020-10-13 | 南京领行科技股份有限公司 | Test data forwarding control method and device, readable storage medium and electronic equipment |
CN111770002B (en) * | 2020-06-12 | 2022-02-25 | 南京领行科技股份有限公司 | Test data forwarding control method and device, readable storage medium and electronic equipment |
CN112350894A (en) * | 2020-11-05 | 2021-02-09 | 科大讯飞股份有限公司 | Performance test method, device, equipment and storage medium of service node |
CN113315677A (en) * | 2021-05-19 | 2021-08-27 | 湖南快乐阳光互动娱乐传媒有限公司 | Mirror flow based pressure measurement method and device, storage medium and equipment |
CN113315677B (en) * | 2021-05-19 | 2023-03-24 | 湖南快乐阳光互动娱乐传媒有限公司 | Mirror flow based pressure measurement method and device, storage medium and equipment |
CN113645153A (en) * | 2021-08-11 | 2021-11-12 | 中国银行股份有限公司 | Flow control method, device, equipment and medium |
CN114448839A (en) * | 2022-01-29 | 2022-05-06 | 中国工商银行股份有限公司 | Self-adaptive distributed system pressure measurement method, device and system |
CN114448839B (en) * | 2022-01-29 | 2024-04-12 | 中国工商银行股份有限公司 | Self-adaptive distributed system pressure measurement method, device and system |
CN115396346A (en) * | 2022-08-30 | 2022-11-25 | 北京知道创宇信息技术股份有限公司 | Simulation pressure test method, device and system and electronic equipment |
CN117194131A (en) * | 2023-11-06 | 2023-12-08 | 腾讯科技(深圳)有限公司 | Data processing method, apparatus, device, readable storage medium, and program product |
CN117194131B (en) * | 2023-11-06 | 2024-02-27 | 腾讯科技(深圳)有限公司 | Data processing method, apparatus, device, readable storage medium, and program product |
Also Published As
Publication number | Publication date |
---|---|
CN108376112B (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108376112A (en) | Method for testing pressure, device and readable medium | |
US6434513B1 (en) | Method of load testing web applications based on performance goal | |
CN106776280B (en) | Configurable performance testing device | |
US11144556B2 (en) | Dynamic streaming of query responses | |
US20180032574A1 (en) | Dynamic Streaming of Results of Multi-Leveled Queries | |
US9058210B2 (en) | Weighted request rate limiting for resources | |
CN111817974B (en) | Interface current limiting method, device and system based on token bucket and readable storage medium | |
CN106452818A (en) | Resource scheduling method and resource scheduling system | |
WO2017131774A1 (en) | Log event summarization for distributed server system | |
CN103713935B (en) | Method and device for managing Hadoop cluster resources in online manner | |
CN109783227A (en) | Method for allocating tasks, device, system and computer readable storage medium | |
CN106610896A (en) | Adaptive pressure testing method and device | |
US11265231B2 (en) | Real-time ranking of monitored entities | |
US10713591B2 (en) | Adaptive metric pruning | |
CN110020367A (en) | A kind of page rendering method and device | |
CN109491754A (en) | The performance test methods and device of virtual server | |
CN109120548B (en) | Flow control method and device | |
CN107807830A (en) | Medical software update method and server based on cluster | |
CN109584105A (en) | A kind of method and system of service response | |
US11726893B2 (en) | System for automatically evaluating a change in a large population of processing jobs | |
CN105872082B (en) | Fine granularity resource response system based on container cluster load-balancing algorithm | |
CN114827280A (en) | Request processing method, device, equipment and medium | |
US20140181174A1 (en) | Distributed processing of stream data on an event protocol | |
CN109409948A (en) | Transaction method for detecting abnormality, device, equipment and computer readable storage medium | |
CN108228346A (en) | service system and its control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |