CN111190784A - Capacity pressure measuring method, system, device and storage medium suitable for production system - Google Patents

Capacity pressure measuring method, system, device and storage medium suitable for production system Download PDF

Info

Publication number
CN111190784A
CN111190784A CN201911357355.5A CN201911357355A CN111190784A CN 111190784 A CN111190784 A CN 111190784A CN 201911357355 A CN201911357355 A CN 201911357355A CN 111190784 A CN111190784 A CN 111190784A
Authority
CN
China
Prior art keywords
pressure measurement
production system
production
data
capacity
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
CN201911357355.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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201911357355.5A priority Critical patent/CN111190784A/en
Publication of CN111190784A publication Critical patent/CN111190784A/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/24Marginal checking or other specified testing methods not covered by G06F11/26, e.g. race tests
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Abstract

The invention discloses a capacity pressure measurement method, a system, a device and a storage medium suitable for a production system, wherein the pressure measurement method comprises the following steps: establishing a temporary transmission channel between the production system and the pressure measurement area; copying applications and data of the production system into the pressure measurement area through the temporary transmission channel; and carrying out volume pressure measurement according to the pressure measurement area. The invention provides the pressure measurement area, copies the real production system, meets the pressure measurement requirements of all systems in the production area on the premise of not influencing the operation of the production system, accurately tests and evaluates the production capacity, and provides accurate pressure measurement data for the capacity evaluation of the production system.

Description

