Dynamic Application Migration for Database Node Load Balancing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In large-scale application systems running on database cluster systems with shared-everything architecture, application partitioning based on modules can lead to database node overload, causing performance degradation due to uneven load distribution and inability to dynamically adjust application programs between nodes.

Innovation Solution

An application program management method that dynamically adjusts the database node on which an application program runs by determining a target node based on historical database objects accessed, migrating the application program to reduce load on overloaded nodes and optimize communication performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of energy

If application partitioning is performed based on application module, then data communication between database clusters is reduced, but database node overload occurs causing performance degradation

Engineering Contradiction:
Improvedata communication trafficVSAvoiddatabase node load balance
Core Design Contradiction:
Loss of energyVSReliability

Solution Approach 1:

The patent implements dynamic application program migration between database nodes based on real-time load conditions. The system monitors database node status and automatically migrates application programs from overloaded nodes to nodes with available capacity, making the system adaptable to changing load conditions rather than using static module-based partitioning

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent segments application programs at the individual program level rather than at the application module level. This finer granularity allows selective migration of specific application programs between database nodes, enabling more precise load balancing while maintaining the benefits of reduced data communication

Inventive Principle:
Principle #1Segmentation

2Loss of energy

If application programs are fixed on specific database nodes, then data communication between clusters is minimized, but the system cannot adapt to load changes

Engineering Contradiction:
Improveinter-cluster data communicationVSAvoiddynamic adjustment capability
Core Design Contradiction:
Loss of energyVSAdaptability or versatility

Solution Approach 1:

The system establishes dynamic mapping relationships between application programs and database nodes that can be adjusted in real-time. When load conditions change, the system can remap application programs to different database nodes while maintaining the optimization of data communication by keeping applications accessing the same data on the same node

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system implements feedback mechanisms that monitor database node load status and use this information to dynamically adjust application program placement. The feedback loop enables the system to respond to changing conditions and maintain optimal performance by adapting the application-node mapping based on observed load patterns

Inventive Principle:
Principle #23Feedback

3Device complexity

If more application programs are run on fewer database nodes, then system complexity is reduced, but node overload causes performance degradation

Engineering Contradiction:
Improvesystem configuration complexityVSAvoidsystem performance
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The system implements automatic load balancing through self-service mechanisms that monitor database node status and perform application program migration without manual intervention. The system autonomously detects overloaded nodes and redistributes application programs to maintain optimal performance, eliminating the need for complex manual configuration while preserving system performance

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS11507427B2Application program management method and apparatus
Publication Date: 2022.11.22 HUAWEI TECH CO LTD
  • US11507427B2 patent drawing
  • US11507427B2 patent drawing
  • US11507427B2 patent drawing

AI summary

This application provides an application program management method and apparatus. The method is performed in a database cluster system including at least two database nodes, at least one database object is stored in each database node, and the method includes: running an application program on a first database node in a first time period; determining a target database node based on at least one historical database object accessed by the application program in the first time period, where the target database node stores the historical database object; and running the application program on the target database node in a second time period. According to this application, a database node on which an application program runs can be dynamically adjusted, to avoid overload of the database node.