Virtual Warehouse State Resolver for Dynamic Resource Allocation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing data systems face challenges in dynamically managing computing resources assigned to operations, leading to inefficiencies and prolonged execution times for large data operations due to fixed and static assignments that do not adapt to changing demands.
Innovation Solution
Implementing a resolver in each warehouse scheduling service thread to manage the state of virtual warehouses, generating action plans to converge the current state to a target state, allowing dynamic allocation and deallocation of servers to meet fluctuating data processing needs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If computing resources are assigned to execute operations in a fixed and static manner, then resource allocation is simple to manage, but the system cannot adapt to changing demand and execution time increases
Solution Approach 1:
The patent implements dynamic computing resource assignment where the computing resource manager continuously monitors operation status and demand changes, automatically reassigning computing resources from completed operations to pending operations. This transforms the static resource allocation model into a dynamic one that adapts to changing conditions, resolving the contradiction between adaptability and management complexity through automated dynamic adjustment mechanisms.
2Speed
If more computing resources are allocated to operations, then execution speed increases, but resource utilization efficiency decreases when operations complete
Solution Approach 1:
The patent implements a resource recovery mechanism where computing resources are automatically reclaimed from completed operations and immediately reallocated to pending operations. The computing resource manager monitors operation completion status and triggers reallocation processes, ensuring that computing resources are continuously utilized rather than idle. This resolves the contradiction by recovering resources after use and redistributing them to maintain high execution speed while improving overall utilization efficiency.
3Ease of operation
If computing resources remain assigned to completed operations, then resource assignment is stable, but system responsiveness to new operations deteriorates
Solution Approach 1:
The patent implements a feedback mechanism where the computing resource manager continuously monitors the status of computing resources and operation queues. When operations complete or demand changes, the system receives feedback signals and automatically triggers reallocation processes. This feedback loop maintains system responsiveness to changing conditions while providing stability through automated, rule-based resource management, resolving the contradiction between responsiveness and assignment stability.
Data Source
AI summary
Techniques for managing states of virtual warehouses in a multi-tenant network-based data system are described. A “resolver” may be provided in each warehouse scheduling service thread. The resolver may maintain a current state of the virtual warehouse and may generate a target state of the virtual warehouse based on an operation request, such as a resume operation, a suspend operation, resize operation, etc. The resolver may generate an action plan to converge the current state to the target state.


