Proxy Connection Resiliency via State Extraction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing TCP proxy server systems face inefficiencies in providing reliable communication between clients and servers due to costly and inefficient methods of maintaining connection state information and handling failures, which compromise either reliability or immediacy of takeover.
Innovation Solution
A connection resilient proxy system with an active and backup proxy component, where an active forwarding component maintains TCP connection information and establishes new connections with the backup upon failure, modifying data packet sequence and acknowledgement numbers to ensure seamless data routing without disconnecting existing connections.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If connection state information is acquired with every transmitted/received data packet, then reliability of takeover is improved, but system performance and processing efficiency deteriorate
Solution Approach 1:
The patent applies partial action by acquiring connection state information selectively rather than with every data packet. The system monitors and acquires state information based on specific conditions or at optimized intervals, rather than performing full state acquisition continuously. This reduces the processing burden while maintaining sufficient reliability for takeover scenarios.
2Reliability
If data packets are duplicated and forwarded to both active and backup servers, then connection state awareness is improved, but system efficiency and processing burden deteriorate
Solution Approach 1:
The patent extracts only the necessary connection state information from data packets rather than duplicating and forwarding entire packets to both active and backup servers. The system selectively extracts relevant state data (such as sequence numbers, acknowledgment numbers, and connection identifiers) and transfers only this essential information to the backup server, reducing network bandwidth consumption and processing overhead while maintaining adequate connection state awareness.
3Productivity
If connection state information is updated periodically, then system performance is improved, but immediacy of takeover deteriorates
Solution Approach 1:
The patent implements dynamic connection state acquisition by adjusting the frequency and timing of state information updates based on system conditions. Rather than using fixed periodic updates, the system can increase monitoring frequency when changes are detected or when approaching takeover scenarios, while maintaining lower overhead during stable periods. This dynamic approach balances performance with the immediacy requirements of failover.
Data Source
AI summary
A system, method and device for providing connection resiliency. The method including maintaining, by a first proxy, a TCP connection with a TCP client and a TCP connection with a TCP server through one or more TCP networks; maintaining information of both TCP connections by a forwarding component between the TCP networks and the first proxy; establishing, by the forwarding component, a new TCP connection with a second proxy for each of the TCP connections maintained by the first proxy; and forwarding data, to and from both the client and the server, to and from the second proxy without disconnection of the TCP connections of the TCP client and TCP server.


