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

Remote and multi-active distributed message sending, processing, consumption method and device

A message sending and distributed technology, applied in the computer field, can solve the problems of reduced satisfaction, repeated messages, and inability to achieve high availability of services across data centers, and achieve the effects of improving satisfaction, improving high availability, and reducing repeated consumption.

Active Publication Date: 2020-09-01
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the embodiments of the present invention is to provide a remote multi-active distributed message sending method, processing method and consumption method to solve the problem that the high The process of switching clusters causes a large number of repeated messages and reduces satisfaction

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
  • Remote and multi-active distributed message sending, processing, consumption method and device
  • Remote and multi-active distributed message sending, processing, consumption method and device
  • Remote and multi-active distributed message sending, processing, consumption method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0084] see figure 1 , which is a flow chart of a remote multi-active distributed message sending method provided by an embodiment of the present invention; the method includes:

[0085] Step 101: the production end monitors whether at least two business clusters of the server are available;

[0086] In this step, each production end in the production end cluster (or each message sending end in the message sending end cluster) first monitors whether all business clusters of the server are available (that is, whether the business cluster is alive), and then proceeds according to the monitoring results. Select and mark the main business cluster. The consumer side can only connect to one main business cluster during each consumption...

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 a distributed message sending method, processing method, consumption method and devices for remote multiple survival. The sending method comprises the steps that: a production side monitors whether at least two service clusters of a server side are available; if the production side monitors that the at least two service clusters are all available, a messagereleased by the production side is respectively sent to the at least two service clusters; the production side selects one service cluster from the at least two service clusters as a main service cluster; and the production side updates main service cluster information of the main service cluster into the rest of available service clusters, a center zookeeper and a HCC (Health Checking Center). In the embodiment of the invention, the released message is sent to different available service clusters, and the main service cluster is selected in advance for a consumption side, so that even thougha certain service cluster has a problem, unavailability of the overall service also cannot be caused, thereby improving high unavailability of the service clusters.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular to a remote multi-active distributed message sending method, processing method, consumption method and device. Background technique [0002] Kafka is a distributed, partitionable, and replicable distributed message system. Kafka runs in a cluster and can be composed of one or more services. As an important component in a distributed system, the distributed message system mainly solves problems such as application coupling, asynchronous messages, and traffic cutting, and realizes high performance, high availability, scalability, and eventual consistency architecture. It is an indispensable middleware for large distributed systems. Kafka cluster is a typical representative of them. Existing Kafka clusters are deployed and maintained separately. Due to the large number of Kafka clusters, Kafka clusters provide services to consumers through data centers (DC, datacenter)....

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/26H04L12/24H04L29/08
CPCH04L41/0668H04L43/0817H04L43/10H04L43/14H04L67/1044
Inventor 冯浩
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD