Service processing method, device and electronic equipment and storage medium

A business processing and business request technology, applied in the computer field, can solve problems such as high resource overhead, inactive business modules, waste of connection resources, etc.

Active Publication Date: 2020-10-13
GUANGDONG INSPUR BIG DATA RES CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, except for modules such as performance and cache that need to collect information regularly, other business modules are basically inactive
When no command is requested, the module connection is in an idle state, wasting connection resources
At the same time, after processing the request, each mod

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
  • Service processing method, device and electronic equipment and storage medium
  • Service processing method, device and electronic equipment and storage medium
  • Service processing method, device and electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the 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.

[0051] In the prior art, each module of all nodes in the cluster maintains a long connection with a message service of a single rabbitmq service node, which wastes connection resources. At the same time, each module creates a new connection every time it receives a processing request, which has a large resource overhead. When the number of nodes and modules is large, it will put a lot of pressure on a single Rabbitmq service node.

[0052] Therefore, the embodiment of the present ap...

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 invention discloses a service processing method, device, equipment and a medium. The method comprises the steps: receiving a web service request issued by a client; selecting a first target long connection in an idle state from a first type of connection pool for storing pre-established long connections for receiving; sending the web service request to a corresponding function module for processing by utilizing the first target long connection to obtain a processing result corresponding to the web service request; selecting a second target long connection in an idle state from a second type of connection pool for storing a pre-established long connection for sending, and returning the processing result to the client through the second target long connection. According to the method disclosed in the invention, each module does not need to keep long connection with nodes, and the number of long connections of the nodes is reduced. After each module processes the result, the result can be sent through the long connection pre-established in the second type connection pool, resource overhead of continuously establishing and destroying the temporary connection is prevented, and establishment time of the connections is reduced.

Description

technical field [0001] The present application relates to the field of computer technology, and more specifically, to a business processing method and device, an electronic device, and a computer-readable storage medium. Background technique [0002] In the architecture of traditional storage management software, different functional modules are split according to different functions of the backend, such as figure 1 , figure 2 As shown, each module of all nodes in the cluster maintains a persistent connection with a message service of a single rabbitmq service node. However, except for modules such as performance and cache that need to be regularly executed to collect information, other business modules are basically inactive. When no command is requested, the module connection is in an idle state, wasting connection resources. At the same time, after processing the request, each module temporarily applies for creating a new connection to send the processing result. Each...

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
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/02H04L67/141H04L69/22H04L67/60
Inventor 朱文龙
Owner GUANGDONG INSPUR BIG DATA RES 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