Container Image Copying via Reference Count Query Optimization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional methods for copying container images involve segmenting the image into numerous data chunks and individually querying the destination device for each chunk, leading to significant latency and bandwidth consumption due to the time and resources required for each query.

Innovation Solution

Determine the likelihood of a data chunk's presence on the destination device by using reference counts, querying only if the likelihood is low, and transmitting the chunk without querying if the likelihood is high, thereby reducing unnecessary queries and duplications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the server segments the container image into data chunks and individually queries the destination device for each chunk, then the server can prevent duplicates of data chunks from being copied, but the process introduces significant latency and consumes valuable bandwidth

Engineering Contradiction:
Improveprevention of duplicate data chunksVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The server performs preliminary actions by segmenting the container image into data chunks and determining their presence on the destination device before actually transmitting them. This allows the server to prepare the image structure in advance and make informed decisions about which chunks need to be transmitted, reducing unnecessary queries and transmissions that would cause latency

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The server uses feedback from querying the destination device about data chunk presence to determine whether to transmit each chunk. By receiving feedback about which chunks are already present and which are not, the server can selectively transmit only the necessary chunks, avoiding redundant transmissions and reducing overall latency and bandwidth consumption

Inventive Principle:
Principle #23Feedback

2Ease of operation

If the server individually queries the destination device about each data chunk, then the server can determine whether to transmit the chunk, but the process consumes valuable bandwidth and time

Engineering Contradiction:
Improvedetermination of data chunk presenceVSAvoidbandwidth consumption
Core Design Contradiction:
Ease of operationVSLoss of energy

Solution Approach 1:

The server applies partial action by querying the destination device only about data chunks that are likely to be needed or that have not been determined to be present. Instead of querying about every single chunk without selection, the server uses judgment to identify which chunks require verification, reducing the total number of queries and bandwidth consumption while still ensuring complete and accurate image copying

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If the server queries the destination device about each data chunk, then the server can prevent duplicates, but the process introduces significant latency

Engineering Contradiction:
Improveprevention of duplicate data chunksVSAvoidcopying speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The server segments the container image into smaller data chunks, which allows for more efficient handling and transmission. By dividing the image into manageable segments, the server can query and transmit chunks in parallel or in smaller batches, improving the overall copying speed while maintaining the ability to prevent duplicates through targeted queries about each segment

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20220206998A1Copying Container Images
Publication Date: 2022.06.30 RED HAT INC
  • US20220206998A1 patent drawing
  • US20220206998A1 patent drawing
  • US20220206998A1 patent drawing

AI summary

Container images can be copied. For example, a computing device can segment a container image into at least two data chunks. The computing device can determine a reference count for a data chunk among the at least two data chunks. The computing device can determine that the reference count for the data chunk is below a threshold value. In response to determining that the reference count for the data chunk is below the threshold value, the computing device can prevent a destination device from being queried about the data chunk prior to transmitting the data chunk to the destination device.