Messaging Queue Failover for Container Task Coordination

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current systems face challenges in efficiently managing and coordinating the execution of distributed task routines across multiple container environments, particularly in dynamically allocating resources and handling failures or changes in resource availability, which can lead to uncoordinated cessation of task execution and resource misallocation.

Innovation Solution

A messaging queue system is implemented to coordinate the execution of task routines across dynamically allocated containers, using message queues to preserve the state of task executions and enable rerouting of tasks in case of failures or resource changes, ensuring that job flows can complete successfully despite container uninstantiation or other disruptions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If container environments are dynamically allocated and reassigned for resource efficiency, then resource utilization improves, but task execution reliability deteriorates due to uncoordinated cessation

Engineering Contradiction:
Improveresource utilizationVSAvoidtask execution reliability
Core Design Contradiction:
Quantity of substanceVSReliability

Solution Approach 1:

A message queue system is introduced as an intermediary between container orchestration and task execution. The message queue preserves task state information and coordinates container allocation, ensuring that task state is maintained across container transitions and failures, thus resolving the reliability issue while maintaining dynamic resource allocation

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

Task state information is recorded and preserved in advance in the message queue before container allocation or failure occurs. This preliminary action ensures that when containers are dynamically reassigned or fail, the system can restore task execution from the preserved state rather than losing progress

Inventive Principle:
Principle #10Preliminary action

2Reliability

If message queues are implemented to preserve task state and enable rerouting, then task execution reliability improves, but system complexity increases

Engineering Contradiction:
Improvetask execution reliabilityVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The message queue system serves multiple functions simultaneously: it preserves task state, coordinates container allocation, enables failure recovery, and manages task rerouting. This multi-functionality reduces the need for separate specialized components, thereby limiting the increase in system complexity while achieving reliable task execution

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

Data Source

PatentUS11513850B2Coordinated performance controller failover in many task computing
Publication Date: 2022.11.29 SAS INSTITUTE INC
  • US11513850B2 patent drawing
  • US11513850B2 patent drawing
  • US11513850B2 patent drawing

AI summary

An apparatus includes a processor to: within a first container, and prior to its uninstantiation, execute a first instance of a routine to cause the processor to monitor for and detect a job performance request in a job queue; and within a second container, execute a second instance of the routine to cause the processor to search the job queue for a job performance request, and in response to a combination of the uninstantiation of the first container, the storage of the job performance request in the job queue and there being no indication of completion of the job flow in the job queue, perform a combination of store an indication of the job flow performance commencing in the job queue, derive an order of performance of the set of tasks of the job flow and store a first task execution request in a task queue.