High-speed event processing mechanisms in distributed systems

The use of structured binary tag messages with metadata prefixes in distributed systems enables efficient and rapid message processing by identifying and forwarding important messages, addressing inefficiencies in existing systems.

JP7955515B2Active Publication Date: 2026-11-24DRAJVNETS LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2025535336
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-12-18
Publication Date
2026-11-24
Estimated Expiration
2042-12-18

AI Technical Summary

Technical Problem

Existing distributed systems face inefficiencies in message transmission and message classification and forwarding in high-scale distributed systems, particularly in managing hundreds of nodes, leading to delays and inefficiencies in processing large numbers of messages, especially as the system scales, and existing systems struggle to efficiently distinguish and process important messages from ordinary ones.

Method used

A novel method and system using structured binary tag messages with metadata prefixes to identify and forward important messages without further processing, based on metadata components like target, source, event type, and event-related data, enabling faster transmission and processing.

Benefits of technology

This approach allows for efficient and rapid identification and forwarding of important messages, reducing delays and enhancing overall system performance by distinguishing and prioritizing important messages over ordinary ones.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007955515000001
    Figure 0007955515000001
  • Figure 0007955515000002
    Figure 0007955515000002
Patent Text Reader

Abstract

A method for use in a distributed system configured to be implemented within one or more clusters of a communication network for transmitting messages within the distributed system, the method and the distributed system being characterized in that the messages include a data payload and a header, and the header includes a tuple of metadata for the data payload.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present disclosure relates generally to the field of communication systems, and more particularly to software architectures for highly scalable distributed systems.

[0002] CL: Cluster Leader CM: Cluster Manager EM: Element Manager, an entity present on all nodes of a cluster for managing elements as requested by the CM. FCE: Forwarding Cluster Element FEM: Fabric Element Manager FM: Forwarding Manager FRR: Fast Re Route RM: Routing Manager WB: White-box Container: A container is an isolated execution environment that operates as a fully configured entity with its own users, file system, processes, libraries, code, network stack, etc., ensuring that software contained within such a container exhibits identical behavior regardless of the system on which the container is executed. Control Plane: A logical layer containing all applications related to functions and processes that determine routes used for purposes such as managing the data plane. This definition includes, but is not limited to, configuration engines, routing stacks, routing protocols, spanning trees, identity providers (IdPs), and user-facing services. Data Plane: A logical layer that contains all functions and processes related to the forwarding of data packets / frames from one interface to another through a system. This definition includes, but is not limited to, routing via physical ports, as well as routing via intermediate backplane ports that allow data packets to reach physical ports that are not immediately reachable. [Background technology]

[0003] In the field of high-scale distributed systems, one of the challenges in the software architecture domain is the ability to efficiently transmit messages to relevant system users.

[0004] Typically, distributed messaging is based on the concept of a reliable message queue. Messages are queued asynchronously between client applications and the messaging system, and such a distributed messaging system offers the benefits of reliability, scalability, and persistence.

[0005] However, as application messages become more complex, the overhead caused by classification and forwarding decisions becomes a significant bottleneck, especially as the system itself scales.

[0006] As part of managing such a distributed system consisting of hundreds of nodes, each node typically forwards a large number of messages to its cluster manager (CM). Clearly, such processing involves a vast number of messages arriving at each cluster manager from all the nodes contained within each cluster, and therefore, it is necessary to improve the efficiency of such processing in order to avoid excessive delays in the transmission of these messages.

[0007] Therefore, this disclosure aims to solve the problem of effectively transmitting messages in high-scale distributed systems. [Overview of the Initiative] [Problems that the invention aims to solve]

[0008] This disclosure can be summarized by referring to the attached claims.

[0009] The purpose of this disclosure is to provide a novel method and a novel system that enables the effective transfer of messages within a distributed system.

[0010] Another object of this disclosure is to provide novel methods and systems that enable the distinction between important messages and ordinary messages, and consequently enable the processing of important messages faster than ordinary messages.

[0011] Another objective of this disclosure is to provide novel methods and systems that utilize tag-based high-speed mechanisms for transferring messages within a distributed system.

[0012] Other purposes of this disclosure will become apparent from the following description. [Means for solving the problem]

[0013] According to a first embodiment of the present invention, a method is provided for use in a distributed system configured to be implemented in one or more clusters of a communication network for transmitting messages within the distributed system, wherein the message includes a data payload and a header, and the header includes a tuple of metadata for the data payload.

[0014] As used herein and in the claims, the term “tuple” is used to describe a finite sequence of conditions, such as a single column in a relational database.

[0015] As used herein and in the claims, the term “metadata” is used to refer to data that provides information about other data but does not provide the content of the said data, such as the text or image of a message. In embodiments of the solutions provided herein, the metadata includes at least one member of the group consisting of a target, a source, an event type (i.e., an event classification), and event-related data.

[0016] According to another embodiment, the metadata includes at least one member of a group consisting of a target, a source, an event type, and event-related data.

[0017] According to another embodiment, each of the at least one member of the group has a binary value, thereby the header is suitable for providing an indication of whether the message is an important message or not.

