Direct Node Messaging Bypassing Load Balancer

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In distributed messaging systems, messages may languish in queues that are not selected by the load balancer, leading to inefficiencies and potential loss of messages due to the reliance on luck of the load balancer for message retrieval.

Innovation Solution

A client bypasses the load balancer by directly addressing individual nodes in a cluster, cycling through node addresses to ensure all messages are retrieved from message queues, using techniques like round-robin patterns or traffic-based patterns to ensure even distribution of message retrieval requests.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If messages are retrieved through the load balancer, then request traffic is balanced between nodes, but messages may be lost in queues that are not selected by the load balancer

Engineering Contradiction:
Improvemessage retrieval operationVSAvoidmessage delivery reliability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system segments the message retrieval process into two distinct phases: (1) initial message reception through the load balancer which distributes messages to nodes, and (2) comprehensive message retrieval by clients who directly access multiple node queues using round-robin patterns. This segmentation allows the load balancer to handle incoming traffic while clients ensure complete message retrieval by cycling through all nodes, preventing message loss.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a naming service as an intermediary that maintains a registry of all node addresses. Clients use this naming service to discover and access node queues directly, bypassing the load balancer for retrieval operations. This intermediary enables clients to systematically access all nodes in a round-robin fashion, ensuring complete message retrieval while maintaining the load balancer's role in incoming traffic distribution.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If a load balancer is used to distribute messages, then traffic is balanced across nodes, but message retrieval becomes dependent on load balancer distribution patterns

Engineering Contradiction:
Improvemessage distribution efficiencyVSAvoidmessage retrieval time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system implements dynamic message retrieval where clients adaptively cycle through node addresses using round-robin patterns. Instead of statically relying on load balancer distribution, clients dynamically access each node's queue in sequence, ensuring that messages are retrieved from all nodes regardless of the load balancer's distribution pattern. This dynamic approach eliminates retrieval delays caused by unfavorable load balancer distribution.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The naming service performs preliminary action by maintaining an up-to-date registry of all node addresses before clients need to retrieve messages. Clients can proactively obtain the complete list of node addresses and plan their retrieval strategy in advance, rather than discovering nodes dynamically during retrieval. This preliminary preparation enables efficient round-robin access to all nodes.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If pull-based protocol is used, then receiving systems can retrieve messages at their convenience, but additional notification traffic is generated reducing available bandwidth

Engineering Contradiction:
Improvemessage retrieval flexibilityVSAvoidbandwidth consumption
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The system segments the communication protocol into pure pull-based retrieval operations where clients initiate all message retrieval requests. By eliminating push-based notifications, the patent removes the associated notification traffic and bandwidth consumption. Clients maintain flexibility by retrieving messages at their convenience from multiple node queues using round-robin patterns, while the segmented pull-only approach conserves bandwidth.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS11126483B1Direct message retrieval in distributed messaging systems
Publication Date: 2021.09.21 ORACLE INT CORP
  • US11126483B1 patent drawing
  • US11126483B1 patent drawing
  • US11126483B1 patent drawing

AI summary

A messaging service may be distributed in a cluster of nodes such that each node includes an instance of the messaging service. To ensure that messages are not lost in the messaging service through a load balancer, addresses for each of the nodes may be accessed, and messages may be retrieved from individual instances of the messaging service by addressing the nodes directly and bypassing the load balancer. To retrieve messages, a client may cycle through the node addresses and retrieve messages until each corresponding message queue is empty. Once a message queue is empty, the client may stop sending requests to the corresponding node until the message queues on the other nodes have been emptied. Various request patterns may be used to cycle through node addresses, including Round Robin patterns and patterns that correspond to traffic patterns seen by the load balancer.