Capacity pressure measuring method, system, device and storage medium suitable for production system
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a method, a system, an apparatus, and a storage medium for measuring a capacity pressure in a production system.
Background
Pressure testing, i.e., pressure testing, is a test method for establishing the stability of a system, and is usually performed outside the normal operation range of the system to examine the functional limit and hidden danger. Generally, stress testing is conventionally a test that continuously applies "stress" to a server by determining a bottleneck or unacceptable performance point of a system to achieve the maximum level of service that the system can provide. So as to better and purposefully operate or develop.
Among them, the capacity test is an important link of the pressure test. The purpose of the capacity test is to analyze limit values (such as the maximum concurrent user number, the database record number and the like) of certain indexes reflecting the application characteristics of the software system in advance through the test, and the system does not have any software fault or can keep normal operation of main functions under the limit state. The capacity test will also determine the maximum load or workload that the test subject can continue to process within a given time. The testing of software capacity allows a software developer or user to know the load-bearing capacity or the ability to provide services of the software system, such as the number of online users that can be held by an e-commerce website while performing transactions or settlement. Knowing the actual capacity of the system, if the design requirements cannot be met, new technical solutions should be sought to increase the capacity of the system. The method has the advantages that the software load is accurately predicted, the performance condition of the software system in actual use can be fully informed, and meanwhile, users can be helped to economically plan the application system and optimize the deployment of the system.
At present, the non-functional capacity test of the system is mostly carried out in a test environment, and the test result is calculated in a certain proportion and applied to a production environment for evaluation. However, the testing environment is usually different from the production environment, the equipment scale is far smaller than the production scale, and the result of the testing capacity is difficult to be accurately used for evaluating the production capacity.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a capacity pressure measurement method, a system, a server and a storage medium suitable for a production system, which can accurately test and evaluate the production capacity and provide accurate pressure measurement data for capacity evaluation of the production system.
According to an embodiment of the present invention, there is provided a capacity pressure measurement method applied to a production system, the pressure measurement method including: establishing a temporary transmission channel between the production system and the pressure measurement area; copying applications and data of the production system into the pressure measurement area through the temporary transmission channel; and carrying out volume pressure measurement according to the pressure measurement area.
In some embodiments of the invention, the production system and the pressure sensing zone are located in the same production environment.
In some embodiments of the present invention, the temporary transmission channel is closed after the application and data replication of the production system is completed.
In some embodiments of the present invention, after the volume pressure measurement is completed, the applications and data in the pressure measurement area are cleared.
In some embodiments of the invention, the pressure sensing zone is isolated from the production system.
Meanwhile, the invention provides a capacity pressure measurement system suitable for a production system, which comprises: the channel establishing module is used for establishing a temporary transmission channel between the production system and the pressure measuring area; the data transmission module is used for copying the application and data of the production system into the pressure measurement area through the temporary transmission channel; and the pressure measurement execution module is used for carrying out capacity pressure measurement according to the pressure measurement area.
In some embodiments of the invention, the production system and the pressure sensing zone are located in the same production environment.
In some embodiments of the present invention, the temporary transmission channel is closed after the application and data replication of the production system is completed.
In some embodiments of the present invention, after the volume pressure measurement is completed, the applications and data in the pressure measurement area are cleared.
In some embodiments of the invention, the pressure sensing zone is isolated from the production system.
In addition, the embodiment of the invention provides a capacity pressure measuring device suitable for a production system, which comprises a memory and a processor, wherein the memory is used for storing one or more computer readable instructions; the processor is configured to execute the one or more computer readable instructions to implement the method of any of the preceding embodiments.
Embodiments of the present invention also provide a computer storage medium storing one or more computer programs that, when executed, implement the method of any one of the preceding embodiments.
The invention provides the pressure measurement area, copies the real production system, meets the pressure measurement requirements of all systems in the production area on the premise of not influencing the operation of the production system, accurately tests and evaluates the production capacity, and provides accurate pressure measurement data for the capacity evaluation of the production system.
Drawings
In order to facilitate understanding of the present invention, the present invention will be described in detail with reference to the following embodiments in conjunction with the accompanying drawings.
FIG. 1 is a schematic flow diagram of a volumetric pressure measurement method suitable for use in a production system according to one embodiment of the present invention;
FIG. 2 is a schematic diagram of a volumetric pressure measurement method suitable for use in a production system according to an embodiment of the present invention;
FIG. 3 is a block diagram of a volumetric pressure measurement system suitable for use in a production system according to one embodiment of the present invention.
Detailed Description
Various aspects of the invention are described in detail below with reference to the figures and the detailed description. Well-known modules, units and their interconnections, links, communications or operations with each other are not shown or described in detail. Furthermore, the described features, architectures, or functions can be combined in any manner in one or more implementations. It will be understood by those skilled in the art that the various embodiments described below are illustrative only and are not intended to limit the scope of the present invention. It will also be readily understood that the modules or units or processes of the embodiments described herein and illustrated in the figures can be combined and designed in a wide variety of different configurations.
Fig. 1 is a schematic flow diagram of a capacity pressure measurement method suitable for a production system according to an embodiment of the present invention, and in the embodiment of the present invention, referring to fig. 1, the method includes:
100: establishing a temporary transmission channel between the production system and the pressure measurement area;
101: copying the application and data of the production system into a pressure measurement area through a temporary transmission channel;
102: and carrying out volume pressure measurement according to the pressure measurement area.
In the embodiment of the invention, the pressure measurement area and the production system are positioned in the same production environment, and based on the situation, the test data of the pressure measurement area can be managed according to the requirement of the production data in the production system without independently configuring corresponding management processing rules.
In some embodiments of the present invention, the pressure measurement area may be used by multiple production systems, and the time-division multiplexing of the equipment is implemented, so that idle waste caused by no test task of a single system can be avoided. In an alternative embodiment, the pressure measurement area device encompasses mainstream middleware products, database products, such as: the weblogic middleware and the oracle database can quickly copy production environment application and data through a pressure measurement area copying tool, and the purpose of quick construction is achieved. And the loadrunner pressure measurement software is deployed as a pressure initiation point.
In order to ensure data security and normal operation of the production system, in the embodiment of the invention, the temporary transmission channel is established when the pressure measurement task is initiated, and is closed immediately after the application and data replication of the production system are completed. Meanwhile, after the pressure measurement area completes the capacity pressure measurement, all applications and data can be cleared, on one hand, data safety is guaranteed, and on the other hand, space and equipment are cleared for the next pressure measurement task.
In an optional implementation mode, the pressure measurement area and the production system can be isolated from each other, so that the pressure measurement area forms an island environment, and test data are prevented from flowing into the production system to influence the normal operation of the production system.
The method for measuring the capacity pressure of the production system according to the present embodiment will be described with reference to specific examples, as shown in fig. 2:
taking the production system A as an example, after the pressure measurement task is initiated, a temporary transmission channel from the production system A to the pressure measurement area A 'is established, an application data copying process is called, and the total application and data 1:1 of the production system A are copied to the pressure measurement area A'. Specifically, the Application in the production AP (Application) server is copied to the pressure measurement area AP server, and the Data in the production DB (Database) is copied to the pressure measurement area DB by RMAN/ADG (Recovery Manager/Active Data Guard, backup Recovery tool/Data copy protection tool of Oracle Database). The production system A and the pressure measurement area A' are consistent in equipment quantity, machine configuration and data quantity, and the pressure measurement area is provided with a pressure machine loadrunner serving as a pressure starting point. The associated systems of production system a, such as production system B in the figure, may be replicated to the pressure measurement area in the same manner or associated transaction problems may be solved by deploying a barrier. And after the pressure measurement is finished, emptying the application and data of the pressure measurement area, and multiplexing the environment in other systems for testing.
Therefore, the embodiment of the invention provides the pressure measurement area, 1:1 copies a real production system, omits a test environment difference analysis link and quickly develops a test task. On the premise of not influencing the operation of the production system, the pressure test requirements of all systems in the production area are met, the production capacity is accurately tested and evaluated, and accurate pressure test data are provided for the capacity evaluation of the production system. Meanwhile, the pressure measurement area can be reused in a plurality of systems for production pressure measurement in a time-sharing mode according to the test tasks, and idle waste of equipment is avoided.
Fig. 3 is a block diagram of a capacity pressure measurement system 1 suitable for use in a production system according to an embodiment of the present invention, and referring to fig. 3, the pressure measurement system 1 includes: a channel establishing module 11, configured to establish a temporary transmission channel between the production system and the pressure measurement area; the data transmission module 12 is used for copying the application and data of the production system into the pressure measurement area through the temporary transmission channel; and the pressure measurement execution module 13 is used for carrying out capacity pressure measurement according to the pressure measurement area.
In an embodiment of the invention, the production system and the pressure sensing area are located in the same production environment.
In an alternative embodiment of the invention, the temporary transmission channel is closed after the application and data replication of the production system is completed.
In an embodiment of the present invention, after the volumetric pressure measurement is completed, the applications and data in the pressure measurement area are cleared.
In embodiments of the present invention, the pressure sensing area is isolated from the production system.
Optionally, an embodiment of the present invention provides a capacity pressure measurement apparatus suitable for a production system, where the apparatus includes a memory for storing one or more computer-readable instructions; and a processor configured to execute the one or more computer readable instructions to implement the capacity pressure measurement method applicable to the production system provided by the foregoing embodiment or implementation manner of the present invention. Optionally, in an implementation manner of the embodiment of the present invention, the apparatus may further include an input/output interface for data communication. For example, the device may be a computer, a smart terminal, a server, or the like.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention can be implemented by combining software and a hardware platform. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments.
Therefore, the embodiment of the present invention further provides a computer storage medium storing one or more computer programs, which are used to implement the capacity pressure measurement method suitable for a production system provided by the foregoing embodiment or implementation manner of the present invention when executed. For example, the storage medium may include a hard disk, a floppy disk, an optical disk, a magnetic tape, a magnetic disk, a flash memory, and the like.
The particular embodiments disclosed herein are illustrative only and should not be taken as limitations upon the scope of the invention, which is to be accorded the full scope consistent with the claims, as defined in the appended claims. Accordingly, the particular illustrative embodiments disclosed above are susceptible to various substitutions, combinations or modifications, all of which are within the scope of the disclosure.

