下载此文档

分布式系统设计.06.pdf


文档分类:IT计算机 | 页数:约57页 举报非法文档有奖
1/57
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/57 下载此文档
文档列表 文档介绍
Distributed Systems
Principles and Paradigms
Maarten van Steen
VU Amsterdam, Dept. Computer Science
somewhere in it ⇒ we still have to distribute its time to each machine.
Basic principle
Every machine has a timer that generates an interrupt H times per
second.
There is a clock in machine p that ticks on each timer interrupt.
Denote the value of that clock by Cp(t), where t is UTC time.
Ideally, we have that for each machine p, Cp(t) = t, or, in other
words, dC/dt = 1.
5 / 39Distributed Algorithms Clock Synchronization
Physical clocks
dC
> 1
dt dC
Clock time, C = 1
dt
dC
< 1
Fast clock dt
Perfect clock
Slow clock
UTC, t
dC
In practice: 1 − ρ ≤ dt ≤ 1 + ρ.
Goal
Never let two clocks in any system differ by more than δ time units ⇒
synchronize at least every δ/(2ρ) seconds.
6 / 39Distributed Algorithms Clock Synchronization
Global positioning system
Basic idea
You can get an accurate account of time as a side-effect of GPS.
Height
Point to be
ignored
(14,14)
r = 16
(-6,6)
x
r = 10
7 / 39Distributed Algorithms

分布式系统设计.06 来自淘豆网www.taodocs.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数57
  • 收藏数0 收藏
  • 顶次数0
  • 上传人wxc6688
  • 文件大小232 KB
  • 时间2022-06-21