Dynamic Keepalive Timer Adjustment for Network Latency
Find Innovative SolutionsGenerate 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
Engineering 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
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
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
2Productivity
If keepalive packets are sent at a fixed low frequency, then network resource utilization is improved, but link failure detection time increases
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
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
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
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
Data Source
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.


