Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How Rsync works
Search
Hongyi Shen
August 13, 2014
Programming
1
270
How Rsync works
An explanation of Rsync's algorithms
Hongyi Shen
August 13, 2014
Tweet
Share
More Decks by Hongyi Shen
See All by Hongyi Shen
Entropy Evaluation method for Bulls and Cows game
wilbeibi
1
280
Are Bookstores Dying?
wilbeibi
0
72
A Little SVM ( Simple Chinese)
wilbeibi
0
120
Other Decks in Programming
See All in Programming
Railsだからできる 例外業務に禍根を残さない 設定設計パターン
ei_ei_eiichi
0
890
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
830
Pull-Requestの内容を1クリックで動作確認可能にするワークフロー
natmark
2
510
技術的負債の正体を知って向き合う / Facing Technical Debt
irof
0
170
Android16 Migration Stories ~Building a Pattern for Android OS upgrades~
reoandroider
0
110
AIと人間の共創開発!OSSで試行錯誤した開発スタイル
mae616
1
320
Go言語はstack overflowの夢を見るか?
logica0419
0
330
Foundation Modelsを実装日本語学習アプリを作ってみた!
hypebeans
0
110
Leading Effective Engineering Teams in the AI Era
addyosmani
5
420
私はどうやって技術力を上げたのか
yusukebe
43
18k
理論と実務のギャップを超える
eycjur
0
140
「ちょっと古いから」って避けてた技術書、今だからこそ読もう
mottyzzz
11
6.7k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Embracing the Ebb and Flow
colly
88
4.8k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
Side Projects
sachag
455
43k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
115
20k
Site-Speed That Sticks
csswizardry
12
900
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Writing Fast Ruby
sferik
629
62k
Transcript
Hongyi Shen How Rsync works
What is rsync ? rsync (1) - a fast, versatile,
remote (and local) file-copying tool Why rsync ? Diffs Secure
How to identify the diffs ? Why not to use
diff ? Checksum Weak checksum algorithm: rolling checksum (32 bits) Strong checksum algorithm: md5 checkum (128 bits)
Weak algorithm ( rolling checksum ) 1. Fast 2. It
might be wrong ...
Strong algorithm ( md5 checksum ) 1. Slow 2. Collision:
generalized birthday problem
Insert a letter in the middle?
None
Thank you Ref: rsync 的核心算法