Distributed Container Image Management via Pre-validation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing container image management systems for distributed clusters are inefficient, unreliable, and lack security, particularly when managing multiple worker nodes, leading to delays and misoperations due to the centralized management approach.

Innovation Solution

A distributed container image management system with a master node that utilizes a distributed database to store node information and employs a request input module and container image management module for secure and validated operations, including public key encryption, to manage worker nodes efficiently and securely, with features like batch processing and fault reporting.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the master node successively transmits operation commands to worker nodes according to worker node requests, then the centralized management structure is maintained, but there will be certain delay and possibility of misoperation

Engineering Contradiction:
Improveoperation reliabilityVSAvoidcommand transmission delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs preliminary actions by pre-validating request content and pre-checking container images before command transmission. The master node validates the request content including destination and operation type, checks if the worker node has the required container images, and prepares the command queue in advance, reducing delays during actual command execution.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where worker nodes report their container image status and execution results back to the master node. The master node receives feedback about which container images exist on each worker node and uses this information to optimize command transmission, avoiding unnecessary commands and reducing delays.

Inventive Principle:
Principle #23Feedback

2Reliability

If the master node validates request content and checks container images before transmission, then misoperations are prevented, but the management process becomes more complex

Engineering Contradiction:
Improveoperation accuracyVSAvoidmanagement module complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The validation and management process is segmented into distinct modules: request content validation module, container image checking module, and command generation module. Each module handles a specific aspect of the validation process, making the overall complex system manageable through functional decomposition and reducing errors.

Inventive Principle:
Principle #1Segmentation

3Ease of operation

If worker nodes frequently inquire the master node for container image operations, then image management is achieved, but storage resources are wasted due to excessive outdated container images

Engineering Contradiction:
Improvecontainer image managementVSAvoidstorage resource waste
Core Design Contradiction:
Ease of operationVSLoss of substance

Solution Approach 1:

The system performs preliminary checking of container images before transmission operations. The master node validates whether the required container images already exist on worker nodes before initiating pull or update operations, avoiding redundant downloads and preventing accumulation of outdated images.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements a pruning mechanism that identifies and removes outdated container images from worker nodes. The master node receives prune operations, determines which container images are obsolete based on validation results, and instructs worker nodes to discard these images, recovering storage resources while maintaining necessary images.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentUS11868944B2Container image management system for distributed clusters
Publication Date: 2024.01.09 NANJING UNIV OF POSTS & TELECOMM
  • US11868944B2 patent drawing
  • US11868944B2 patent drawing
  • US11868944B2 patent drawing

AI summary

A container image management system for distributed clusters, the system including at least one master node and at least one worker node. The at least one master node includes a container image database, a request input module and a container image management module. The container image management module is responsive when the container image management module establishes the connection to the container image database, then it is configured to perform a read/write operation on the container image database. The container image database is a distributed database configured to store node information of the at least one master node and the at least one worker node in the container image management system. The request input module is configured to receive request content including a request destination and command execution content. The command execution content includes an execution operation field and an executed container image list.