ZooKeeper-based distributed asynchronous queue implementation method and device, equipment and medium

An implementation method and distributed technology, applied in the direction of multi-program device, resource allocation, program control design, etc., can solve the problem that the credit management system is difficult to meet the high concurrency real-time inquiry credit service, and improve the processing efficiency The effect of accuracy and saving server resource allocation

Pending Publication Date: 2020-01-10
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] With the expansion of the company's business, the credit management system (PH-YXD-CM) has been diffi

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
  • ZooKeeper-based distributed asynchronous queue implementation method and device, equipment and medium
  • ZooKeeper-based distributed asynchronous queue implementation method and device, equipment and medium
  • ZooKeeper-based distributed asynchronous queue implementation method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0045] The present invention will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for ease of description, the drawings only show part of the structure related to the present invention, but not all of the structure.

[0046] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the steps are described as sequential processing in the flowchart, many of the steps can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the steps may be rearranged, and the process may be terminated when the operation is completed, but there may also be other steps not included in the drawings. Processing can c...

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 relates to a ZooKeeper-based distributed asynchronous queue implementation method and device, computer equipment and a readable storage medium, and the method comprises the steps: splitting a risk control request when the risk control request is received to form a plurality of risk control sub-requests; sending the risk control sub-requests to an asynchronous task queue of a distributed system; and allocating the risk control sub-requests to different risk control servers according to the asynchronous task queue. The beneficial effects of the implementation method and device areas follows: an asynchronous task queue is established in a distributed application system; the risk control request is split and then distributed to different asynchronous task nodes; meanwhile, loadbalance distribution tasks are customized through a zookeeper cluster; asynchronous task nodes are distributed to different servers to be processed, and finally, corresponding task logic is called back and processed, so that server resource configuration can be reasonably saved, tasks of a single server are combined into a distributed environment to be executed, and the processing efficiency and accuracy of high-concurrency task load are greatly improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of financial data processing, and in particular to a method, device, device and storage medium for implementing a distributed asynchronous queue based on ZooKeeper. Background technique [0002] Zookeeper is a distributed, open source distributed application coordination service. It is an open source implementation of Google's Chubby. It is an important component of Hadoop and Hbase. Its functions include: configuration maintenance, name service, and distributed synchronization. , group services, etc. The goal of zookeeper is to encapsulate complex and error-prone key services, and provide users with simple and easy-to-use interfaces and systems with high performance and stable functions. Zookeeper generally elects a leader persistent node, and the leader is responsible for initiating various system tasks and controlling distributed lock scheduling. [0003] With the expansion of 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
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4881G06F9/5027G06F9/5083
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