Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How Rsync works
Search
Hongyi Shen
August 13, 2014
Programming
300
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How Rsync works
An explanation of Rsync's algorithms
Hongyi Shen
August 13, 2014
Transcript
8 slides
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 的核心算法
More Decks by Hongyi Shen
See All by Hongyi Shen
Entropy Evaluation method for Bulls and Cows game
wilbeibi
1
340
Are Bookstores Dying?
wilbeibi
0
83
A Little SVM ( Simple Chinese)
wilbeibi
0
150
Other Decks in Programming
See All in Programming
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
150
Jujutsu で毎日のバージョン管理に「安心」と「直感性」を
oukayuka
0
110
Distance field of Julia set
kinakomoti321
0
330
The Cost of the DOM
ypresto
2
420
Stage 3でも仕様は変わる。アプリケーション開発者のためのTC39プロセスの読み方
bicstone
1
320
SODA - FACT BOOK(EN)
sodainc
1
290
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
840
Kotlin Fest 2026: Kotlin コンパイラに Contribute してみよう! - Kotlin/Wasm で深い再帰を書けるようにした話
ternbusty
1
420
Skills Are the New npm [AAIF Bengaluru, Nov 2026]
shivamsaraswat
0
130
Growing PicoRuby's Ecosystem on ESP32
yuuu
2
150
AIコーディング時代のKotest ユニットテストから APIレベルの仕様固定化テストへ
ooga04
0
340
はじめてのKubernetesコントリビューション
nasa9084
0
330
Featured
See All Featured
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
330
Unsuck your backbone
ammeep
672
58k
GitHub's CSS Performance
jonrohan
1033
470k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
Ruling the World: When Life Gets Gamed
codingconduct
0
450
Optimizing for Happiness
mojombo
378
72k
How to Think Like a Performance Engineer
csswizardry
28
3k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
1k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.3k