Pre-initialized Virtual Machine Pool for Cloud Latency Management

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers face challenges in efficiently utilizing virtual machine instances in cloud computing due to delays in instance and language runtime startup, over- or under-provisioning of resources, and difficulty in predicting traffic changes, leading to suboptimal performance and increased costs.

Innovation Solution

A virtual compute system maintains a pool of pre-initialized virtual machine instances with loaded software components, allowing for immediate use and dynamic management of capacity to reduce latency and improve utilization, by utilizing a warming pool for pre-initialized instances and an active pool for current requests, with a capacity manager adjusting instance numbers based on demand.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If virtual machine instances are initialized on-demand when requests arrive, then resource utilization is improved, but startup latency increases

Engineering Contradiction:
Improveresource utilizationVSAvoidinstance startup latency
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The system pre-initializes virtual machine instances in a warming pool before they are needed to handle requests. This preliminary action ensures that instances are ready for immediate deployment, eliminating startup latency when traffic arrives while maintaining resource efficiency through dynamic management.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If more virtual machine instances are provisioned to handle peak traffic, then service reliability is improved, but resource waste increases

Engineering Contradiction:
Improveservice availabilityVSAvoidresource waste
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system dynamically manages the pool of pre-initialized instances, adjusting the number of warm instances based on actual traffic patterns and demand. This dynamic approach ensures sufficient capacity for peak traffic while avoiding permanent over-provisioning, thus maintaining reliability without excessive resource waste.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes operational parameters by transitioning instances between different states (cold, warming, active, decommissioning) based on demand. This parameter-based management allows flexible adjustment of resource allocation to match actual usage patterns.

Inventive Principle:
Principle #35Parameter changes

3Speed

If virtual machine instances are kept ready in advance, then response speed is improved, but resource consumption increases

Engineering Contradiction:
Improveinstance readinessVSAvoidresource consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The system applies different quality states to different instances based on their current role and demand. Not all instances are kept in the same readiness state simultaneously; instead, the system maintains a mix of warm and cold instances, applying pre-initialization locally to only those instances likely to be needed soon.

Inventive Principle:
Principle #3Local quality

4Adaptability or versatility

If the number of virtual machine instances is increased to handle unexpected traffic spikes, then adaptability is improved, but cost increases

Engineering Contradiction:
Improvetraffic handling capacityVSAvoidinstance quantity
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The system uses feedback mechanisms to monitor traffic patterns and adjust the pool of pre-initialized instances accordingly. This feedback loop enables the system to adapt to traffic spikes by maintaining appropriate instance capacity without permanently over-provisioning, thus improving adaptability while controlling costs.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS9830193B1Automatic management of low latency computational capacity
Publication Date: 2017.11.28 AMAZON TECH INC
  • US9830193B1 patent drawing
  • US9830193B1 patent drawing
  • US9830193B1 patent drawing

AI summary

A system for providing automatic management of low latency computational capacity is provided. The system may be configured to maintain a plurality of virtual machine instances. The system may be further configured to identify a trend in incoming code execution requests to execute program code on a virtual compute system, determine, based on the identified trend, that the plurality of virtual machine instances should be adjusted, and adjust the plurality of virtual machine instances based on the identified trend.