CN110990208A - Cluster test file deployment and performance test method, computer equipment and medium - Google Patents

Cluster test file deployment and performance test method, computer equipment and medium Download PDF

Info

Publication number
CN110990208A
CN110990208A CN201911274391.5A CN201911274391A CN110990208A CN 110990208 A CN110990208 A CN 110990208A CN 201911274391 A CN201911274391 A CN 201911274391A CN 110990208 A CN110990208 A CN 110990208A
Authority
CN
China
Prior art keywords
test
cluster
file
deployed
files
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.)
Pending
Application number
CN201911274391.5A
Other languages
Chinese (zh)
Inventor
徐新功
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Onething Technology Co Ltd
Original Assignee
Shenzhen Onething Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Onething Technology Co Ltd filed Critical Shenzhen Onething Technology Co Ltd
Priority to CN201911274391.5A priority Critical patent/CN110990208A/en
Publication of CN110990208A publication Critical patent/CN110990208A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/505Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Debugging And Monitoring (AREA)

Abstract

A cluster test file deployment method comprises the following steps: acquiring the number of test files to be deployed and the size of the test files to be deployed; calculating the range of a random number according to the number of the test files to be deployed and the scale of the cluster; constructing a test script based on the range of the random number and the size of the test file to be deployed; and distributing the test script to a plurality of test nodes, so that the test nodes deploy test files according to the test script. The invention also provides another cluster test file deployment method, a cluster performance test method, computer equipment and a medium. The cluster performance testing method and the cluster performance testing system can rapidly deploy different testing files to the cluster and deploy the same testing file with the appointed number of parts, improve the cluster testing file deployment efficiency, rapidly deploy the testing file and improve the cluster performance testing efficiency.

Description

