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
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
AI時代の認知負荷との向き合い方
optfit
0
160
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
180
AI & Enginnering
codelynx
0
110
humanlayerのブログから学ぶ、良いCLAUDE.mdの書き方
tsukamoto1783
0
190
Architectural Extensions
denyspoltorak
0
280
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
550
Package Management Learnings from Homebrew
mikemcquaid
0
220
SourceGeneratorのススメ
htkym
0
190
CSC307 Lecture 03
javiergs
PRO
1
490
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
190
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
We Are The Robots
honzajavorek
0
160
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
320
Amusing Abliteration
ianozsvald
0
99
Between Models and Reality
mayunak
1
190
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.2k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
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 的核心算法