Matrix Clock Failure Recovery in Scaleout Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Distributed scaleout systems face challenges in failure recovery due to the difficulty in synchronizing physical clocks, which is expensive and inherently inaccurate, making it hard to determine the order of events and maintain chronological and causal relationships across nodes.

Innovation Solution

Implementing a logical or matrix clock system, where each node is associated with a matrix clock that combines multiple vector clocks, allowing nodes to communicate their understanding of the global state of time and enabling event ordering and failure recovery operations through snapshots and logging.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If physical clocks are used to synchronize time across nodes, then time synchronization is achieved, but the system becomes expensive and inherently inaccurate

Engineering Contradiction:
Improvetime synchronization accuracyVSAvoidsystem cost and complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent replaces physical clock synchronization mechanisms with a logical event ordering system. Instead of relying on hardware clocks and time synchronization protocols, the system uses logical events and their causal relationships to determine temporal order, thereby eliminating the need for expensive and inaccurate physical clock synchronization while maintaining the ability to establish chronological sequences across distributed nodes

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent introduces an intermediary mechanism - the event logging and recovery line determination system - that mediates between distributed nodes to establish temporal relationships. Rather than nodes directly synchronizing their physical clocks, they exchange event information and use the recovery line algorithm to indirectly determine the order of events, achieving time ordering without direct clock synchronization

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of information

If physical clocks are synchronized to determine event order, then chronological relationships are maintained, but the synchronization process is expensive and inaccurate

Engineering Contradiction:
Improveevent ordering accuracyVSAvoidsynchronization cost
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent substitutes physical clock-based event ordering with a logical event recording and analysis system. Events are logged with their causal relationships, and the recovery line determination algorithm processes these logs to establish the correct temporal order, eliminating reliance on expensive and inaccurate physical clock synchronization while preserving event ordering accuracy

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Reliability

If failure recovery is performed without accurate event ordering, then system availability is improved, but causal relationships and event sequencing are lost

Engineering Contradiction:
Improvesystem availabilityVSAvoidchronological and causal relationships
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

The patent performs preliminary actions by maintaining detailed event logs and causal relationship records during normal system operation. These pre-captured event sequences and dependency information are stored and made available for later use during failure recovery, enabling the system to quickly restore accurate chronological and causal relationships without requiring complex real-time analysis during the recovery process itself

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements a feedback mechanism where the determined recovery line information feeds back into the system state restoration process. The event ordering and causal relationship data derived from the recovery line determination are used to guide the recovery process, ensuring that nodes are restored in the correct temporal sequence and that causal relationships are preserved, thereby maintaining both availability and information integrity

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11704201B2Failure recovery in a scaleout system using a matrix clock
Publication Date: 2023.07.18 DELL PROD LP
  • US11704201B2 patent drawing
  • US11704201B2 patent drawing
  • US11704201B2 patent drawing

AI summary

One example method includes performing failure recovery operations in a computing system using matrix clocks. Each node or process in a computing system is associated with a matrix clock. As events and transitions occur in the computing systems, the matrix clocks are updated. The matrix clocks provide a chronological and casual view of the computing system and allow a recovery line to be determined in the event of system failure.