Unlock instant, AI-driven research and patent intelligence for your innovation.

A pressure testing method, device and terminal equipment for message middleware

A message middleware and terminal technology, applied in the field of communication, can solve the problems that the message middleware cannot continue to run stably, and cannot detect the abnormality and loss of the message middleware, so as to avoid losses, increase the number of concurrency, and continue to operate stably.

Active Publication Date: 2020-12-04
深圳智链物联科技有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides a message middleware pressure testing method, device and terminal equipment to solve the problem that the pressure testing method in the prior art cannot detect the abnormality of the message middleware, and the message middleware cannot be continuously stable. run, causing unnecessary losses

Method used

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A pressure testing method, device and terminal equipment for message middleware
  • A pressure testing method, device and terminal equipment for message middleware
  • A pressure testing method, device and terminal equipment for message middleware

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] Such as figure 1 As shown, this embodiment provides a method for stress testing message middleware, which can be applied to mobile phones, PCs, tablet computers, or other terminal devices containing message middleware. The pressure testing method for message middleware provided in this embodiment includes:

[0043] S101. During the process of producing and consuming information, disconnect the communication connection with the consumer terminal, increase the number of concurrency of the producer terminal, and continuously accumulate the consuming messages.

[0044] In a specific application, this method can be applied to a terminal device including any message middleware, such as ActiveMQ, RobbitMQ, kafka, redis and other message middleware. In the process of message middleware producing and consuming information in a normal state, the communication connection with the consumer terminal is disconnected, and the number of concurrency of the producer terminal is increase...

Embodiment 2

[0051] Such as figure 2 As shown, this embodiment is a further description of the method steps in the first embodiment. In this embodiment, the method further includes:

[0052] S104. Repeat the steps of disconnecting the communication connection with the consumer terminal in the process of producing and consuming information, increasing the number of concurrency of the producer terminal, so that the consumption messages continue to accumulate, and opening the communication connection with the consumer terminal .

[0053] In a specific application, the operation of step S101 in the first embodiment above is repeated, and the communication connection with the consumer terminal is opened.

[0054] S105. After a preset period of time, monitor the running status of the message middleware and the running status of the consumer terminal;

[0055]In a specific application, after a preset period of time, the running status of the message middleware and the consumer terminal is mon...

Embodiment 3

[0070] Such as image 3 As shown, this embodiment is a further description of the method steps in the first embodiment. In this embodiment, after the step S102, further include:

[0071] S201. If the running state of the message middleware is normal, disconnect the communication connection with the slave node.

[0072] In a specific application, in the process of producing and consuming information, the communication connection with the consumer terminal is disconnected, the number of concurrency of the producer terminal is increased, and the consumption messages are continuously piled up. After a preset period of time, the operation of the message middleware is monitored. If the status is normal, disconnect the communication connection with the slave node.

[0073] S202. Obtain the running status of the master node.

[0074] S203. If the running state of the master node is abnormal, determine that the master node is abnormal under pressure.

[0075] In a specific applicat...

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

PUM

No PUM Login to View More

Abstract

The method is suitable for the technical field of communication, and provides a middleware pressure measurement method and device and a terminal device. The method comprises: in the consumption information production process, disconnecting communication connection with a consumer terminal, increasing the concurrency number of a producer terminal, continuously accumulating consumption information,monitoring the running state of message middleware after a preset time period, and if the running state of the message middleware is abnormal, judging the performance of the message middleware to be abnormal. In the consumption information production process, through disconnecting the communication connection with the consumer terminal, the concurrency of producer terminals is improved, so that the consumption messages are continuously accumulated. The running state of the message middleware is monitored, the running state of the message middleware under the condition that the consumption messages are accumulated can be judged, and whether the message middleware breaks down or not is judged, so that it is guaranteed that the message middleware can continuously and stably run in the production and consumption process, and unnecessary loss is avoided.

Description

technical field [0001] The invention belongs to the technical field of communications, and in particular relates to a message middleware pressure testing method, device and terminal equipment. Background technique [0002] Recently, message middleware has gradually become a core component inside the computer industry system. [0003] Existing daily pressure testing methods for message middleware generally focus on the load performance of message middleware under normal conditions. However, in real situations, some abnormal situations may occur in actual business services, which may cause message middleware The existing stress testing methods cannot detect the above abnormalities, and the message middleware cannot continue to run stably, causing some unnecessary losses. Contents of the invention [0004] In view of this, the embodiment of the present invention provides a message middleware pressure testing method, device and terminal equipment to solve the problem that the...

Claims

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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/26
CPCH04L43/08H04L43/50
Inventor 于福荣
Owner 深圳智链物联科技有限公司