Load Balancer Health Monitoring via Invariant Hashing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current load balancing systems face challenges in efficiently monitoring the health of backends in high-traffic networks, requiring frequent synthetic requests and manual diagnosis, which can be burdensome and prone to errors, especially when dealing with encrypted payloads and errors across various network layers.

Innovation Solution

Implementing a network appliance with a data plane that calculates an invariant hash from response packets, allowing for continuous monitoring and automatic detection of unhealthy backends without the need for custom diagnosis software or human intervention, using programmable packet processing pipelines to compare hashes against expected results.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If frequent synthetic requests are sent to monitor backend health, then detection accuracy is improved, but network traffic burden increases

Engineering Contradiction:
Improvebackend health detection accuracyVSAvoidnetwork traffic burden
Core Design Contradiction:
Measurement precisionVSLoss of energy

Solution Approach 1:

The patent extracts only the essential health information from response packets by calculating hashes of specific fields (source IP, destination IP, ports, protocol) rather than processing entire packets. This selective extraction maintains detection accuracy while reducing processing overhead and network burden.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system creates a simplified representation of response packets through hashing, generating a compact health indicator that captures backend status without copying or processing the full packet data. This copying approach enables efficient monitoring with minimal resource consumption.

Inventive Principle:
Principle #26Copying

2Device complexity

If manual diagnosis methods are used, then system complexity is reduced, but detection speed and reliability deteriorate

Engineering Contradiction:
Improvemonitoring system complexityVSAvoidhealth monitoring reliability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The load balancer performs self-diagnosis by automatically calculating hashes of response packets and comparing them against expected values stored in the active set. This self-service mechanism eliminates manual intervention while maintaining high reliability through automated, consistent monitoring.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback by continuously comparing calculated hashes against expected hashes from the active set and automatically removing backends when mismatches occur. This closed-loop feedback ensures reliable detection without requiring manual diagnosis.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If encrypted payload inspection is performed, then detection accuracy is improved, but processing time and complexity increase

Engineering Contradiction:
Improveerror detection accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent extracts only the essential metadata fields (source IP, destination IP, ports, protocol) for hashing, completely avoiding inspection of encrypted payloads. This extraction approach maintains detection accuracy for health monitoring while eliminating the time-consuming process of decrypting and analyzing encrypted data.

Inventive Principle:
Principle #2Taking out (Extraction)

4Reliability

If continuous monitoring is implemented, then service availability is improved, but computational resources are consumed

Engineering Contradiction:
Improveservice availabilityVSAvoidcomputational resource consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The system creates a simplified hash representation of response packets for continuous monitoring, consuming minimal computational resources. This copying approach enables uninterrupted monitoring of all backends without the heavy processing cost of analyzing complete packet contents.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the monitoring parameter from analyzing complete packet payloads to hashing specific metadata fields. This parameter transformation reduces computational complexity while maintaining the ability to detect backend health issues and ensure service availability.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11283720B1Methods and systems for accelerated health monitoring for load balancers
Publication Date: 2022.03.22 PENSANDO SYSTEMS INC
  • US11283720B1 patent drawing
  • US11283720B1 patent drawing
  • US11283720B1 patent drawing

AI summary

A network appliance can maintain an active set indicating active backends for a load balanced network service. To monitor the health of the backends, the network appliance can transmit a network packet to a backend that is one of the active backends in the active set and can receive a response packet responsive to the network packet. An invariant hash can be calculated from the response packet using fields that are the same when the response is a normal response (e.g. not an error response) from a healthy backend. If the packet indicates an error or is otherwise indicative of a problem, the network appliance can determine, using the invariant hash, that the response packet does not match an expected result associated with the backend. Based on the error, the number of network packets resulting in errors, etc., the backend can be removed from the active set.