Container Checkpoint Caching for Faster Service Initialization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Container orchestration platforms like Kubernetes and Docker Swarm face prolonged initialization delays in Distributed Control System (DCS) Software Services, leading to subpar user experience and delayed interactions due to long initialization phases, especially when loading data or establishing network connections.

Innovation Solution

A method involving monitoring container initialization times and request frequencies, checkpointing frequently used or long-startup containers, and caching their states in a container checkpoint cache for rapid restoration upon client requests, using mechanisms like CRIU (Checkpoint/Restore In Userspace).

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If containers are initialized normally without checkpointing, then the system maintains simplicity and low overhead, but users experience long initialization delays (>10 seconds to minutes) and subpar responsiveness

Engineering Contradiction:
Improvecontainer initialization timeVSAvoidcontainer orchestration complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The system performs preliminary checkpointing of container states during initialization phases. When a container is first initialized, its state is captured and stored in a checkpoint cache before the container becomes fully operational. This preliminary action allows subsequent container creations to restore from the pre-captured checkpoint state rather than undergoing the full initialization process again, thereby reducing initialization time from >10 seconds to minutes down to 1-10 seconds.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If checkpointing is implemented for all containers, then initialization speed improves significantly, but system resource consumption and complexity increase

Engineering Contradiction:
Improveservice initialization speedVSAvoidcomputing resource consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system applies checkpointing selectively rather than universally. It monitors container initialization times and identifies specific containers that experience prolonged initialization phases (>10 seconds). Only these problematic containers are subjected to checkpointing and caching operations. This localized approach ensures that productivity improvements are achieved for the containers that need them most, while avoiding unnecessary resource consumption for containers that initialize quickly anyway.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The system dynamically adjusts checkpointing parameters based on monitored container behavior. By tracking initialization times and request frequencies, the system modifies which containers receive checkpointing treatment and when checkpoints are created. This parameter-based differentiation allows the system to optimize the balance between productivity improvement and resource consumption, applying checkpointing only when it provides measurable benefit.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If container states are cached for rapid restoration, then user experience and responsiveness improve, but storage requirements and system complexity increase

Engineering Contradiction:
Improveuser interaction responsivenessVSAvoidstorage space for checkpoints
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The system creates simplified copies of container states rather than maintaining full replicas. Checkpoints capture the essential state information needed for rapid restoration, storing it in a cache accessible to the orchestration platform. When a container needs to be restored, the system loads this compact checkpoint copy and applies it to create a new container instance, enabling fast restoration without requiring extensive storage resources.

Inventive Principle:
Principle #26Copying

Data Source

PatentEP4607351A1Handing of containerized environments
Publication Date: 2025.08.27 ABB (SCHWEIZ) AG
  • EP4607351A1 patent drawingFigure 1(a)~1(b)
  • EP4607351A1 patent drawing

AI summary

The disclosure concerns a computer-implemented method of handing a containerized environment in connection with services requested by clients, comprising the following steps: (a) monitoring the time taken for initialization of containers and/or the number of requests containers receive from the client for the service, (b) determining, based on the monitoring, selected containers amongst the containers, (c) checkpointing the selected containers and storing a checkpoint per selected container in a container checkpoint cache, (d) upon request of the client for the service, reading a corresponding checkpoint in the container checkpoint cache and restoring the corresponding selected container from the stored checkpoint, to serve the request.