Microservice Storage Allocation via Phase-Aware Orchestration

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current storage allocation methods for microservices do not effectively account for the varying phases of a microservice container's lifecycle, leading to inefficient storage usage and garbage collection, as they fail to differentiate between distinct phases of storage behavior such as initialization and operation.

Innovation Solution

A method and system that identify and categorize the phases of a microservice container's lifecycle, predicting its storage behavior and providing this categorization to the storage system for optimized storage allocation and garbage collection, using a microservice orchestrator to analyze input/output operations and adjust storage profiles accordingly.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If storage allocation is performed using traditional methods without phase awareness, then the storage system operates with simple allocation logic, but storage efficiency deteriorates due to inability to differentiate between initialization and operational phases

Engineering Contradiction:
Improvestorage efficiencyVSAvoidstorage allocation logic complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The storage allocation system dynamically adapts its behavior based on the identified phase of the microservice container. During initialization phase, the system applies one allocation strategy, while during operational phase, it switches to a different strategy. This dynamic adaptation resolves the contradiction by allowing the system to optimize for storage efficiency in each phase without requiring permanently complex logic throughout the entire lifecycle.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes storage allocation parameters based on the container's lifecycle phase. By detecting phase transitions and adjusting allocation parameters accordingly, the system improves storage efficiency without maintaining permanently complex allocation logic. The parameter changes are triggered only when phase transitions occur, keeping the baseline logic simple.

Inventive Principle:
Principle #35Parameter changes

2Productivity

If storage allocation differentiates between phases of microservice container lifecycle, then storage efficiency improves through phase-specific optimization, but system complexity increases due to phase identification and categorization requirements

Engineering Contradiction:
Improvestorage allocation efficiencyVSAvoidphase identification system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The microservice container lifecycle is segmented into distinct phases (initialization and operational phases). By dividing the lifecycle into separable phases, the system can apply different storage allocation strategies to each phase independently. This segmentation improves storage allocation efficiency while keeping the phase identification system manageable, as each phase has clearly defined characteristics.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Different storage allocation qualities are applied to different phases of the container lifecycle. The initialization phase receives one type of storage treatment, while the operational phase receives another. This local quality approach improves overall storage efficiency by optimizing for each phase's specific needs without requiring the entire system to adopt complex phase-aware logic.

Inventive Principle:
Principle #3Local quality

3Productivity

If traditional storage allocation is used without phase awareness, then system operation is simpler, but garbage collection effectiveness deteriorates due to inability to predict storage behavior

Engineering Contradiction:
Improvegarbage collection effectivenessVSAvoidstorage behavior prediction complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary categorization of storage behavior based on the identified phase before actual storage operations occur. By predicting storage behavior in advance based on phase information, the system improves garbage collection effectiveness. The preliminary action of phase-based prediction allows the storage system to prepare appropriate allocation strategies without requiring complex real-time analysis.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11561706B2Storage allocation enhancement of microservices based on phases of a microservice run
Publication Date: 2023.01.24 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11561706B2 patent drawing
  • US11561706B2 patent drawing
  • US11561706B2 patent drawing

AI summary

Method and system are provided for storage allocation enhancement of microservices. A method carried out at a microservice orchestrator, includes: identifying distinct phases of a run of a microservice container; categorizing the phases of a run of a microservice container, wherein the categorization defines a predicted storage behavior of the microservice container input/output operations in the phase of the microservice container; and providing the categorization in association with the microservice container input/output operations in the phase to a storage system for use in storage allocation of the input/output operations.