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

Thematic message subscripting and releasing method

A topic and message technology, applied in the field of distributed systems, can solve problems such as increased delay, linear growth of complexity, and impact on the overall performance of the system, so as to prevent single point failures and improve reliability.

Active Publication Date: 2014-06-04
BEIJING JINGDONG 360 DEGREE E COMMERCE CO LTD
View PDF3 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, as the number of servers increases, the delay of using distributed locks to lock servers will increase, which will increase the number of uncontrollable scenarios, and the complexity of ensuring data consistency will also increase linearly, which will affect the overall performance of the system.
It can be seen that the traditional method of subscribing and publishing topics is limited by the scale of the server and cannot achieve horizontal expansion

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
  • Thematic message subscripting and releasing method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0015] The core idea of ​​the present invention is: by calculating the hash value of the subscription topic in the message middleware to determine the specific message middleware server, the number of messages that can be subscribed can be expanded horizontally and infinitely, and the client side of the message middleware When subscribing to a topic, configure two servers for it. In this way, a single point of failure of a certain type of topic message can be prevented, thereby improving the reliability of the message middleware.

[0016] figure 1 It is a schematic flow chart of Embodiment 1 of the present invention, such as figure 1 As shown, this embodiment mainly includes:

[0017] Step 101, configure a server for each messaging midd...

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 thematic message subscripting and releasing method. The thematic message subscripting and releasing method comprises the steps that the specific server side of message-oriented middleware is determined by calculating the Hash value of a subscription theme in the message-oriented middleware, and when one theme is subscripted by a client side of the message-oriented middleware, two server sides are configured for the client side. By the adoption of the thematic message subscripting and releasing method, the number of subscripted messages can be expanded infinitely in the transverse direction, single-point faults of a certain category of thematic messages can be avoided, and the reliability of the message-oriented middleware is improved.

Description

technical field [0001] The invention relates to distributed system technology, in particular to a method for subscribing and publishing topic messages in a distributed system. Background technique [0002] In a distributed system, the information exchanged between the client and the server is forwarded through the message middleware. [0003] When the client of the message middleware needs to subscribe to a topic, the client will randomly select a server of the middleware to establish a connection with it, and send the message of subscribing to the topic to the selected server. After the server receives the message of the subscription topic, it will publish the subscription information to other message middleware servers to realize the synchronization of the subscription information on each server. In order to ensure the consistency and integrity of each messaging middleware server's subscription topics, it is necessary to add a distributed lock to each messaging middleware...

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/08
Inventor 吴友强
Owner BEIJING JINGDONG 360 DEGREE E COMMERCE CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More