Synchronization (of clocks) between two remote computers

前端 未结 9 1212
隐瞒了意图╮
隐瞒了意图╮ 2020-12-05 05:40

I\'m looking into writing a simple synchronization ability into my app and one of the concerns that has popped up is synchronization of time between two remote computers, ea

9条回答
  •  悲&欢浪女
    2020-12-05 05:58

    Relying on NTP for your application as others have recommended is the easy fudge. The correct approach is to use Lamport's distributed clock synchronization algorithm. It is explained in his classic 1978 paper Time, clocks, and the ordering of events in a distributed system.

提交回复
热议问题