[0018] In yet another embodiment, each of the one or more clusters includes a cluster manager configured to determine whether a message is important based on one or more values ​​of at least one of the members of the group. For example, if one of the members of the group is defined as having a higher weight than the other members, then, for example, if the event type value of the header of the message is "1" and the values ​​of all other members of the group are "0", the message is processed as important. Alternatively, for example, if two or more members, such as an event-related data member and a target member, each have a value of "1" and the other two members have a value of "0", the system operation definition is configured to consider the message to be important. Obviously, if all four members have a value of "1", the message is considered important.

[0019] In yet another embodiment of the present disclosure, when a message is determined to be an important message, it is transmitted without further processing, for example, without further examining the header of the message, and without parsing the message to extract the data payload from the message, and is forwarded or relayed as needed.

[0020] According to still another aspect of the present disclosure, there is provided a distributed system for use in a communication network, said distributed system being arranged in the form of a plurality of clusters and comprising a plurality of nodes configured to transmit messages within said distributed system, said distributed system being characterized in that said message comprises a data payload and a header, said header comprising a tuple of metadata associated with said data payload.

[0021] According to another embodiment of the aspect of the present disclosure, said metadata allows determining how a message associated with said metadata is to be processed.

[0022] In yet another embodiment of the aspect of the present disclosure, said metadata comprises at least one member of the group consisting of target, source, event type and event related data.

[0023] According to yet another embodiment, each of said at least one said member of said group has a binary value.

[0024] According to another embodiment, each of said plurality of clusters comprises a cluster manager configured to determine whether a message is an important message based on one or more values of said at least one said member of said group.

[0025] In yet another embodiment of the aspect of the present disclosure, said cluster manager is configured to determine whether a message is an important message based on the value of said event type.

[0026] According to yet another embodiment of the aspects of this disclosure, if a message is determined to be an important message, the message is forwarded without further processing.

[0027] The accompanying drawings incorporated herein and constituting part thereof illustrate several embodiments of the present disclosure and are used together with the following description to illustrate the principles of these embodiments disclosed herein. [Brief explanation of the drawing]

[0028] [Figure 1] This is a partial diagram of a distributed system according to an embodiment of the present invention, in which important messages are separated from ordinary messages. [Figure 2] This flowchart illustrates a method for implementing the solution of the present invention according to an embodiment of the present invention. [Modes for carrying out the invention]

[0029] Some of the specific details and values ​​in the following detailed description illustrate specific examples of this disclosure. However, this description is illustrative and is not intended to limit the scope of the invention. It will be apparent to those skilled in the art that the claimed distributed routing system can also be realized by using other devices known in the art. The scope of the invention is summarized by referring to the appended claims.

[0030] As part of managing a distributed system within a communication network consisting of hundreds of nodes, optionally white boxes, each node typically forwards (streams) messages to its cluster manager (CM). Obviously, such processing involves a vast number of messages reaching each cluster manager, and therefore, it is necessary to improve the efficiency of such processing in order to avoid excessive delays in the system's processing. The solution provided by the present invention is based on distinguishing important messages from ordinary messages and enabling the processing (e.g., forwarding) of important messages faster than ordinary messages.

[0031] According to embodiments of the present invention, a novel mechanism for structured binary tag messages transmitted across systems is used.

[0032] This prefix (tag) attached to a message contains metadata for the message's data payload and includes at least one member of a group consisting of the target to which the message should be forwarded, the source from which the message was generated, the type of event associated with the message, and related data for the event associated with the message.

[0033] According to embodiments of this disclosure, each of the members included in the metadata simply indicates whether or not a message is an important message. This means, for example, that for each system operator decision, if one of the group members is defined as having a higher weight than the other members, then if, for example, the event type value in the message header is "1" and the values ​​of all other members of the group are "0", the message is processed as an important message. Alternatively, the system operation definition is configured to consider the message as an important message even if, for example, two or more members such as the event-related data member and the target member each have a value of "1" and the other two members have a value of "0". Obviously, if all four members have a value of "1", the message is considered an important message.

[0034] By introducing such structured binary tags as prefixes into the message payload, it becomes possible to quickly identify parameters such as the target to which the message is transmitted and the type of event associated with the transmitted message. This, in turn, makes it possible to distinguish between important messages and ordinary messages, and to transmit and / or relay important messages without the need to deserialize the practical content.

[0035] Messages classified as important are transmitted immediately without any analysis or further inspection of the message or its data payload. Classifying a message as important or ordinary is performed by any one value or any combination thereof of a metadata prefix component, which is predefined by the system configuration or determined by the system operator.

[0036] Figure 1 is a partial diagram of a distributed system 5 according to an embodiment of the present invention, in which important messages are separated from ordinary messages. Ordinary messages are forwarded along a "slow path" for non-urgent events (related to ordinary messages), as opposed to a path for processing messages related to events marked for relay (transfer without further processing).

