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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
310
Are Bookstores Dying?
wilbeibi
0
74
A Little SVM ( Simple Chinese)
wilbeibi
0
130
Other Decks in Programming
See All in Programming
Implementation Patterns
denyspoltorak
0
280
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
Architectural Extensions
denyspoltorak
0
280
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
1
940
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
250
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
200
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
260
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
1k
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
250
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1k
Site-Speed That Sticks
csswizardry
13
1.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
280
Ethics towards AI in product and experience design
skipperchong
2
190
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Everyday Curiosity
cassininazir
0
130
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
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 的核心算法