Claims (12)

1. A method of capacity pressure measurement for a production system, the method comprising:
establishing a temporary transmission channel between the production system and the pressure measurement area;
copying applications and data of the production system into the pressure measurement area through the temporary transmission channel;
and carrying out volume pressure measurement according to the pressure measurement area.
2. The pressure measurement method of claim 1,
the production system and the pressure measurement area are located in the same production environment.
3. The pressure measurement method of claim 1,
and closing the temporary transmission channel after the application and data copying of the production system is finished.
4. The pressure measurement method of claim 1,
and after the capacity pressure measurement is finished, clearing the application and data of the pressure measurement area.
5. The pressure measurement method of claim 1,
the pressure measurement area and the production system are isolated from each other.
6. A volumetric pressure measurement system adapted for use in a production system, the pressure measurement system comprising:
the channel establishing module is used for establishing a temporary transmission channel between the production system and the pressure measuring area;
the data transmission module is used for copying the application and data of the production system into the pressure measurement area through the temporary transmission channel;
and the pressure measurement execution module is used for carrying out capacity pressure measurement according to the pressure measurement area.
7. The pressure measurement system of claim 6,
the production system and the pressure measurement area are located in the same production environment.
8. The pressure measurement system of claim 6,
and closing the temporary transmission channel after the application and data copying of the production system is finished.
9. The pressure measurement system of claim 6,
and after the capacity pressure measurement is finished, clearing the application and data of the pressure measurement area.
10. The pressure measurement system of claim 6,
the pressure measurement area and the production system are isolated from each other.
11. A capacity pressure measuring device suitable for a production system comprises a memory and a processor, and is characterized in that,
the memory is to store one or more computer-readable instructions;
the processor is configured to execute the one or more computer-readable instructions to implement the method of any of claims 1-5.
12. A computer storage medium storing one or more computer programs, wherein the one or more computer programs, when executed by a processor, implement the method of any of claims 1-5.
CN201911357355.5A 2019-12-25 2019-12-25 Capacity pressure measuring method, system, device and storage medium suitable for production system Pending CN111190784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911357355.5A CN111190784A (en) 2019-12-25 2019-12-25 Capacity pressure measuring method, system, device and storage medium suitable for production system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911357355.5A CN111190784A (en) 2019-12-25 2019-12-25 Capacity pressure measuring method, system, device and storage medium suitable for production system

