Distributed Database Leader Selection by Weighted Workload Delay

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods for assigning roles in distributed databases, such as user selection and heuristics based on local information, are inefficient and often lead to a large number of role assignment combinations, hindering optimal performance.

Innovation Solution

A system that includes an activity monitor to monitor client interactions and generate workload data, and a task assigning service to select a leader cluster based on lowest latency, followed by assigning other roles based on communication delays and frequencies, reducing the number of combinations and improving efficiency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If user selection or heuristics using only local information are used for role assignment, then the system allows user control or simplicity, but the assignment efficiency is low and the number of role assignment combinations is large

Engineering Contradiction:
Improverole assignment efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system performs preliminary actions by first selecting a leader node before assigning other roles. This preliminary leader selection reduces the search space for subsequent role assignments, thereby improving overall assignment efficiency while maintaining manageable system complexity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system uses feedback from monitoring service data and workload characteristics to dynamically adjust role assignments. By incorporating real-time performance feedback, the system optimizes role distribution without requiring complex manual configuration, resolving the contradiction between efficiency and complexity

Inventive Principle:
Principle #23Feedback

2Loss of time

If the number of role assignment combinations is reduced by selecting leader first, then the assignment process becomes more efficient, but the system requires a structured assignment methodology

Engineering Contradiction:
Improveassignment timeVSAvoidassignment process complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The role assignment process is segmented into distinct phases: first selecting the leader role, then assigning other roles based on the leader selection. This segmentation breaks down the complex assignment problem into manageable steps, reducing overall assignment time while maintaining clear process structure

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

By performing the leader selection as a preliminary action before other role assignments, the system establishes a foundation that simplifies subsequent assignments. This preliminary step reduces the combinatorial complexity of the overall assignment process, decreasing assignment time without overwhelming system complexity

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12386856B2Distributed database configuration
Publication Date: 2025.08.12 GOOGLE LLC
  • US12386856B2 patent drawing
  • US12386856B2 patent drawing
  • US12386856B2 patent drawing

AI summary

Replicas are selected in a large distributed network, and the roles for these replicas are identified. In one example, a leader is selected from among candidate computing clusters. To make this selection, an activity monitor predicts or monitors the workload of one or more clients. Different activities of the workload are given corresponding weights. The delay in performing requested activities, modified by these weights is found, and the candidate leader with the lowest weighted delay is selected as the leader.