Dynamic Keepalive Timer Adjustment for Network Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional keepalive mechanisms in networks send keepalive packets at a fixed frequency, which is not suitable for varying latency conditions, leading to suboptimal resource utilization and link failure detection times.

Innovation Solution

The mechanism dynamically adjusts the keepalive transmission frequency based on the latency between nodes by maintaining packet timing information and updating transmission intervals using learned round trip times, allowing for adaptive keepalive processing.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If keepalive packets are sent at a fixed high frequency, then link failure detection time is reduced, but network resource utilization deteriorates due to excessive packet transmission

Engineering Contradiction:
Improvelink failure detection timeVSAvoidnetwork resource utilization
Core Design Contradiction:
Loss of timeVSProductivity

Solution Approach 1:

The patent implements dynamic adjustment of the keepalive transmission interval based on measured round trip time (RTT) values. The system transitions from a static fixed interval to a dynamic adaptive interval that automatically adjusts to current network conditions, allowing optimal balance between detection speed and resource consumption

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the transmission interval parameter based on observed network latency. By monitoring RTT values and adjusting the keepalive interval accordingly (shorter intervals when latency is low, longer intervals when latency is high), the system optimizes both fault detection performance and network resource utilization

Inventive Principle:
Principle #35Parameter changes

2Productivity

If keepalive packets are sent at a fixed low frequency, then network resource utilization is improved, but link failure detection time increases

Engineering Contradiction:
Improvenetwork resource utilizationVSAvoidlink failure detection time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system dynamically adjusts the keepalive transmission frequency based on real-time network conditions. When network latency decreases, the system automatically increases transmission frequency to improve detection speed, and when latency increases, it reduces frequency to conserve resources

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent employs feedback mechanisms where the measured RTT from previous keepalive exchanges is used to determine the next transmission interval. This closed-loop control ensures the system responds to actual network conditions rather than operating with fixed parameters

Inventive Principle:
Principle #23Feedback

3Loss of time

If keepalive transmission frequency is increased during low latency conditions, then link failure detection time is reduced, but network packet volume increases

Engineering Contradiction:
Improvelink failure detection timeVSAvoidnetwork packet volume
Core Design Contradiction:
Loss of timeVSQuantity of substance

Solution Approach 1:

The transmission interval parameter is adjusted based on measured network latency conditions. During low latency periods, the system shortens the interval to improve detection speed, while during high latency periods, it lengthens the interval to reduce packet volume, creating an adaptive response to network conditions

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12149425B2Adjustable keepalive timer
Publication Date: 2024.11.19 ARISTA NETWORKS INC
  • US12149425B2 patent drawing
  • US12149425B2 patent drawing
  • US12149425B2 patent drawing

AI summary

Keepalive packets are transmitted between a sender node and a receiver node at an interval that varies depending on the transit times of previously transmitted keepalive packets. The transit time is based on when a keepalive packet is transmitted to the receiver node and when a corresponding feedback packet is received from the receiver node. The transmission interval varies depending on the path conditions between the sender node and the receiver node, which may be reflected in the transit time.