Task Failover in Reclaimable Cloud Nodes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In cloud computing environments, spot instances often lead to unstable nodes that can be reclaimed at any time, resulting in wasted calculation resources and delayed responses due to the need to reassign tasks and recompute results.

Innovation Solution

A method for task failover in unstable environments with reclaimable nodes involves monitoring node reclamations, determining if tasks are recoverable, storing recoverable task data, and notifying associated tasks to wait when a node is reclaimed, allowing for seamless continuation of tasks on stable nodes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If spot instances are used to reduce costs, then calculation resource utilization improves, but system stability deteriorates due to node reclamation

Engineering Contradiction:
Improvecalculation resource utilizationVSAvoidsystem stability
Core Design Contradiction:
Loss of energyVSReliability

Solution Approach 1:

The system performs preliminary actions by monitoring node reclamation signals and proactively preparing task migration before the node is actually reclaimed. The method detects reclamation signals, identifies recoverable tasks, and initiates migration processes in advance, allowing the system to maintain stability despite spot instance reclamation events.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system introduces an intermediary mechanism - a message queue or notification system - that mediates between the reclaimed node and the task scheduling system. When a node is reclaimed, the system sends notifications through this intermediary to coordinate task migration and data synchronization, enabling smooth transitions without direct disruption to running tasks.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If tasks are migrated upon node reclamation, then system reliability improves, but calculation efficiency deteriorates due to task interruption and data transfer overhead

Engineering Contradiction:
Improvetask completion reliabilityVSAvoidcalculation efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system applies partial action by selectively migrating only recoverable tasks that can be resumed from checkpoint data, rather than migrating all tasks. The method determines whether a task is recoverable based on the presence of checkpoint data, performing migration only when necessary and beneficial, thus minimizing unnecessary task interruptions and data transfers.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system changes the state parameter of tasks by storing checkpoint data that marks the completion status of task stages. When a node is reclaimed, the system checks these parameter changes to determine if and how to resume tasks, allowing efficient recovery without full task re-execution and maintaining calculation progress.

Inventive Principle:
Principle #35Parameter changes

3Loss of information

If all tasks are migrated upon node reclamation, then task recovery improves, but resource waste increases due to unnecessary data transfer and computation

Engineering Contradiction:
Improvetask data recoveryVSAvoidcalculation resource waste
Core Design Contradiction:
Loss of informationVSLoss of substance

Solution Approach 1:

The system performs partial migration by assessing each task's recoverability individually based on checkpoint data availability. Only tasks with recoverable checkpoint data are migrated, while tasks without checkpoints or already completed tasks are left on the reclaimed node or terminated without migration, avoiding unnecessary data transfer and computation overhead.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system enables tasks to essentially self-determine their migration needs by checking their own checkpoint data status. The task recovery mechanism automatically identifies which tasks can be recovered and which cannot, performing selective migration without requiring external intervention for each task, thus optimizing resource utilization.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS12265455B2Task failover
Publication Date: 2025.04.01 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12265455B2 patent drawing
  • US12265455B2 patent drawing
  • US12265455B2 patent drawing

AI summary

The present invention relates to a method, system and computer program product for task failover in an unstable environment, wherein the unstable environment includes a plurality of reclaimable nodes. According to the method, it is monitored if any node of the plurality of reclaimable nodes is to be reclaimed. Whether a task on any node of the plurality of reclaimable nodes is recoverable is determined. Responsive to the task being recoverable, data of the recoverable task is stored. Responsive to a node being reclaimed and the task on the reclaimed node being recoverable, at least one associated task of at least one associated node of the reclaimed node is notified to wait.