Distributed Query Workload Feedback for Real-Time Resource Correction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional estimate-driven workload managers in distributed Big Data Analytics services face inaccuracies in resource estimation, leading to subpar performance, increased operational costs, and reduced concurrency due to underestimation or overestimation, and are prone to anomalies from noisy neighbors and infrastructure issues, with the slowest node acting as a bottleneck.

Innovation Solution

A system that leverages live execution feedback from nodes to detect resourcing issues and anomalies, enabling real-time corrective measures by adjusting resource allocations during query execution using a distributed query processor (DQP) and query optimizer (QO).

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If estimate-driven workload managers use available statistics to produce query estimates, then resource allocation can be planned in advance, but the estimates are inaccurate leading to subpar performance or increased operational cost

Engineering Contradiction:
Improvequery execution timeVSAvoidresource estimation accuracy
Core Design Contradiction:
Loss of timeVSMeasurement precision

Solution Approach 1:

The system implements feedback by monitoring actual resource consumption during query execution and using this information to adjust resource allocation dynamically. The workload manager receives feedback from nodes about actual resource usage and task execution status, then adjusts subsequent resource allocations based on this real-world data rather than relying solely on initial estimates.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system transitions from static estimate-driven resource allocation to dynamic resource management. Resource allocations are adjusted in real-time based on actual execution feedback, allowing the system to adapt to varying workload characteristics and node performance conditions during query execution.

Inventive Principle:
Principle #15Dynamics

2Device complexity

If the system allocates resources based on estimates, then resource planning is simplified, but underestimation leads to bad performance and overestimation leads to increased operational cost

Engineering Contradiction:
Improveresource management complexityVSAvoidquery processing efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The workload manager implements continuous feedback loops where actual resource consumption data from executing tasks is collected and used to adjust resource allocations for subsequent tasks. This feedback mechanism allows the system to optimize resource usage without requiring complex manual intervention, automatically adapting to actual workload demands.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system enables self-service resource management where the workload manager autonomously adjusts resource allocations based on observed execution patterns and feedback from nodes. The system learns from actual resource consumption and automatically optimizes allocations without requiring external intervention or complex manual planning.

Inventive Principle:
Principle #25Self-service

3Ease of operation

If nodes are assigned tasks based on initial estimates, then task scheduling is straightforward, but nodes may go bad due to noisy neighbor issues or infra problems causing anomalies

Engineering Contradiction:
Improvetask scheduling easeVSAvoidnode execution reliability
Core Design Contradiction:
Ease of operationVSReliability

Solution Approach 1:

The system implements monitoring and feedback mechanisms where nodes report their actual execution status and resource consumption back to the workload manager. This feedback allows the system to detect node anomalies such as noisy neighbor issues or infrastructure problems and adjust task scheduling accordingly, moving tasks from problematic nodes to healthier nodes.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system prepares for potential node failures by implementing redundancy and flexibility in task scheduling. When a node shows signs of deterioration or anomaly, the system can redistribute tasks to other nodes before complete failure occurs, cushioning against the impact of node reliability issues.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

4Quantity of substance

If the system caps capacity growth to manage resources, then operational cost is controlled, but reduced concurrency occurs when estimates are inaccurate

Engineering Contradiction:
Improveresource capacityVSAvoidquery concurrency
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The system implements dynamic resource allocation that adjusts capacity utilization based on actual workload demands and execution feedback. Rather than using fixed capacity caps based on estimates, the system dynamically scales resource usage up or down based on real-time observations, allowing higher concurrency when resources are sufficient and reducing it when resources are constrained.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system changes resource allocation parameters dynamically based on execution feedback. Resource allocation ratios, parallelism degrees, and capacity utilization thresholds are adjusted as parameters based on observed performance and resource consumption patterns, allowing the system to optimize concurrency within available capacity constraints.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20260037514A1Dynamic workload management optimizations using real-time execution feedback
Publication Date: 2026.02.05 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20260037514A1 patent drawing
  • US20260037514A1 patent drawing
  • US20260037514A1 patent drawing

AI summary

Systems and methods are provided that introduce an approach for executing a multi-query workload that leverages live execution feedback from nodes to detect resourcing issues and anomalies, and deploy real-time corrective measures for the multi-query workload. Leveraging live execution feedback from the nodes as the queries are executing make it possible to detect various resourcing issues and anomalies, and enable the system to perform corrective actions “live” or in “real-time” during an execution of a query, and more specifically during execution of the tasks within a query.