Container Layer Block Storage for Faster Startup

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The process of creating and managing containers is complex and time-consuming, requiring significant technical expertise, and existing systems incur latency in starting up due to the downloading and decompressing of archived formats, which can take up to 15 seconds before a user can use the system can use them to start a seamless experience.

Innovation Solution

Implementing a system that converts the process of starting containers by converting the process of converting the process of converting the archived formats to archived formats by converting the process of converting the archived formats to archived formats.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If containers are stored in archived formats (tar.gz, tar.xz), then storage efficiency and space utilization are improved, but startup time increases due to downloading and decompressing taking up to 15 seconds

Engineering Contradiction:
Improvestorage efficiencyVSAvoidstartup time
Core Design Contradiction:
Quantity of substanceVSLoss of time

Solution Approach 1:

The system performs preliminary conversion of container layers from archived formats to block storage format during idle time or background processes. When a container needs to be started, the block storage format version is already prepared and available, eliminating the need for decompression during startup and reducing startup time to near-instantaneous levels.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system changes the storage parameter of container layers from compressed archived formats (tar.gz, tar.xz) to block storage format. This parameter change allows the container runtime to access layer data directly without decompression, transforming the startup process from a time-consuming decompression operation to a fast direct read operation.

Inventive Principle:
Principle #35Parameter changes

2Speed

If container layers are converted to block storage format, then startup speed is improved to near-instantaneous, but initial conversion time and processing overhead increase

Engineering Contradiction:
Improvestartup speedVSAvoidconversion time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The conversion from archived format to block storage format is performed as a preliminary action during background processes or when containers are not actively being started. This separates the conversion operation from the startup path, so that while conversion takes time, it does not impact the startup speed of containers that use the pre-converted block storage format.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates a block storage format version as a copy or representation of the container layer data. Instead of modifying the original archived format files, the system generates a parallel block storage format version that can be read directly during startup. This copying approach allows the original archived formats to remain intact while providing fast access through the block storage copy.

Inventive Principle:
Principle #26Copying

3Adaptability or versatility

If the system maintains both archived format and block storage format versions, then flexibility and backward compatibility are improved, but storage space and system complexity increase

Engineering Contradiction:
Improveformat flexibilityVSAvoidstorage space
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The system applies different storage formats to different container layer data based on local quality requirements. Frequently accessed or recently started containers use the fast block storage format, while less frequently used containers can remain in the space-efficient archived format. This selective approach allows the system to optimize for speed where needed while maintaining space efficiency elsewhere.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system can discard the archived format version after successfully converting it to block storage format, as the block storage version provides the same functionality with faster access. This discarding approach reduces storage space requirements over time by eliminating redundant archived format copies, while the conversion process ensures no data is lost.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS20250390314A1Optimizing container startup performance using block layer storage
Publication Date: 2025.12.25 ANYSCALE INC
  • US20250390314A1 patent drawing
  • US20250390314A1 patent drawing
  • US20250390314A1 patent drawing

AI summary

A method, device, and system for starting containers is provided. The method includes (i) in response to determining to start a container, determining whether a container layer for the container has been previously converted to a block storage format; (ii) in response to determining that the container layer has not been previously converted to a block storage format, downloading an archived version of the container layer, converting the archived version into a block storage format version of the container layer, storing the block storage format version of the container layer into a blob storage, and starting the container; and (iii) in response to determining that the container layer has been previously converted to a block storage format, starting the container based at least in part on the block storage format version.