Partition Work Manager Thread Allocation in Multitenant Servers
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In multitenant application server environments, existing technologies lack effective mechanisms to manage and prioritize thread resources across partitions, leading to potential thread starvation and unfair resource allocation, which can impact the quality of service and performance.
Innovation Solution
A system and method for configuring a partition work manager that provides partition work request prioritization (fair share value), minimum threads constraint, capacity constraint, and maximum threads constraint to regulate thread usage, ensuring fair and efficient resource allocation among partitions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If no partition work manager is implemented, then the system structure remains simple, but thread resource allocation becomes unfair and thread starvation occurs
Solution Approach 1:
The system segments thread resource management by introducing partition work managers at multiple levels (domain-level and partition-level). Each work manager independently manages thread allocation for its associated partition, enabling fine-grained control over thread distribution while maintaining overall system fairness through hierarchical segmentation.
2Reliability
If partition work manager with constraints is implemented, then thread resource allocation fairness is improved, but system configuration complexity increases
Solution Approach 1:
The system applies local quality by allowing different partitions to have customized thread management configurations. Each partition can define its own minimum threads constraint, capacity constraint, and maximum threads constraint based on its specific service requirements, enabling tailored resource allocation while maintaining overall system fairness.
3Reliability
If fair share value prioritization is implemented, then service quality is improved, but resource allocation complexity increases
Solution Approach 1:
The system uses parameter changes by introducing a fair share value parameter that quantifies the priority level of each partition. The work manager adjusts thread allocation based on this parameter, dynamically changing resource distribution according to the priority weights assigned to different partitions, thereby improving service quality through configurable priority-based allocation.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
In accordance with an embodiment, described herein is a system and method for providing a work manager for use in an application server environment. In accordance with an embodiment, a system administrator can configure a partition work manager to provide partition work request prioritization (fair share value) to each partition within a multitenant application server environment. The system administrator can additionally configure the partition work manager to impose a minimum threads constraint limit, a partition capacity constraint, and/or a partition maximum threads constraint, all of which restrict the use of thread resources by the partitions within the environment.