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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Hongyi Shen
August 13, 2014
Programming
1
280
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
320
Are Bookstores Dying?
wilbeibi
0
76
A Little SVM ( Simple Chinese)
wilbeibi
0
130
Other Decks in Programming
See All in Programming
Kubernetesでセルフホストが簡単なNewSQLを求めて / Seeking a NewSQL Database That's Simple to Self-Host on Kubernetes
nnaka2992
0
110
Unity6.3 AudioUpdate
cova8bitdots
0
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
530
Agentic AI: Evolution oder Revolution
mobilelarson
PRO
0
170
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
120
Codex の「自走力」を高める
yorifuji
0
1.2k
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
950
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
2
580
Goの型安全性で実現する複数プロダクトの権限管理
ishikawa_pro
2
330
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
410
SourceGeneratorのマーカー属性問題について
htkym
0
200
モダンOBSプラグイン開発
umireon
0
120
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Accessibility Awareness
sabderemane
0
80
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Paper Plane
katiecoart
PRO
0
48k
Abbi's Birthday
coloredviolet
2
5.3k
Why Our Code Smells
bkeepers
PRO
340
58k
Code Reviewing Like a Champion
maltzj
528
40k
KATA
mclloyd
PRO
35
15k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
550
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
240
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
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 的核心算法