Layered Filesystem Shadow Container for Transparent Checkpoint Migration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current containerized environments lack effective mechanisms for transparent checkpoint file migration and resource allocation, particularly in tightly coupled distributed applications, which hinders failure mitigation and scalability in high-performance computing systems.

Innovation Solution

The implementation of a layered filesystem that initializes a shadow container with captured checkpoints from the main container, leveraging existing filesystem replication to ensure transparent failure mitigation and resource allocation, without modifying existing container applications.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If checkpoint files are migrated in traditional containerized environments, then failure mitigation capability is improved, but system complexity and resource overhead increase significantly

Engineering Contradiction:
Improvefailure mitigation capabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a shadow container as a copy of the main container, replicating its filesystem structure and state. This copy mechanism enables failure mitigation by providing a pre-prepared backup that can be activated immediately upon detecting main container failure, eliminating complex migration procedures while maintaining reliability

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The shadow container is initialized and prepared in advance with the same filesystem structure and placeholder files before any failure occurs. This preliminary action ensures that when failure mitigation is needed, the system can simply activate the pre-prepared shadow container rather than performing complex real-time migration operations

Inventive Principle:
Principle #10Preliminary action

2Reliability

If shadow container is initialized with all filesystem files, then failure mitigation is improved, but storage resource consumption increases

Engineering Contradiction:
Improvefailure mitigationVSAvoidstorage resource consumption
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

Instead of uniformly copying all filesystem content, the patent applies different quality levels to different parts of the filesystem. Critical files and directories needed for application startup are replicated in the shadow container, while less critical data can be regenerated or retrieved on-demand, optimizing storage usage while maintaining failure mitigation capability

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The shadow container's filesystem structure serves multiple purposes: it acts as a backup for failure recovery, provides a template for rapid container initialization, and enables efficient incremental synchronization with the main container. This multi-functionality justifies the storage investment by providing multiple benefits from a single data structure

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If layered filesystem is implemented to maintain checkpoint information, then fault tolerance is improved, but filesystem complexity and operation overhead increase

Engineering Contradiction:
Improvefault toleranceVSAvoidfilesystem operation overhead
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent divides the filesystem into distinct layers: the base layer containing the container image, the shadow layer containing the shadow container's filesystem, and the runtime layer containing application-generated data. This segmentation isolates checkpoint information in the shadow layer, enabling independent management and reduction of operational complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a filesystem manager as an intermediary component that handles all filesystem operations between the application and the layered structure. This mediator abstracts the complexity of layered filesystem operations from the application, providing simple interfaces while managing the underlying layer interactions, thus improving ease of operation

Inventive Principle:
Principle #24Intermediary (Mediator)

4Ease of operation

If checkpoint migration is performed transparently, then ease of operation is improved, but processing time and performance overhead increase

Engineering Contradiction:
Improvetransparent operationVSAvoidprocessing time
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The shadow container is prepared in advance with the filesystem structure and necessary files before any failure occurs. This preliminary action ensures that when failure mitigation is needed, the system can activate the pre-prepared shadow container immediately without performing time-consuming migration operations, thus reducing processing time while maintaining transparent operation

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses efficient copying mechanisms to replicate the main container's filesystem state to the shadow container. By utilizing optimized copy operations and incremental synchronization, the system minimizes the time overhead of maintaining the shadow copy while providing transparent failure mitigation

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10216587B2Scalable fault tolerant support in a containerized environment
Publication Date: 2019.02.26 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US10216587B2 patent drawing
  • US10216587B2 patent drawing
  • US10216587B2 patent drawing

AI summary

Embodiments for providing failure tolerance to containerized applications by one or more processors. A layered filesystem is initialized to maintain checkpoint information of stateful processes in separate and exclusive layers on individual containers. A most recent checkpoint layer is transferred from a main container exclusively to an additional node to maintain an additional, shadow container.