Asynchronous message interface fusing control method and device, computer equipment and storage medium

An asynchronous message and control method technology, applied in the field of server management, can solve the problem that Hystrix fuse cannot satisfy the asynchronous message interface to obtain results, etc.

Active Publication Date: 2019-05-10
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF5 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides an asynchronous message interface fusing control method, device, computer equipment, and computer-readable storage medium, which can solve the problem that the hystrix fusing in the traditional technology cannot satisfy the asynchronous message interface to obtain results

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
  • Asynchronous message interface fusing control method and device, computer equipment and storage medium
  • Asynchronous message interface fusing control method and device, computer equipment and storage medium
  • Asynchronous message interface fusing control method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0020] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0021] It should also be understood that the terminology used in the specificati...

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 embodiment of the invention provides an asynchronous message interface fusing control method and device, computer equipment and a storage medium. The embodiment of the invention belongs to state monitoring in server performance monitoring, and comprises the following steps: based on a Redis queue, if a message synthesis request is received, judging whether a fuse switch of the Redis queue is turned off or not; If the fuse switch is turned off and the length of the Redis queue exceeds a preset length threshold, sending a heuristic request to a third-party system interface, turning on a fuseswitch, and setting the expiration time of the fuse switch; if the server obtains the message result from the message middleware and the message result meets a preset condition, turning off a fuse switch, emptying the Redis queue,; and if the message result is not obtained or the message result does not meet a preset condition, keeping the fuse switch on to realize automatic fusing and automaticrecovery of an asynchronous message interface, so that the whole process does not need manual intervention, and the server system and a third party system can be protected.

Description

technical field [0001] The present application relates to the technical field of server management, and in particular to an asynchronous message interface fusing control method, device, computer equipment, and computer-readable storage medium. Background technique [0002] At present, the industry has a hystrix-based synchronous interface fusing method. The asynchronous message interface means that the interface will call a third-party interface to process transactions. Since this transaction processing is a time-consuming operation, the third-party interface will immediately return success and a certificate to the asynchronous message interface. The third-party interface will take this time-consuming operation It is processed separately. After processing, the result is placed in a message middleware such as Message Queue (Message Queue, MQ for short), and then the asynchronous message interface goes to MQ to get the result according to the returned credentials. If the resul...

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 Applications(China)
IPC IPC(8): H04L29/08G06F11/30
Inventor 彭光宗
Owner PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products