Modular TCP Handoff Design for Scalable Web Server Clusters

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional web server clusters face scalability limitations due to bottlenecks created by load balancers that intercept all incoming and outgoing traffic, and existing TCP state transfer mechanisms are inefficient, often requiring proprietary protocols that reduce processing efficiency.

Innovation Solution

A modular TCP handoff design in a STREAMS-based TCP/IP implementation allows for dynamic loading and unloading of TCP handoff modules as DLKM, enabling transparent TCP state migration between nodes without service interruption, and optimizing routing decisions based on content-aware request distribution.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If load balancer intercepts all incoming and outgoing traffic to distribute requests, then request distribution is achieved, but system scalability is limited due to bottleneck

Engineering Contradiction:
Improverequest distributionVSAvoidsystem scalability
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent extracts the TCP state management functionality from the load balancer and transfers it to the web servers themselves. The modular TCP handoff module is loaded dynamically into the web server kernel, enabling servers to independently manage and transfer TCP states without requiring centralized load balancer intervention for traffic interception and redirection.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the TCP handoff functionality into a separate modular component that can be dynamically loaded and unloaded. This modular TCP handoff module is distinct from the core web server functionality, allowing independent management of TCP state transfer operations and enabling scalable deployment across multiple servers without a single point of failure.

Inventive Principle:
Principle #1Segmentation

2Reliability

If proprietary TCP state transfer protocols are used, then TCP state migration is achieved, but processing efficiency is reduced

Engineering Contradiction:
ImproveTCP state migrationVSAvoidprocessing efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent implements a universal TCP handoff module that works with standard TCP/IP protocols rather than proprietary implementations. The modular handoff module can transfer TCP states between different web servers using conventional networking protocols, making the system compatible with standard network infrastructure and improving processing efficiency by eliminating the need for specialized proprietary protocol handling.

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Stability of the object's composition

If TCP handoff modules are statically compiled, then system stability is improved, but management flexibility is reduced

Engineering Contradiction:
Improvesystem stabilityVSAvoidmanagement flexibility
Core Design Contradiction:
Stability of the object's compositionVSAdaptability or versatility

Solution Approach 1:

The patent implements dynamic loading and unloading of the TCP handoff module through the STREAMS framework. The module can be loaded into the web server kernel when needed and unloaded when not required, allowing the system to adapt its functionality dynamically without requiring static compilation. This provides both stability during operation and flexibility for updates and management.

Inventive Principle:
Principle #15Dynamics

4Ease of operation

If load balancer rewrites IP addresses using NAT, then request forwarding is achieved, but response delivery efficiency is reduced

Engineering Contradiction:
Improverequest forwardingVSAvoidresponse delivery efficiency
Core Design Contradiction:
Ease of operationVSSpeed

Solution Approach 1:

The patent enables web servers to perform TCP state transfer and response delivery independently without requiring load balancer mediation. The modular handoff module allows servers to directly transfer TCP connection states to peer servers and deliver responses efficiently, eliminating the need for load balancer-based NAT address rewriting and improving response delivery speed through direct server-to-server communication.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS7831731B2Method and system for a modular transmission control protocol (TCP) rare-handoff design in a streams based transmission control protocol/internet protocol (TCP/IP) implementation
Publication Date: 2010.11.09 VALTRUS INNOVATIONS LTD
  • US7831731B2 patent drawing
  • US7831731B2 patent drawing
  • US7831731B2 patent drawing

AI summary

A method and system for handing-off TCP states in a communication network. Specifically, the present invention allows for handing-off TCP states between nodes in an associated network that is optimized for rare handoff of TCP states. The handoff occurs between dynamically loadable modules that wrap around the TCP/IP stack located at a front-end node and a selected back-end web server. A handoff protocol implemented by the loadable modules works within the kernel level of the existing TCP/IP code. As such, no changes to the existing TCP/IP code is necessary. The loadable modules at the front-end are able to select a back-end web server depending on the content of the web request, coordinate handing off TCP states, and forward packets to the back-end web server. Loadable modules at the selected back-end modify response packets going out to reflect the proper TCP state of the front-end node.