Serverless Container Traffic Forwarding for Zero-Delay Scaling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing serverless architecture-based cloud platforms rely on centralized gateways for expansion, leading to increased resource overhead, performance loss, and high error rates due to complex configuration and unpredictable burst traffic, which cannot be timely addressed.

Innovation Solution

Detect indicators in the container instance processing flow to determine if they exceed thresholds, and if so, forward service traffic to pre-warmed new container instances to achieve almost zero-delay expansion, avoiding reliance on centralized gateways and reducing error rates.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a centralized gateway is used for expansion in serverless architecture, then traffic can be routed to new container instances, but resource overhead and performance loss increase due to gateway operation and maintenance

Engineering Contradiction:
Improveexpansion capabilityVSAvoidresource overhead
Core Design Contradiction:
Adaptability or versatilityVSLoss of energy

Solution Approach 1:

The patent extracts the expansion functionality from the centralized gateway and implements it directly in the container instances through peer-to-peer communication. Each container instance can independently receive traffic and route to other instances, eliminating the gateway's expansion management burden while maintaining expansion capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Container instances perform their own expansion operations by maintaining a service registry and automatically routing traffic to new instances. The system serves itself without requiring centralized gateway intervention for instance creation, deletion, or traffic redirection, reducing gateway resource overhead.

Inventive Principle:
Principle #25Self-service

2Adaptability or versatility

If a centralized gateway is used for expansion, then traffic routing is possible, but persistent performance loss occurs

Engineering Contradiction:
Improveexpansion capabilityVSAvoidperformance
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The expansion management functions are extracted from the centralized gateway and distributed to individual container instances. This eliminates the gateway's performance bottleneck by allowing direct peer-to-peer traffic routing between instances, improving overall system performance while maintaining expansion capability.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The centralized gateway's monolithic expansion management is segmented into distributed functions across multiple container instances. Each instance independently handles its own traffic routing and expansion logic, eliminating the single point of failure and performance limitation inherent in centralized gateway architecture.

Inventive Principle:
Principle #1Segmentation

3Reliability

If expansion policies are finely configured, then expansion control is precise, but configuration becomes complicated

Engineering Contradiction:
Improveexpansion control precisionVSAvoidconfiguration complexity
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

Container instances automatically discover and register themselves with the service registry, eliminating the need for manual configuration of expansion policies. The system self-configures by having instances publish their service endpoints and capabilities, allowing precise control without complex user configuration.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent changes the configuration approach from static policy definitions to dynamic parameter registration. Instances automatically provide parameters such as service endpoints, capacity, and routing rules to the registry, enabling precise expansion control through runtime parameter changes rather than pre-configured policies.

Inventive Principle:
Principle #35Parameter changes

4Quantity of substance

If new container instances are created after expansion is triggered, then resource utilization is optimized, but cold start delay affects responsiveness

Engineering Contradiction:
Improveresource utilizationVSAvoidcold start delay
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The patent implements preliminary action by pre-creating container instances in a suspended or warm state before they are needed. These instances are prepared in advance with their runtime environment loaded but not actively processing traffic, so when expansion is triggered, they can activate immediately without cold start delay while maintaining optimized resource utilization.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system performs preliminary anti-action by preemptively creating and warming up container instances before traffic bursts occur. This anticipatory approach counteracts the potential cold start delay by ensuring instances are ready to accept traffic immediately when needed, while resources are only fully allocated when the instances become active.

Inventive Principle:
Principle #9Preliminary anti-action

Data Source

PatentUS20260056863A1Method and apparatus for flexible expansion of serverless architecture-based cloud service, and storage medium
Publication Date: 2026.02.26 BEIJING VOLCANO ENGINE TECH CO LTD
  • US20260056863A1 patent drawing
  • US20260056863A1 patent drawing
  • US20260056863A1 patent drawing

AI summary

Embodiments of the present disclosure provide a method for flexible expansion of a serverless architecture-based cloud service, an apparatus, and a storage medium. A first indicator in a process of sending service traffic from an upstream container instance to a target downstream container instance and/or a second indicator in a process of processing the service traffic by the target downstream container instance are detected in a process of a container instance processing flow in a serverless architecture-based cloud platform, and whether the first indicator and/or the second indicator exceed a corresponding preset threshold is determined; and if so, a part of the service traffic is forwarded to a pre-created and warmed-up new container instance corresponding to the target downstream container instance.