Publications (1)

Publication Number Publication Date
CN111190784A true CN111190784A (en) 2020-05-22

Family

ID=70707520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911357355.5A Pending CN111190784A (en) 2019-12-25 2019-12-25 Capacity pressure measuring method, system, device and storage medium suitable for production system

Country Status (1)

Country Link
CN (1) CN111190784A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577764A (en) * 2017-09-04 2018-01-12 马上消费金融股份有限公司 The method and device of the data syn-chronization of environment and test environment on a kind of line
CN107948012A (en) * 2017-11-16 2018-04-20 郑州云海信息技术有限公司 Pressure surveys method and system on a kind of cloud management platform line
CN109165168A (en) * 2018-09-14 2019-01-08 杭州云创共享网络科技有限公司 A kind of method for testing pressure, device, equipment and medium
CN109726094A (en) * 2017-10-27 2019-05-07 北京京东尚科信息技术有限公司 The method and apparatus of pressure test

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107577764A (en) * 2017-09-04 2018-01-12 马上消费金融股份有限公司 The method and device of the data syn-chronization of environment and test environment on a kind of line
CN109726094A (en) * 2017-10-27 2019-05-07 北京京东尚科信息技术有限公司 The method and apparatus of pressure test
CN107948012A (en) * 2017-11-16 2018-04-20 郑州云海信息技术有限公司 Pressure surveys method and system on a kind of cloud management platform line
CN109165168A (en) * 2018-09-14 2019-01-08 杭州云创共享网络科技有限公司 A kind of method for testing pressure, device, equipment and medium

Similar Documents

Publication Publication Date Title
Xu et al. POD-Diagnosis: Error diagnosis of sporadic operations on cloud applications
CN110618924B (en) Link pressure testing method of web application system
US9921952B2 (en) Early risk identification in DevOps environments
US10817283B1 (en) Automated risk assessment for software deployment
CN106201878B (en) The execution method and apparatus of test program
Tahat et al. Regression test suite prioritization using system models
CN111290958B (en) Method and device for debugging intelligent contract
JP2017201470A (en) Setting support program, setting support method, and setting support device
CN109739527B (en) Method, device, server and storage medium for client gray scale release
US10241902B2 (en) Systems and methods for benchmark based cross platform service demand prediction
CN106487603A (en) A kind of response test method and device
CN104090839A (en) Simulation test method and device for abnormal scene
CN106021054A (en) Method and apparatus for testing upgrading and downgrading stability of BMC
Zhang et al. {K-Scope}: Online Performance Tracking for Dynamic Cloud Applications
CN107621963B (en) Software deployment method, software deployment system and electronic equipment
Mdhaffar et al. Reactive performance monitoring of Cloud computing environments
CN107679423A (en) Partition integrity inspection method and device
CN107220169B (en) Method and equipment for simulating server to return customized data
Xu et al. Availability analysis for deployment of in-cloud applications
CN112506802A (en) Test data management method and system
CN111190784A (en) Capacity pressure measuring method, system, device and storage medium suitable for production system
CN114385498A (en) Performance test method, system, computer equipment and readable storage medium
CN113467892A (en) Distributed cluster resource configuration method and corresponding device, equipment and medium
Wong et al. An approach towards designing a prescriptive analytical logic model for software application root cause analysis
WO2011151419A1 (en) Test operation

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