Virtual Switch Loopback Interface for VPC Load Balancing Latency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In virtual private cloud (VPC) environments, existing load balancing technologies face challenges in reducing latency and efficiently managing loopback interfaces for backend virtual machine servers, particularly due to the scarcity of public IP addresses and the difficulty in setting up loopback interfaces on virtual machines.

Innovation Solution

Implementing a load balancing method that utilizes a virtual switch to provide a loopback interface for backend virtual machine servers, allowing direct communication between the servers and the router without going through a load balancer, and enabling tunneling for packet transmission and analysis through a monitoring virtual machine with deep packet inspection capabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a load balancer is used to distribute traffic to backend servers in a VPC environment, then load balancing functionality is achieved, but latency increases because responses must go through the load balancer

Engineering Contradiction:
Improveload balancing functionalityVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the network path by introducing a loopback interface that creates a direct return path from backend servers to the router, separating the forward path (through load balancer) from the return path (direct via loopback), thereby reducing latency while maintaining load balancing

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The loopback interface acts as an intermediary that enables direct communication between backend servers and the router, allowing response traffic to bypass the load balancer while still maintaining the load balancing architecture for request distribution

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of time

If loopback interfaces are set on backend virtual machine servers to enable direct return paths, then latency is reduced, but device complexity increases due to manual configuration requirements

Engineering Contradiction:
ImprovelatencyVSAvoidconfiguration complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The virtual switch automatically creates and manages the loopback interface on backend virtual machine servers without requiring manual customer configuration, enabling the system to self-configure the direct return path while reducing customer burden

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The loopback interface is pre-configured by the virtual switch before the customer needs to use the service, so that when traffic flows through the system, the direct return path is already in place and requires no additional customer action

Inventive Principle:
Principle #10Preliminary action

3Quantity of substance

If NAT is used to manage public IP address scarcity, then IP address depletion is reduced, but backend servers cannot know the client's IP address

Engineering Contradiction:
Improvepublic IP addressesVSAvoidclient IP address information
Core Design Contradiction:
Quantity of substanceVSLoss of information

Solution Approach 1:

The loopback interface and direct return path act as an intermediary mechanism that preserves client IP address information in the packet headers, allowing backend servers to see the original client IP without requiring changes to the NAT functionality

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11330044B2Method and system for processing load balancing using virtual switch in virtual network environment
Publication Date: 2022.05.10 NHN CORP
  • US11330044B2 patent drawing
  • US11330044B2 patent drawing
  • US11330044B2 patent drawing

AI summary

A method to load balance via a load balancing node in a virtual network environment, the method including: receiving a request packet from a client through a router; selecting, via a load balancer of the load balancing node, a backend virtual machine server to receive the received request packet; generating, via a virtual switch of the load balancing node, a packet for virtual networking by overlaying information for transmitting the received request packet to the selected backend virtual machine server through a virtual network to the received request packet; and transmitting the generated packet for virtual networking to a hypervisor node including the selected backend virtual machine server.