Pulsed Leader Consensus Management for Distributed Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed systems face challenges in ensuring data accuracy without sacrificing speed, as consensus algorithms like Paxos are computationally expensive and create additional network traffic with frequent data value arbitration.

Innovation Solution

Implementing a pulsed leader consensus management system where a leader node is elected to perform leader-only reads, with nodes only in sync if the leader node is active and all write requests are routed to it, falling back to consensus-based schemes if the sync state is expired.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If consensus algorithms like Paxos are used to ensure data accuracy, then data accuracy is improved, but computational overhead and network traffic increase

Engineering Contradiction:
Improvedata accuracyVSAvoidcomputational overhead
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The system dynamically switches between two operational modes: leader-only read mode for normal operations and consensus-based mode for conflict resolution. This dynamic adaptation allows the system to maintain high performance during routine operations while ensuring data accuracy only when necessary, thereby reducing overall computational overhead.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system performs consensus arbitration periodically or event-driven (only when data conflicts are detected) rather than continuously for every data operation. This periodic action reduces network traffic and computational overhead by eliminating unnecessary consensus rounds while maintaining data accuracy when conflicts arise.

Inventive Principle:
Principle #19Periodic action

2Measurement precision

If consensus algorithms are used to ensure data accuracy, then data accuracy is improved, but system speed decreases

Engineering Contradiction:
Improvedata accuracyVSAvoidsystem speed
Core Design Contradiction:
Measurement precisionVSSpeed

Solution Approach 1:

The system dynamically adapts its operational mode based on system state. During normal operations with no conflicts, it operates in fast leader-only read mode. When data conflicts are detected, it transitions to consensus mode to resolve conflicts, then returns to fast mode. This dynamic behavior maintains system speed while ensuring accuracy only when needed.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

Consensus arbitration is performed periodically or event-driven rather than continuously. The system monitors for data conflicts and only initiates consensus rounds when necessary, allowing the system to maintain high speed during normal operations while periodically ensuring data accuracy through conflict detection and resolution.

Inventive Principle:
Principle #19Periodic action

3Measurement precision

If frequent consensus arbitration is performed, then data accuracy is improved, but network traffic increases

Engineering Contradiction:
Improvedata accuracyVSAvoidnetwork traffic
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The system performs consensus arbitration on a periodic or event-driven basis rather than for every data operation. It monitors system state and only initiates consensus rounds when data conflicts are detected, significantly reducing network traffic while maintaining data accuracy through targeted arbitration only when necessary.

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

The system extracts and isolates the consensus arbitration mechanism to only the specific moments when data conflicts occur, rather than embedding it in every data operation. This extraction allows the system to maintain high data accuracy while minimizing network traffic by eliminating unnecessary consensus communications during normal operations.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10642507B2Pulsed leader consensus management
Publication Date: 2020.05.05 NUTANIX INC
  • US10642507B2 patent drawing
  • US10642507B2 patent drawing
  • US10642507B2 patent drawing

AI summary

A system using pulsed leader consensus management that can manage storage by electing a leader node from a group of nodes and fulfilling read requests for the group of nodes if a sync state is not expired. The sync state can correspond to two conditions: first, that the nodes in the group direct the write requests for the group to the leader node; second, that a health pulse is detected, wherein the health pulse is generated if the leader node is alive (e.g. has not failed, terminated, or become non-responsive). If either of the two conditions fail, the sync state can be considered expired and the group of nodes may fall back to consensus-based read mechanisms, such as Paxos, until a new leader node is elected.