<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Sync - 标签 - Victor's Code Journey</title><link>http://www.victorchu.info/tags/sync/</link><description>Sync - 标签 - Victor's Code Journey</description><generator>Hugo -- gohugo.io</generator><language>zh-cn</language><managingEditor>victorchu0610@outlook.com (victorchutian)</managingEditor><webMaster>victorchu0610@outlook.com (victorchutian)</webMaster><lastBuildDate>Wed, 20 May 2026 14:33:42 +0800</lastBuildDate><atom:link href="http://www.victorchu.info/tags/sync/" rel="self" type="application/rss+xml"/><item><title>Rsync 算法简介</title><link>http://www.victorchu.info/posts/2026/05/26560a6b/</link><pubDate>Wed, 20 May 2026 14:33:42 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2026/05/26560a6b/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/algorithm.webp" referrerpolicy="no-referrer">
            </div><p>你有没有遇到过这种情况：服务器上有两份代码，版本 A 和版本 B，你只想把 A 的改动同步到 B，但网络带宽只有几 Mbps，传输一个 24MB 的文件要等上好几分钟。</p>
<p>也许你会想到先在本地 diff，然后把 patch 发过去。没错，这是个思路。但你有没有想过：<strong>如果 A 和 B 都不在同一台机器上，diff 根本跑不起来怎么办？</strong></p>
<p>这就是 rsync 要解决的问题。</p>]]></description></item></channel></rss>