Cluster test file deployment and performance test method, computer equipment and medium
Technical Field
The invention relates to the technical field of data networks, in particular to a cluster test file deployment and performance test method, computer equipment and a medium.
Background
A cluster is a system made up of multiple computers, each of which is called a node. In order to utilize the cluster resources to the maximum extent and ensure the normal operation of the cluster, the maximum performance of the cluster needs to be tested, and the performance of testing the cluster needs to deploy the test file to the nodes in the cluster.
The traditional method for deploying test files is to develop a set of test file deployment and scheduling system, and the scheduling system receives a deployment task request sent by a node and returns the deployment task request to a download address specified by the node. And the same test file is distributed to a specified number of nodes by downloading addresses. And after receiving the download address, the node downloads the test file to complete the deployment of the test file. However, developing a set of test file deployment scheduling system is time-consuming and labor-consuming, and at the same time, a download server needs to be assigned to construct a plurality of test files in advance for nodes to download. When the cluster scale is large and the nodes are widely distributed, the efficiency of downloading the test files through the download server is not high, so that the test efficiency is low.
Therefore, it is necessary to provide a deployment scheme for cluster test files, which can rapidly deploy different test files to nodes, thereby improving the deployment efficiency of the cluster test files.
Disclosure of Invention
The invention mainly aims to provide a cluster test file deployment and performance test method, computer equipment and a medium, aiming at solving the problem of low cluster test file deployment efficiency caused by the fact that different test files cannot be rapidly deployed into test nodes.
In order to achieve the above object, a first aspect of the present invention provides a cluster test file deployment method, which is applied in a server, and the method includes:
acquiring the number of test files to be deployed and the size of the test files to be deployed;
calculating the range of a random number according to the number of the test files to be deployed and the scale of the cluster;
constructing a test script based on the range of the random number and the size of the test file to be deployed;
and distributing the test script to a plurality of test nodes, so that the test nodes deploy test files according to the test script.
According to an optional embodiment of the present invention, the calculating a range of a random number according to the number of test files to be deployed and the scale of the cluster includes:
calculating a quotient value of the scale of the cluster and the number of the test files to be deployed;
determining the quotient value as a maximum value of the range of random numbers, wherein a minimum value of the range of random numbers is 1.
The second aspect of the present invention provides a cluster test file deployment method, which is applied to a test node, and the method includes:
receiving a test script sent by a server;
acquiring the range of random numbers in the test script and the size of a test file to be deployed;
generating a target random number according to the range of the random number;
and deploying the test file according to a pre-stored basic test file, the size of the test file to be deployed and the target random number.
According to an optional embodiment of the present invention, the deploying the test file according to the pre-stored basic test file, the size of the test file to be deployed, and the target random number comprises:
calculating the size of the basic test file;
determining cycle times according to the size of the basic test file and the size of the test file to be deployed;
and writing the target random number into the basic test file by using a command line, and circularly copying the target random number for the cycle times to obtain a test file.
The third aspect of the present invention provides a cluster performance testing method, which is applied in a server, and the method includes:
controlling a plurality of test nodes in the cluster to deploy test files;
selecting a plurality of clients to download the test files from the plurality of test nodes during each round of test;
acquiring load information of each test node in a downloading process;
calculating the load sum of the cluster during each test according to the load information of each test node;
determining a maximum load sum as a maximum performance of the cluster.
According to an optional embodiment of the present invention, the selecting the plurality of clients to download the test files from the plurality of test nodes in each round of testing includes:
selecting a preset first number of clients from the plurality of clients during a first round of testing;
in the next round of test, increasing or decreasing the preset second number of clients on the basis of the clients selected in the previous round of test;
and downloading the test file from the plurality of test nodes by the client selected in each round of test.
According to an alternative embodiment of the invention, the method further comprises:
monitoring the index item of each test node in the test process;
judging whether the test node meets the test ending condition or not according to the index item;
and responding to the test node meeting the test ending condition, and ending the test process of the test node.
According to an optional embodiment of the present invention, the determining, according to the indicator, whether the test node satisfies the test end condition includes:
judging whether the index item is larger than a preset index item threshold value or not;
when the index item is greater than or equal to the preset index item threshold value, determining that the test node meets a test ending condition;
and when the index item is smaller than the preset index item threshold value, determining that the test node does not meet the test ending condition.
In order to achieve the above object, a fourth aspect of the present invention provides a computer device, including a memory and a processor, where the memory stores a downloading program of a cluster test file deployment method operable on the processor, and the downloading program of the cluster test file deployment method implements the cluster test file deployment method when executed by the processor; alternatively, the memory stores a downloaded program of the cluster performance testing method, which can be run on the processor, and the downloaded program of the cluster performance testing method realizes the cluster performance testing method when being executed by the processor.
In order to achieve the above object, a fifth aspect of the present invention provides a computer-readable storage medium, where a downloading program of a cluster test file deployment method is stored on the computer-readable storage medium, and when executed by a processor, the downloading program of the cluster test file deployment method implements the cluster test file deployment method; or, the computer-readable storage medium stores a downloading program of the cluster performance testing method, and the downloading program of the cluster performance testing method is executed by the processor to implement the cluster performance testing method.
The cluster test file deployment method, the cluster performance test method, the computer device and the storage medium of the embodiment of the invention realize rapid deployment of different test files, and each test file deploys the number of the test files to be deployed to the corresponding test node, thereby improving the efficiency of cluster test file deployment. By rapidly deploying the test files, the automatic test of the cluster performance is realized. Because the deployed test file content is not required to be concerned when the performance of the cluster is tested, and only the deployed test file size is required to be concerned, after the test nodes in the cluster complete the initialization of the test script, the test files with different sizes are firstly constructed, and then the constructed test files are deployed into the cluster, so that the download test nodes can be removed, the labor cost and the economic cost for developing a test file deployment scheduling system are saved, the transmission process between the download test nodes and the nodes in the cluster is also saved, and the problems of overlong transmission time or overtime and the like caused by low transmission efficiency between the download test nodes and the nodes are avoided.
Drawings
Fig. 1 is a schematic flowchart of a cluster test file deployment method according to an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a cluster test file deployment method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a cluster performance testing method according to an embodiment of the present invention;
FIG. 4 is a functional block diagram of a cluster test file deployment apparatus according to an embodiment of the present invention;
FIG. 5 is a functional block diagram of a cluster test file deployment apparatus according to an embodiment of the present invention;
FIG. 6 is a functional block diagram of a cluster performance testing apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
Example one
Fig. 1 is a flowchart illustrating a cluster test file deployment method according to a first embodiment of the present invention.
The cluster test file deployment method is applied to a server. The cluster test file deployment method specifically comprises the following steps, and according to different requirements, the sequence of the steps in the flowchart can be changed, and some steps can be omitted.
And S11, acquiring the number of the test files to be deployed and the size of the test files to be deployed.
In this embodiment, the cluster may be, for example, an InterPlanetary test File System (IPFS), a Hadoop Distributed test File System (HDFS), or other Distributed test File systems.
The cluster described in this embodiment mainly takes an IPFS cluster as an example, where the IPFS is a network transmission protocol aiming at creating a persistent and distributed storage and sharing test files, and is a peer-to-peer hypermedia distribution protocol with addressable content. The test nodes in the IPFS network will constitute a distributed test file test system.
If different test files are deployed in the cluster and the same test file is deployed with the specified number of copies, the size of the test file to be deployed and the number of copies of the test file to be deployed need to be specified in advance. For example, if different test files with the size of 1G are deployed in a cluster and 100 test files are deployed in the same test file, the size of the test file to be deployed is set to be 1G, and the number of the test files to be deployed is set to be 100. For another example, if different test files with a size of 1000M are to be deployed in a cluster and 1000 test files are deployed in the same test file, the size of the test file to be deployed is set to be 1000M, and the number of the test files to be deployed is set to be 1000.
And S12, calculating a range of random numbers according to the number of the test files to be deployed and the cluster scale.
In this embodiment, the size of the cluster refers to the total number of nodes in the cluster. For example, if there are 100 ten thousand nodes in a cluster, the size of the cluster is 100 ten thousand.
In this optional embodiment, a range of a random number is calculated according to the number of test files to be deployed and the scale of the cluster, so that a test script is conveniently constructed, and a test node constructs a test file according to the test script.
In an optional embodiment of the present invention, the calculating a range of a random number according to the number of the test files to be deployed and the scale of the cluster includes:
calculating a quotient value of the scale of the cluster and the number of the test files to be deployed;
determining the quotient value as a maximum value of the range of random numbers, wherein a minimum value of the range of random numbers is 1.
In this alternative embodiment, it can be ensured that the number of test nodes deploying the same test file in the cluster is the same through the number of test file copies to be deployed and the size of the cluster. For example, assuming that the cluster size is 100 thousands, and the number of test files to be deployed is 100, 1 ten thousand different 1G test files may be constructed, and the 1 ten thousand different 1G test files are distributed to 100 ten thousand nodes, where each 100 nodes have 1G test files with the same content deployed therein.
S13, constructing a test script based on the range of the random number and the size of the test file to be deployed.
And when the server constructs the test script, writing the range of the random number and the size of the test file to be deployed into the test script.
S14, distributing the test script to a plurality of test nodes, and enabling the plurality of test nodes to deploy test files according to the test script.
In this embodiment, after the server constructs the test script, the server distributes the test script to the test nodes in the cluster, so that the test nodes install the test script, and deploy the test file for testing based on the test script.
In the cluster test file deployment method of this embodiment, a test script is constructed according to the number of test files to be deployed, the size of the test files to be deployed, and the scale of a cluster, and the test script is distributed to test nodes in the cluster, so that the test nodes complete deployment of the test files according to the test script. The rapid deployment of the test files of the cluster is realized, the deployment efficiency is high, the test files with the specified size can be deployed, and the specified number of copies of the same test file can be deployed.
Example two
Fig. 2 is a flowchart illustrating a cluster test file deployment method according to a second embodiment of the present invention.
The cluster test file deployment method is applied to test nodes. The cluster test file deployment method specifically comprises the following steps, and according to different requirements, the sequence of the steps in the flowchart can be changed, and some steps can be omitted.
And S21, receiving the test script sent by the server.
And each test node in the cluster receives the test script distributed by the server, and the test script is installed and initialized.
And S22, acquiring the range of the random number in the test script and the size of the test file to be deployed.
The test nodes extract the range of the random numbers recorded in the test script and the size of the test file to be deployed.
And S23, generating a target random number according to the range of the random numbers.
In this embodiment, the test node randomly or randomly generates a target random number from the range of the random number, and controls the test node to generate the target random number by giving the range of the random number, so that it is ensured that the probability of each random number being acquired by each test node is the same, and the target random numbers generated by some test nodes are the same, thereby achieving that a plurality of test nodes in a cluster are uniformly grouped according to the generated target random number, the number of test nodes in each group is equal to the number of test files to be deployed, the random numbers acquired by the test nodes in the same group are the same, and the random numbers acquired by the test nodes in different groups are different.
For example, assuming that the random number acquired by the test node is "1", the random number acquired by the test node 2 is "2", the random number acquired by the test node 3 is "3", the random number acquired by the test node 4 is "4", the random number acquired by the test node 5 is "5", the random number acquired by the test node 6 is "1", the random number acquired by the test node 7 is "2", the random number acquired by the test node 8 is "3", the random number acquired by the test node 9 is "4", and the random number acquired by the test node 10 is "5", the test node 1 and the test node 6 are divided into one group, the test node 2 and the test node 7 are divided into one group, the test node 3 and the test node 8 are divided into one group, the test node 4 and the test node 9 are divided into one group, and the test node 5 and the test node 10 are divided into one group.
And S24, deploying the test file according to the pre-stored basic test file, the size of the test file to be deployed and the target random number.
In this embodiment, a basic test file is pre-stored in the test node, and the test file is deployed based on the basic test file and the test script.
In an optional embodiment of the present invention, the deploying the test file according to the pre-stored basic test file, the size of the test file to be deployed, and the target random number includes:
calculating the size of the basic test file;
determining cycle times according to the size of the basic test file and the size of the test file to be deployed;
and writing the target random number into the basic test file by using a command line, and circularly copying the target random number for the cycle times to obtain a test file.
In this alternative embodiment, in order to ensure that the contents of the test files deployed in the test nodes of the same group are the same, and the contents of the test files deployed in the test nodes of different groups are different, the test files of different contents may be constructed by using the command line and the target random number generated by the test nodes.
The command line may be: f1g.file ═ f; cat basic _ file > > f1g. file, cat command is used to concatenate the test file and print.
For example, if 1G of target test files are deployed in a cluster, a 1M test file is stored in advance as a basic test file basic _ file for constructing the test file, assuming that a random number acquired by a test node 1 of the cluster is "1", a random number acquired by a test node 2 is "2", and a random number acquired by a test node 3 is "3", writing the random number "1" into the basic test file basic _ file using a command line (f1g.file: "; (catbasic _ file > > f1g.file) and circularly copying the basic test file basic _ file 1024 times, thereby generating a 1G of text test file whose target test file content is" 1 "; writing a random number '2' into a basic test file basic _ file by using a command line (F1G. file > > F1G. file), circularly copying the basic test file basic _ file for 1024 times, and generating a 1G text test file with the content of a target test file being formed by '2'; the random number "3" is written into the basic test file basic _ file using a command line (f1g. file >; cat basic _ file > > f1g. file) and is circularly copied 1024 times to the basic test file basic _ file, and a 1G text test file consisting of "3" is generated as the content of the target test file.
For another example, if 100M target test files are deployed in a cluster, a 1M test file is pre-stored as a basic test file basic _ file for constructing the test file, assuming that a random number acquired by a test node 1 of the cluster is "1", a random number acquired by a test node 2 is "2", and a random number acquired by a test node 3 is "3", writing the random number "1" into the basic test file basic _ file using a command line (f1g.file:; catbasic _ file > > f1g.file) and circularly copying the basic test file basic _ file 100 times to generate a 100M text test file with the target test file content "1"; writing a random number '2' into a basic test file basic _ file by using a command line (F1G.file >; cat basic _ file > > F1G.file), circularly copying the basic test file basic _ file 100 times, and generating a 100M text test file consisting of '2' as the content of a target test file; the random number "3" is written into the basic test file basic _ file using a command line (f1g. file >; cat basic _ file > > f1g. file) and is circularly copied 100 times to the basic test file basic _ file, and 100M text test files composed of "3" are generated as the contents of the target test file.
According to the cluster test file deployment method, the test script is installed and initialized, and the rapid deployment of the test files is achieved based on the basic test files, the number of the test files to be deployed and the size of the test files to be deployed.
EXAMPLE III
Fig. 3 is a flowchart illustrating a cluster test file deployment method according to a third embodiment of the present invention.
The cluster test file deployment method is applied to a server. The cluster test file deployment method specifically comprises the following steps, and according to different requirements, the sequence of the steps in the flowchart can be changed, and some steps can be omitted.
And S31, controlling a plurality of test nodes in the cluster to deploy the test files.
In this embodiment, each test node in the IPFS cluster has a node client node _ agent installed thereon, and the test node may be connected to a server node _ server in the cluster through the node client node _ agent. The server node _ server distributes a test script, for example a test script of an IPFS system, to each test node in the cluster. And after receiving the distributed test script, the test node executes the test script through the node _ agent of the node client, thereby completing the installation and initialization of the test script.
And S32, selecting a plurality of clients to download the test files from the plurality of test nodes during each round of test.
In this embodiment, after the test files in the cluster are deployed, the performance of the cluster is tested by downloading the test files from the plurality of test nodes through simulation of the plurality of clients.
In an optional embodiment of the present invention, the selecting a plurality of clients to download the test file from the plurality of test nodes in each round of testing includes:
selecting a preset first number of clients from the plurality of clients during a first round of testing;
in the next round of test, increasing or decreasing the preset second number of clients on the basis of the clients selected in the previous round of test;
and downloading the test file from the plurality of test nodes by the client selected in each round of test.
In this alternative embodiment, multiple rounds of testing may be performed and the maximum performance of the cluster determined from the results of the Torontal tests.
In an alternative embodiment, a plurality of clients may be prepared in advance, and the download pressure (performance) of the cluster may be tested by increasing or decreasing the number of selected clients at each test round.
In some embodiments, the cluster performance may be tested by deploying test files of a specified size, designating the number of test files to be deployed by the same test file, and selecting different numbers of clients during each test cycle. For example, a test file with a size of 1G is deployed in each round of test, and 100 test files are deployed in the same test file, 1000 clients are selected in the first round of test, 1100 clients are selected in the second round of test, and 900 clients are selected in the third round of test.
In some embodiments, a fixed number of clients may also be selected during each test, and the cluster performance may be tested by changing the size of the test files to be deployed and/or changing the number of copies of the test files to be deployed. For example, during each round of testing, the number of the clients is fixed, during the first round of testing, the size of the test file to be deployed is designated as 100M, and the number of the test files to be deployed is 100, during the second round of testing, the size of the test file to be deployed is designated as 300M, and the number of the test files to be deployed is designated as 100, during the third round of testing, the size of the test file to be deployed is designated as 300M, and the number of the test files to be deployed is designated as 300.
And S33, acquiring the load information of each test node in the downloading process.
In this embodiment, in the process of downloading the test file from the test node by the client, the test node may actively report the load information to the server.
And S34, calculating the total load of the cluster during each test according to the load information of each test node.
And during each round of testing, the server acquires the load information reported by each testing node, and calculates the load sum of the round of testing according to the load information reported by all the testing nodes.
And S35, determining the maximum load sum as the maximum performance of the cluster.
In this embodiment, the maximum load sum is determined from the load sums of the multiple test rounds, which is the maximum performance of the cluster. The maximum performance refers to the amount of data that a cluster can concurrently transmit.
In an optional embodiment of the invention, the method further comprises:
monitoring the index item of each test node in the test process;
judging whether the test node meets the test ending condition or not according to the index item;
and responding to the test node meeting the test ending condition, and ending the test process of the test node.
In this optional embodiment, a test end condition may be preset, the index item of each test node is monitored at any time, and whether the test node meets the preset test end condition is determined according to the index item. And when the test node is determined to meet the test ending condition, sending a test ending instruction to the test node. And when the test node receives the test ending instruction, the test node actively reports the load information.
In an optional embodiment of the present invention, the determining, according to the index item, whether the test node satisfies a test end condition includes:
judging whether the index item is larger than a preset index item threshold value or not;
when the index item is greater than or equal to the preset index item threshold value, determining that the test node meets a test ending condition;
and when the index item is smaller than the preset index item threshold value, determining that the test node does not meet the test ending condition.
The index item may include: CPU utilization, network bandwidth, number of database connections, etc. And when the CPU utilization rate of the test node exceeds a preset CPU utilization rate threshold value, determining that the test node meets the test ending condition. And when the network bandwidth of the test node exceeds a preset network bandwidth threshold value, determining that the test node meets the test ending condition. And when the connection number of the database exceeds a preset connection number threshold value, determining that the test node meets the test ending condition.
According to the cluster performance testing method, different test files are deployed rapidly, and each test file is deployed to the corresponding test node in the designated number, so that the cluster test file deployment efficiency is improved, and the cluster performance testing efficiency is improved. Because the content of the deployed test file is not required to be concerned when the performance of the cluster is tested, and only the size of the deployed test file is required to be concerned, after the test nodes in the cluster complete the initialization of the test script, the size of the constructed target test file is firstly specified, and then the constructed target test files with different contents are deployed into the cluster, so that the download test nodes can be removed, the labor cost and the economic cost for developing a test file deployment scheduling system are saved, the transmission process between the download test nodes and the test nodes in the cluster is also saved, and the problems of overlong transmission time or overtime and the like caused by low transmission efficiency between the download test nodes and the test nodes are avoided.
Example four
Fig. 4 is a schematic functional module diagram of a cluster test file deployment device according to a fourth disclosure of the present invention.
In some embodiments, the cluster test file deploying apparatus 40 may include a plurality of functional modules composed of program code segments. The program codes of the various program segments in the cluster test file deployment apparatus 40 may be stored in a memory of a computer device and executed by at least one processor to perform (see detailed description of fig. 1) the cluster test file deployment.
In this embodiment, the cluster test file deployment apparatus 40 may be divided into a plurality of functional modules according to the functions executed by the cluster test file deployment apparatus. The functional module may include: a first obtaining module 401, a range calculating module 402, a script constructing module 403 and a script distributing module 404. The module referred to herein is a series of computer program segments capable of being executed by at least one processor and capable of performing a fixed function and is stored in memory. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.
The first obtaining module 401 is configured to obtain the number of test files to be deployed and the size of the test files to be deployed.
In this embodiment, the cluster may be, for example, an InterPlanetary test File System (IPFS), a Hadoop Distributed test File System (HDFS), or other Distributed test File systems.
The cluster described in this embodiment mainly takes an IPFS cluster as an example, where the IPFS is a network transmission protocol aiming at creating a persistent and distributed storage and sharing test files, and is a peer-to-peer hypermedia distribution protocol with addressable content. The test nodes in the IPFS network will constitute a distributed test file test system.
If different test files are deployed in the cluster and the same test file is deployed with the specified number of copies, the size of the test file to be deployed and the number of copies of the test file to be deployed need to be specified in advance. For example, if different test files with the size of 1G are deployed in a cluster and 100 test files are deployed in the same test file, the size of the test file to be deployed is set to be 1G, and the number of the test files to be deployed is set to be 100. For another example, if different test files with a size of 1000M are to be deployed in a cluster and 1000 test files are deployed in the same test file, the size of the test file to be deployed is set to be 1000M, and the number of the test files to be deployed is set to be 1000.
The range calculation module 402 is configured to calculate a range of a random number according to the number of test files to be deployed and the scale of the cluster.
In this embodiment, the size of the cluster refers to the total number of nodes in the cluster. For example, if there are 100 ten thousand nodes in a cluster, the size of the cluster is 100 ten thousand.
In this optional embodiment, a range of a random number is calculated according to the number of test files to be deployed and the scale of the cluster, so that a test script is conveniently constructed, and a test node constructs a test file according to the test script.
In an optional embodiment of the present invention, the range calculating module 402, according to the number of test files to be deployed and the cluster size, calculates a range of a random number, including:
calculating a quotient value of the scale of the cluster and the number of the test files to be deployed;
determining the quotient value as a maximum value of the range of random numbers, wherein a minimum value of the range of random numbers is 1.
In this alternative embodiment, it can be ensured that the number of test nodes deploying the same test file in the cluster is the same through the number of test file copies to be deployed and the size of the cluster. For example, assuming that the cluster size is 100 thousands, and the number of test files to be deployed is 100, 1 ten thousand different 1G test files may be constructed, and the 1 ten thousand different 1G test files are distributed to 100 ten thousand nodes, where each 100 nodes have 1G test files with the same content deployed therein.
The script constructing module 403 is configured to construct a test script based on the range of the random number and the size of the test file to be deployed.
And when the server constructs the test script, writing the range of the random number and the size of the test file to be deployed into the test script.
The script distribution module 404 is configured to distribute the test script to a plurality of test nodes, so that the plurality of test nodes deploy test files according to the test script.
In this embodiment, after the server constructs the test script, the server distributes the test script to the test nodes in the cluster, so that the test nodes install the test script, and deploy the test file for testing based on the test script.
The cluster test file deployment device described in this embodiment constructs a test script according to the number of test files to be deployed, the size of the test files to be deployed, and the scale of a cluster, and distributes the test script to test nodes in the cluster, so that the test nodes complete the deployment of the test files according to the test script. The rapid deployment of the test files of the cluster is realized, the deployment efficiency is high, the test files with the specified size can be deployed, and the specified number of copies of the same test file can be deployed.
EXAMPLE five
Fig. 5 is a schematic functional module diagram of a cluster test file deployment device according to a fifth disclosure of the present invention.
In some embodiments, the cluster test file deploying apparatus 50 may include a plurality of functional modules composed of program code segments. The program codes of the program segments in the cluster test file deployment apparatus 50 may be stored in a memory of a computer device and executed by at least one processor to perform (see fig. 2 for details) a cluster test file deployment function.
In this embodiment, the cluster test file deployment apparatus 50 may be divided into a plurality of functional modules according to the functions executed by the cluster test file deployment apparatus. The functional module may include: the system comprises a script receiving module 501, a second obtaining module 502, a numerical value generating module 503 and a file deploying module 504. The module referred to herein is a series of computer program segments capable of being executed by at least one processor and capable of performing a fixed function and is stored in memory. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.
The script receiving module 501 is configured to receive a test script sent by a server.
And each test node in the cluster receives the test script distributed by the server, and the test script is installed and initialized.
The second obtaining module 502 is configured to obtain a range of the random number in the test script and a size of the test file to be deployed.
The test nodes extract the range of the random numbers recorded in the test script and the size of the test file to be deployed.
The value generating module 503 is configured to generate a target random number according to the range of the random number.
In this embodiment, the test node randomly or randomly generates a target random number from the range of the random number, and controls the test node to generate the target random number by giving the range of the random number, so that it is ensured that the probability of each random number being acquired by each test node is the same, and the target random numbers generated by some test nodes are the same, thereby achieving that a plurality of test nodes in a cluster are uniformly grouped according to the generated target random number, the number of test nodes in each group is equal to the number of test files to be deployed, the random numbers acquired by the test nodes in the same group are the same, and the random numbers acquired by the test nodes in different groups are different.
For example, assuming that the random number acquired by the test node is "1", the random number acquired by the test node 2 is "2", the random number acquired by the test node 3 is "3", the random number acquired by the test node 4 is "4", the random number acquired by the test node 5 is "5", the random number acquired by the test node 6 is "1", the random number acquired by the test node 7 is "2", the random number acquired by the test node 8 is "3", the random number acquired by the test node 9 is "4", and the random number acquired by the test node 10 is "5", the test node 1 and the test node 6 are divided into one group, the test node 2 and the test node 7 are divided into one group, the test node 3 and the test node 8 are divided into one group, the test node 4 and the test node 9 are divided into one group, and the test node 5 and the test node 10 are divided into one group.
The file deployment module 504 is configured to deploy the test file according to a pre-stored basic test file, the size of the test file to be deployed, and the target random number.
In this embodiment, a basic test file is pre-stored in the test node, and the test file is deployed based on the basic test file and the test script.
In an optional embodiment of the present invention, the deploying, by the file deploying module 504, the test file according to the pre-stored basic test file, the size of the test file to be deployed, and the target random number includes:
calculating the size of the basic test file;
determining cycle times according to the size of the basic test file and the size of the test file to be deployed;
and writing the target random number into the basic test file by using a command line, and circularly copying the target random number for the cycle times to obtain a test file.
In this alternative embodiment, in order to ensure that the contents of the test files deployed in the test nodes of the same group are the same, and the contents of the test files deployed in the test nodes of different groups are different, the test files of different contents may be constructed by using the command line and the target random number generated by the test nodes.
The command line may be: f1g.file ═ f; cat basic _ file > > f1g. file, cat command is used to concatenate the test file and print.
For example, if 1G of target test files are deployed in a cluster, a 1M test file is stored in advance as a basic test file basic _ file for constructing the test file, assuming that a random number acquired by a test node 1 of the cluster is "1", a random number acquired by a test node 2 is "2", and a random number acquired by a test node 3 is "3", writing the random number "1" into the basic test file basic _ file using a command line (f1g.file: "; (catbasic _ file > > f1g.file) and circularly copying the basic test file basic _ file 1024 times, thereby generating a 1G of text test file whose target test file content is" 1 "; writing a random number '2' into a basic test file basic _ file by using a command line (F1G. file > > F1G. file), circularly copying the basic test file basic _ file for 1024 times, and generating a 1G text test file with the content of a target test file being formed by '2'; the random number "3" is written into the basic test file basic _ file using a command line (f1g. file >; cat basic _ file > > f1g. file) and is circularly copied 1024 times to the basic test file basic _ file, and a 1G text test file consisting of "3" is generated as the content of the target test file.
For another example, if 100M target test files are deployed in a cluster, a 1M test file is pre-stored as a basic test file basic _ file for constructing the test file, assuming that a random number acquired by a test node 1 of the cluster is "1", a random number acquired by a test node 2 is "2", and a random number acquired by a test node 3 is "3", writing the random number "1" into the basic test file basic _ file using a command line (f1g.file:; catbasic _ file > > f1g.file) and circularly copying the basic test file basic _ file 100 times to generate a 100M text test file with the target test file content "1"; writing a random number '2' into a basic test file basic _ file by using a command line (F1G.file >; cat basic _ file > > F1G.file), circularly copying the basic test file basic _ file 100 times, and generating a 100M text test file consisting of '2' as the content of a target test file; the random number "3" is written into the basic test file basic _ file using a command line (f1g. file >; cat basic _ file > > f1g. file) and is circularly copied 100 times to the basic test file basic _ file, and 100M text test files composed of "3" are generated as the contents of the target test file.
The cluster test file deployment device described in this embodiment implements rapid deployment of test files based on the basic test files, the number of test files to be deployed, and the size of the test files to be deployed by installing and initializing the test script.
EXAMPLE six
Fig. 6 is a schematic functional module diagram of a cluster performance testing apparatus according to a sixth disclosure of the present invention.
In some embodiments, the cluster performance testing apparatus 60 may include a plurality of functional modules composed of program code segments. The program code of the various program segments in the cluster performance testing apparatus 60 may be stored in a memory of a computer device and executed by at least one processor to perform (see detailed description of fig. 3) the performance testing of the cluster.
In this embodiment, the cluster performance testing apparatus 60 may be divided into a plurality of functional modules according to the functions executed by the apparatus. The functional module may include: a node control module 601, a file downloading module 602, a load obtaining module 603, a sum calculating module 604, a performance determining module 605 and a test monitoring module 606. The module referred to herein is a series of computer program segments capable of being executed by at least one processor and capable of performing a fixed function and is stored in memory. In the present embodiment, the functions of the modules will be described in detail in the following embodiments.
The node control module 601 is configured to control a plurality of test nodes in the cluster to deploy test files.
In this embodiment, each test node in the IPFS cluster has a node client node _ agent installed thereon, and the test node may be connected to a server node _ server in the cluster through the node client node _ agent. The server node _ server distributes a test script, for example a test script of an IPFS system, to each test node in the cluster. And after receiving the distributed test script, the test node executes the test script through the node _ agent of the node client, thereby completing the installation and initialization of the test script.
The file downloading module 602 is configured to select multiple clients to download the test files from the multiple test nodes during each round of testing.
In this embodiment, after the test files in the cluster are deployed, the performance of the cluster is tested by downloading the test files from the plurality of test nodes through simulation of the plurality of clients.
In an optional embodiment of the present invention, the file downloading module 602, selecting a plurality of clients to download the test files from the plurality of test nodes in each test round, includes:
selecting a preset first number of clients from the plurality of clients during a first round of testing;
in the next round of test, increasing or decreasing the preset second number of clients on the basis of the clients selected in the previous round of test;
and downloading the test file from the plurality of test nodes by the client selected in each round of test.
In this alternative embodiment, multiple rounds of testing may be performed and the maximum performance of the cluster determined from the results of the Torontal tests.
In an alternative embodiment, a plurality of clients may be prepared in advance, and the download pressure (performance) of the cluster may be tested by increasing or decreasing the number of selected clients at each test round.
In some embodiments, the cluster performance may be tested by deploying test files of a specified size, designating the number of test files to be deployed by the same test file, and selecting different numbers of clients during each test cycle. For example, a test file with a size of 1G is deployed in each round of test, and 100 test files are deployed in the same test file, 1000 clients are selected in the first round of test, 1100 clients are selected in the second round of test, and 900 clients are selected in the third round of test.
In some embodiments, a fixed number of clients may also be selected during each test, and the cluster performance may be tested by changing the size of the test files to be deployed and/or changing the number of copies of the test files to be deployed. For example, during each round of testing, the number of the clients is fixed, during the first round of testing, the size of the test file to be deployed is designated as 100M, and the number of the test files to be deployed is 100, during the second round of testing, the size of the test file to be deployed is designated as 300M, and the number of the test files to be deployed is designated as 100, during the third round of testing, the size of the test file to be deployed is designated as 300M, and the number of the test files to be deployed is designated as 300.
The load obtaining module 603 is configured to obtain load information of each test node in the downloading process.
In this embodiment, in the process of downloading the test file from the test node by the client, the test node may actively report the load information to the server.
The sum calculating module 604 is configured to calculate a sum of loads of the clusters during each test according to the load information of each test node.
And during each round of testing, the server acquires the load information reported by each testing node, and calculates the load sum of the round of testing according to the load information reported by all the testing nodes.
The performance determining module 605 is configured to determine that the maximum load sum is the maximum performance of the cluster.
In this embodiment, the maximum load sum is determined from the load sums of the multiple test rounds, which is the maximum performance of the cluster. The maximum performance refers to the amount of data that a cluster can concurrently transmit.
The test monitoring module 606 is configured to monitor an index item of each test node in a test process; judging whether the test node meets the test ending condition or not according to the index item; and responding to the test node meeting the test ending condition, and ending the test process of the test node.
In this optional embodiment, a test end condition may be preset, the index item of each test node is monitored at any time, and whether the test node meets the preset test end condition is determined according to the index item. And when the test node is determined to meet the test ending condition, sending a test ending instruction to the test node. And when the test node receives the test ending instruction, the test node actively reports the load information.
In an optional embodiment of the present invention, the determining, according to the index item, whether the test node satisfies a test end condition includes:
judging whether the index item is larger than a preset index item threshold value or not;
when the index item is greater than or equal to the preset index item threshold value, determining that the test node meets a test ending condition;
and when the index item is smaller than the preset index item threshold value, determining that the test node does not meet the test ending condition.
The index item may include: CPU utilization, network bandwidth, number of database connections, etc. And when the CPU utilization rate of the test node exceeds a preset CPU utilization rate threshold value, determining that the test node meets the test ending condition. And when the network bandwidth of the test node exceeds a preset network bandwidth threshold value, determining that the test node meets the test ending condition. And when the connection number of the database exceeds a preset connection number threshold value, determining that the test node meets the test ending condition.
The cluster performance testing device in this embodiment, through rapid deployment of different test files, and deployment of an appointed number of copies of each test file to a corresponding test node, improves the efficiency of cluster test file deployment, thereby improving the efficiency of cluster performance testing. Because the content of the deployed test file is not required to be concerned when the performance of the cluster is tested, and only the size of the deployed test file is required to be concerned, after the test nodes in the cluster complete the initialization of the test script, the size of the constructed target test file is firstly specified, and then the constructed target test files with different contents are deployed into the cluster, so that the download test nodes can be removed, the labor cost and the economic cost for developing a test file deployment scheduling system are saved, the transmission process between the download test nodes and the test nodes in the cluster is also saved, and the problems of overlong transmission time or overtime and the like caused by low transmission efficiency between the download test nodes and the test nodes are avoided.
EXAMPLE seven
Fig. 7 is a schematic diagram of an internal structure of a computer device according to an embodiment of the disclosure.
In this embodiment, the computer device 7 may include a memory 71, a processor 72, a transceiver 73, and a bus 74. The computer device 7 is configured to implement a function of the cluster test file deployment apparatus in the first embodiment or the second embodiment and/or a function of the cluster performance test apparatus in the third embodiment.
The memory 71 stores a plurality of downloaded programs, and the downloaded programs are executed by the processor 72 to implement all or part of the steps in the first to third embodiments of the present application. The memory 71 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, and the like. The memory 71 may in some embodiments be an internal storage unit of said computer device 7, e.g. a hard disk of said computer device 7. The memory 71 may also be an external storage device of the computer device 7 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the computer device 7. Further, the memory 71 may also include both an internal storage unit of the computer device 7 and an external storage device. The memory 71 can be used not only for storing application programs and various types of data installed in the computer device 7, such as codes of the apparatuses and respective modules in fig. 4 to 6, but also for temporarily storing data that has been output or will be output.
The processor 72 may refer to the description of the relevant steps in the embodiments corresponding to fig. 1 and/or fig. 2 and/or fig. 3, and details of the method for implementing the computer readable instructions are not repeated herein. The processor 72 may be, in some embodiments, a Central Processing Unit (CPU), controller, microcontroller, microprocessor or other data Processing chip for executing program codes stored in the memory 71 or Processing data.
The bus 74 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
Further, the computer device 7 may further include a network interface, which may optionally include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), and is generally used to establish a communication connection between the computer device 7 and other computer devices.
Optionally, the computer device 7 may further comprise a user interface, which may comprise a Display (Display), an input unit, such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an Organic Light-Emitting Diode (OLED) touch screen, or the like. The display, which may also be referred to as a display screen or display unit, is used for displaying messages processed in the computer device and for displaying a visualized user interface.
Fig. 7 only shows the computer device 7 with components 71-74, it being understood by a person skilled in the art that the configuration shown in fig. 7 does not constitute a limitation of the computer device 7, it may be a bus-type configuration or a star-shaped configuration, the computer device 7 may also comprise fewer or more components than shown in the figure, or some components may be combined, or a different arrangement of components. Other electronic products, now existing or hereafter developed, that may be adapted to the present invention, are also included within the scope of the present invention and are hereby incorporated by reference.
In the above embodiments, all or part may be implemented by an application program, hardware, firmware, or any combination thereof. When implemented using an application program, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of an application program functional unit.
The integrated unit, if implemented in the form of an application functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in the form of a computer application program product, stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a hard disk, a Read-only memory (ROM), a magnetic disk, or an optical disk.
It should be noted that the above-mentioned numbers of the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A cluster test file deployment method is applied to a server, and comprises the following steps:
acquiring the number of test files to be deployed and the size of the test files to be deployed;
calculating the range of a random number according to the number of the test files to be deployed and the scale of the cluster;
constructing a test script based on the range of the random number and the size of the test file to be deployed;
and distributing the test script to a plurality of test nodes, so that the test nodes deploy test files according to the test script.
2. The method of claim 1, wherein the calculating a range of random numbers based on the number of test files to be deployed and the size of the cluster comprises:
calculating a quotient value of the scale of the cluster and the number of the test files to be deployed;
determining the quotient value as a maximum value of the range of random numbers, wherein a minimum value of the range of random numbers is 1.
3. A cluster test file deployment method is applied to a test node, and comprises the following steps:
receiving a test script sent by a server;
acquiring the range of random numbers in the test script and the size of a test file to be deployed;
generating a target random number according to the range of the random number;
and deploying the test file according to a pre-stored basic test file, the size of the test file to be deployed and the target random number.
4. The method of claim 3, wherein said deploying a test file according to a pre-stored base test file, the test file size to be deployed, and the target random number comprises:
calculating the size of the basic test file;
determining cycle times according to the size of the basic test file and the size of the test file to be deployed;
and writing the target random number into the basic test file by using a command line, and circularly copying the target random number for the cycle times to obtain a test file.
5. A cluster performance testing method is applied to a server, and the method comprises the following steps:
controlling a plurality of test nodes in the cluster to deploy test files;
selecting a plurality of clients to download the test files from the plurality of test nodes during each round of test;
acquiring load information of each test node in a downloading process;
calculating the load sum of the cluster during each test according to the load information of each test node;
determining a maximum load sum as a maximum performance of the cluster.
6. The method of claim 5, wherein said selecting a plurality of clients to download the test files from the plurality of test nodes at each test round comprises:
selecting a preset first number of clients from the plurality of clients during a first round of testing;
in the next round of test, increasing or decreasing the preset second number of clients on the basis of the clients selected in the previous round of test;
and downloading the test file from the plurality of test nodes by the client selected in each round of test.
7. The method of claim 5 or 6, further comprising:
monitoring the index item of each test node in the test process;
judging whether the test node meets the test ending condition or not according to the index item;
and responding to the test node meeting the test ending condition, and ending the test process of the test node.
8. The method of claim 7, wherein the determining whether the test node satisfies the test end condition according to the index item comprises:
judging whether the index item is larger than a preset index item threshold value or not;
when the index item is greater than or equal to the preset index item threshold value, determining that the test node meets a test ending condition;
and when the index item is smaller than the preset index item threshold value, determining that the test node does not meet the test ending condition.
9. A computer device, characterized in that the computer device comprises a memory and a processor, the memory stores a downloading program of a cluster test file deployment method operable on the processor, and the downloading program of the cluster test file deployment method realizes the cluster test file deployment method according to any one of claims 1 to 4 when executed by the processor; alternatively, the memory stores a downloaded program of a cluster performance testing method operable on the processor, and the downloaded program of the cluster performance testing method implements the cluster performance testing method according to any one of claims 5 to 8 when executed by the processor.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores thereon a downloading program of a cluster test file deployment method, and when executed by a processor, the downloading program of the cluster test file deployment method implements the cluster test file deployment method according to any one of claims 1 to 4; alternatively, the computer-readable storage medium has stored thereon a downloaded program of a cluster performance testing method, which when executed by the processor implements the cluster performance testing method according to any one of claims 5 to 8.
CN201911274391.5A 2019-12-12 2019-12-12 Cluster test file deployment and performance test method, computer equipment and medium Pending CN110990208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911274391.5A CN110990208A (en) 2019-12-12 2019-12-12 Cluster test file deployment and performance test method, computer equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911274391.5A CN110990208A (en) 2019-12-12 2019-12-12 Cluster test file deployment and performance test method, computer equipment and medium

Publications (1)

Publication Number Publication Date
CN110990208A true CN110990208A (en) 2020-04-10

Family

ID=70092801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911274391.5A Pending CN110990208A (en) 2019-12-12 2019-12-12 Cluster test file deployment and performance test method, computer equipment and medium

Country Status (1)

Country Link
CN (1) CN110990208A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799670A (en) * 2012-07-16 2012-11-28 北京国创富盛通信股份有限公司 Pressure test data processing device and pressure test data processing method
CN103810171A (en) * 2012-11-06 2014-05-21 深圳市金蝶中间件有限公司 Method and system for generating random test data within limited range
CN106598824A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Performance analysis method and device for block chain
CN107360050A (en) * 2016-05-10 2017-11-17 杭州海康威视数字技术股份有限公司 Video cloud memory node automatic performance method of testing and its device
CN109743229A (en) * 2019-01-11 2019-05-10 武汉斗鱼鱼乐网络科技有限公司 Based on distributed performance test methods, device and system
CN109885495A (en) * 2019-02-20 2019-06-14 重庆邮电大学 The group's test method and system of a kind of pair of decentralization system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799670A (en) * 2012-07-16 2012-11-28 北京国创富盛通信股份有限公司 Pressure test data processing device and pressure test data processing method
CN103810171A (en) * 2012-11-06 2014-05-21 深圳市金蝶中间件有限公司 Method and system for generating random test data within limited range
CN107360050A (en) * 2016-05-10 2017-11-17 杭州海康威视数字技术股份有限公司 Video cloud memory node automatic performance method of testing and its device
CN106598824A (en) * 2016-11-25 2017-04-26 深圳前海微众银行股份有限公司 Performance analysis method and device for block chain
CN109743229A (en) * 2019-01-11 2019-05-10 武汉斗鱼鱼乐网络科技有限公司 Based on distributed performance test methods, device and system
CN109885495A (en) * 2019-02-20 2019-06-14 重庆邮电大学 The group's test method and system of a kind of pair of decentralization system

Similar Documents

Publication Publication Date Title
CN109492436A (en) A kind of file verification method and relevant apparatus
US20210216303A1 (en) Deployment routing of clients by analytics
CN110457197B (en) Service testing method, device, computer equipment and storage medium
CN104915285A (en) Container process monitoring method, device and system
CN109857423A (en) Program version update method, device, server and readable storage medium storing program for executing
CN109753300B (en) Algorithm upgrading method, calculation task sending method and related device
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
CN109756533B (en) Mirror image acceleration method and device and server
CN104301140A (en) Service request responding method, device and system
CN114244717A (en) Configuration method and device of virtual network card resources, computer equipment and medium
CN110677464A (en) Edge node device, content distribution system, method, computer device, and medium
CN104780076A (en) A code inspection method and apparatus
US10216593B2 (en) Distributed processing system for use in application migration
CN104333614B (en) The method, apparatus and system of terminal recognition
CN114338738B (en) Rule engine and scene linkage realization method based on Actor model
CN117149665B (en) Continuous integration method, control device, continuous integration system, and storage medium
CN110990208A (en) Cluster test file deployment and performance test method, computer equipment and medium
CN112905197A (en) Information processing method, device and system, electronic equipment and storage medium
CN109697166B (en) Test data preparation method and related device
CN109814911A (en) Method, apparatus, computer equipment and storage medium for Manage Scripts program
CN110365771A (en) A kind of data capture method, device, system and computer readable storage medium
CN112463574A (en) Software testing method, device, system, equipment and storage medium
CN110971478A (en) Pressure measurement method and device for cloud platform service performance and computing equipment
CN115221041A (en) Multi-device testing method and device, electronic device and storage medium
CN110188007B (en) Distributed data repair method, device, network node and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200410