Cluster Time Synchronization via Master Node Inversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In computer clusters, stepping back a node's clock to synchronize time can lead to confusion, data incoherence, and system instability, particularly when multiple clocks need to be adjusted, affecting availability, reliability, and performance.

Innovation Solution

Replace the existing master node with a node that has a clock ahead of the current master node, provided it meets certain criteria, such as being within an acceptable range of the mean cluster time, to avoid stepping clocks backwards and ensure synchronization without disrupting the system.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a member clock is stepped backwards to synchronize with the master clock, then time synchronism is achieved, but system stability and data coherence deteriorate

Engineering Contradiction:
Improvetime synchronismVSAvoidsystem stability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

Instead of stepping the slave clock backwards to match the master clock, the patent inverts the approach by having the master clock step forwards to match the slave clock. This reversal of the adjustment direction eliminates the harmful effects of backwards clock adjustment while achieving the same time synchronization goal.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The patent changes the parameter being adjusted from the slave clock time to the master clock time. By modifying which clock is adjusted and in which direction, the system achieves synchronization without the negative consequences associated with stepping clocks backwards.

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If multiple member clocks are stepped back simultaneously, then time synchronism is achieved, but cluster availability and performance deteriorate

Engineering Contradiction:
Improvetime synchronismVSAvoidcluster availability
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent applies the inversion principle at the system level by having the master clock adjust forwards to meet the slave clocks, rather than having multiple slave clocks adjust backwards. This single adjustment action maintains cluster availability while achieving synchronization.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The master clock acts as an intermediary that absorbs the time adjustment burden. Instead of multiple slave clocks simultaneously adjusting backwards (which would impact availability), the master clock adjusts forwards to accommodate all slave clocks, maintaining system performance.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Reliability

If gradual clock adjustment is used, then system stability is maintained, but synchronization time increases

Engineering Contradiction:
Improvesystem stabilityVSAvoidsynchronization time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

By inverting the adjustment direction, the patent enables larger forward steps in the master clock without the stability issues associated with backward adjustments. This allows faster synchronization while maintaining system stability.

Inventive Principle:
Principle #13The other way round (Inversion)

Data Source

PatentUS7814360B2Synchronizing cluster time to a master node with a faster clock
Publication Date: 2010.10.12 ORACLE INT CORP
  • US7814360B2 patent drawing
  • US7814360B2 patent drawing
  • US7814360B2 patent drawing

AI summary

Synchronizing cluster time is described. Times of one or more nodes in the cluster to a master node of the cluster are synchronized. It is discovered that a node of a cluster has a clock time that is ahead of a master clock time of the master node. In response to discovering the node with the clock time ahead of the master clock time, the master node is replaced with the node ahead thereof in time, which thus becomes a new master node. The clock times of the cluster nodes are synchronized with the clock time of the new master node.