Dynamic Sleep Period Control for Multi-Tenant Shared Resources

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In multi-tenant systems, shared resources like databases can be misused by users, leading to performance degradation for others and potential system failures due to overload, as conventional methods fail to dynamically manage resource allocation efficiently.

Innovation Solution

Implement a method that determines the health status of a shared resource by applying transforms to idle time and session counts, and adjusts a sleep period for the resource to prevent overload, ensuring sufficient resource availability for all users.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If a shared database is made available to all users in a multi-tenant system, then resource utilization and system efficiency are improved, but individual users may misuse the resource causing performance degradation for other users

Engineering Contradiction:
Improveresource utilizationVSAvoidsystem performance
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The patent implements a feedback mechanism that continuously monitors database health status and user request patterns. The system detects when a user's requests are causing performance degradation and responds by adjusting the sleep period dynamically. This closed-loop feedback system allows the shared database to maintain high utilization while automatically preventing any single user from degrading system performance for others.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent changes the parameter of sleep period from a static fixed value to a dynamic variable that adjusts based on database health status and user behavior. By transforming the sleep period parameter into something that can be modified in real-time based on system conditions, the system achieves both high resource utilization and maintained performance reliability across all users.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If the sleep period for a shared database is set to a fixed value, then system simplicity is maintained, but it cannot adapt to changing load conditions causing either resource underutilization or overload

Engineering Contradiction:
Improveresource management complexityVSAvoidload adaptation capability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent transforms the static sleep period into a dynamic parameter that automatically adjusts to changing system conditions. The sleep period becomes a living variable that responds to database health status and user request patterns, enabling the system to adapt to varying load conditions without requiring complex manual configuration or management intervention.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system implements self-service by automatically monitoring its own health status and adjusting the sleep period without external intervention. The database management system serves itself by detecting performance issues and autonomously modifying resource allocation parameters, eliminating the need for complex external resource management while maintaining high adaptability to load changes.

Inventive Principle:
Principle #25Self-service

3Reliability

If resource allocation is increased to ensure sufficient capacity for all users, then system reliability is improved, but resource waste occurs when demand is low

Engineering Contradiction:
Improveresource availabilityVSAvoidresource waste
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The patent applies dynamics to resource allocation by making the sleep period variable rather than fixed. The system allocates more resources (shorter sleep period) when demand is high and fewer resources (longer sleep period) when demand is low, automatically matching resource availability to actual user needs. This dynamic allocation ensures reliability when needed while eliminating resource waste during low-demand periods.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS11513853B2Shared resources control in a multi-tenant system
Publication Date: 2022.11.29 NETSUITE INC
  • US11513853B2 patent drawing
  • US11513853B2 patent drawing
  • US11513853B2 patent drawing

AI summary

Methods, systems, and other embodiments for protecting a shared resource in a data processing system are described herein. In one embodiment, when responding to a request that requires use of the shared resource, determine whether a previously established sleep period for the shared resource has expired. If so, determine a health status of the shared resource based on one or more of applying an asymptotic transform to a percentage of time that a processing unit is idle and applying a linear transform to a session count for the shared resource. Then, determine whether the health status is sufficient to permit responding to the request; and if not, (i) determining an appropriate sleep period for the shared resource, (ii) initiating a sleep state for the shared resource for a period substantially equal to the determined appropriate sleep period; and (iii) exiting the sleep state and responding to the request.