[0037] The two types of events described above are forwarded to the cluster manager (CM) 10. Information related to these events is forwarded using messages generated by the application, and then each message is sent along with these metadata tagged events included in the message header. The messages are sent to the element managers (EMs) 25 of the local nodes located within the cluster leader (CL) 30, and the element managers 25 then forward the messages toward the cluster manager 10 connection. In the cluster manager 10, messages are classified based on the information included in the header of each message. If the value included in the metadata indicates that an event is important, the message must be transmitted without further processing. If a message (and the events associated with the message, respectively) is determined to be an important message or a normal message, the thread 20 receiving the event (for important messages) forwards the event to a relay event path and then to another node 35, or forwards normal messages to the internal fabric capacity event path 15, as illustrated in Figure 1.

[0038] Figure 2 illustrates a flowchart illustrating a method for implementing the solution of the present invention according to an embodiment of the present invention.

[0039] In step 200, the message is generated to be transmitted via a distributed system operating within a communication network, and the message includes a data payload and a header, the header containing a tuple of metadata (target, source, event type and event data).

[0040] Next, the message is transmitted through the distributed system and arrives at the cluster manager (step 210).

[0041] The cluster manager detects the values ​​of the components contained in the header (step 220), and, based on the system operator's decision, classifies the message as either a critical message or a normal message based on one or more of these values ​​(step 230).

[0042] If the cluster manager determines that a message is important, it transmits the message to its destination without further processing and without excessive delay (step 240). The cluster manager optionally exercises its classification capabilities by inspecting the event type. Events tagged as having a type that requires immediate forwarding are forwarded without further inspection and analysis.

[0043] The illustrated method allows event-related messages to be forwarded, relayed, and processed more effectively with greater capacity. In other words, the above method results in a better resolution of event processing, leading to more optimal and faster event processing.

[0044] The present invention is described using a detailed description of embodiments provided merely as examples and not intended to limit the scope of the invention. The embodiments described include different configurations, and not all configurations are required in all embodiments of the invention. Some embodiments of the invention use only some configurations, or possible combinations of configurations. Variations of the embodiments of the invention described, and embodiments of the invention including different combinations of configurations shown in the embodiments described, will be obvious to those skilled in the art. The scope of the invention is limited only by the following claims.

Claims

1. A method used in a distributed system configured to be implemented within one or more clusters of a communication network for transmitting messages within the distributed system, wherein the one or more clusters include a plurality of nodes and a cluster manager, each of the messages includes a data payload and a header, the header includes a metadata tuple related to the data payload of each of the messages, the metadata tuple includes at least one member of a group consisting of an event type, event-related data, and combinations thereof. The method includes the steps of: transmitting at least one of the messages from each node in the one or more clusters to each cluster manager; and each cluster manager determining, based on whether the value of one or more members of the group in the received at least one message is higher than the value of the corresponding one or more members in a message having an unimportant data payload that is an unimportant message, whether the message is an important message having an important data payload; A method characterized in that, if the received message is determined to be an important message, the message is transmitted to the destination via a first communication path without further processing, and if the received message is determined to be an unimportant message, the message is forwarded via a second communication path.

2. The method according to claim 1, characterized in that the tuple of metadata derived from the data payload of the message transmitted by each of the nodes is included in the prefix attached to the message.

3. The method according to Claim 1, characterized in that at least one of the event type and the event-related data has two values.

4. The method according to the previous version, characterized in that the cluster manager is configured to determine whether a received message contains an important payload based on a binary value associated with the event type.

5. A distributed system used within a communication network, wherein the distributed system includes a plurality of nodes arranged in the form of a plurality of clusters, Each of the aforementioned clusters includes a cluster manager and a plurality of nodes, and each of the plurality of nodes is configured to transmit messages to its respective cluster manager. Each of the aforementioned messages includes a data payload and a header, the header includes a tuple of metadata related to the data payload, and the metadata tuple includes at least one member of a group consisting of an event type, event-related data, or a combination thereof. The cluster manager receives messages transmitted from the nodes included in each cluster, and for each received message, determines whether the message is an important message and has an important data payload, based on whether the value of one or more members of the group within the message is higher than the value of the corresponding one or more members in a message that has an unimportant data payload and is therefore an unimportant message. The cluster manager is further configured to transmit messages deemed important to their destination via a first communication path without further processing, and to transmit received messages deemed unimportant via a second communication path, thereby enabling a distributed system.

6. The distributed system according to claim 5, characterized in that a tuple of metadata derived from the data payload of a message transmitted by each of the nodes is included in a prefix attached to the message.

7. The distributed system according to claim 5, characterized in that at least one of the event type and the event-related data has two values.

8. The distributed system according to claim 7, characterized in that the cluster manager is configured and operates to determine whether a message contains an important payload based on a binary value associated with the event type.

Citation Information

Patent Citations

  • Augmented Reality Mobile Edge Computer

    JP2022523215A

  • Content-based routing of information content

    US20080285578A1

  • Enhanced Network Virtualization using Metadata in Encapsulation Header

    US20150081863A1

  • Highly-available cluster leader election in a distributed routing system

    WO2021250652A1