<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Distributed System - 标签 - Victor's Code Journey</title><link>http://www.victorchu.info/tags/distributed-system/</link><description>Distributed System - 标签 - 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, 25 Nov 2026 20:09:28 +0800</lastBuildDate><atom:link href="http://www.victorchu.info/tags/distributed-system/" rel="self" type="application/rss+xml"/><item><title>Gossip 协议：把消息扩散变成收敛算法</title><link>http://www.victorchu.info/posts/2026/11/30324d93/</link><pubDate>Wed, 25 Nov 2026 20:09:28 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2026/11/30324d93/</guid><description>&lt;div class="featured-image">
                &lt;img src="/feature-images/distribute.webp" referrerpolicy="no-referrer">
            &lt;/div>Gossip 用随机扩散换掉了中心协调：没有单点，节点挂了消息照走。本文推导 O(log N) 收敛是怎么来的，区分反熵与谣言传播两种模式，并拆解 Redis Cluster 的故障检测与 Consul/SWIM 的成员维护。</description></item><item><title>Lifeguard：让失败检测先审视自己</title><link>http://www.victorchu.info/posts/2026/11/8984d695/</link><pubDate>Wed, 25 Nov 2026 20:09:28 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2026/11/8984d695/</guid><description>&lt;div class="featured-image">
                &lt;img src="/feature-images/paper.webp" referrerpolicy="no-referrer">
            &lt;/div>SWIM 会把健康节点误判为故障，根因是本地消息处理太慢而非对端真的挂了。HashiCorp 的 Lifeguard 用「局部健康」让每个探测者先审视自己：误报事件总数降到基线的 1.53%，中位延迟只增加约 0.01 秒。本文是论文全文翻译。</description></item><item><title>SWIM：可扩展的弱一致感染式进程组成员协议</title><link>http://www.victorchu.info/posts/2026/11/27ee6cbd/</link><pubDate>Wed, 25 Nov 2026 20:09:28 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2026/11/27ee6cbd/</guid><description>&lt;div class="featured-image">
                &lt;img src="/feature-images/paper.webp" referrerpolicy="no-referrer">
            &lt;/div>SWIM 把故障检测与成员更新传播彻底解耦，用随机点对点探测替代心跳，首次检测期望时间与每成员消息负载都与组规模无关。本文是 DSN 2002 论文全文翻译，含流行病传播推导、incarnation number 优先级规则与实验数据。</description></item><item><title>雪花算法：把时间、机器和序列号塞进 64 位整数</title><link>http://www.victorchu.info/posts/2026/11/00afb903/</link><pubDate>Tue, 17 Nov 2026 20:56:19 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2026/11/00afb903/</guid><description>&lt;div class="featured-image">
                &lt;img src="/feature-images/distribute.webp" referrerpolicy="no-referrer">
            &lt;/div>从 Twitter 2010 年的开源实现出发，逐位拆解雪花算法：64 位里的时间戳、机器位、序列号各管什么，容量怎么算，以及时钟回拨、机器位分配、JS 精度丢失这三个真正会在生产环境出事的地方。</description></item><item><title>F1：一个可扩展的分布式 SQL 数据库</title><link>http://www.victorchu.info/posts/2026/10/cd367ff7/</link><pubDate>Tue, 13 Oct 2026 14:17:45 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2026/10/cd367ff7/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/database.webp" referrerpolicy="no-referrer">
            </div><blockquote>
  <p>原文：Jeff Shute, Radek Vingralek, Bart Samwel, Ben Handy, Chad Whipkey, Eric Rollins, Mircea Oancea, Kyle Littlefield, David Menestrina, Stephan Ellner, John Cieslewicz, Ian Rae, Traian Stancescu, Himani Apte. <strong>F1: A Distributed SQL Database That Scales.</strong> VLDB 2013.</p>

</blockquote><h2 id="摘要" class="headerLink">
    <a href="#%e6%91%98%e8%a6%81" class="header-mark"></a>摘要</h2><p>F1 是 Google 构建的一套分布式关系型数据库，用于支撑 AdWords 业务。F1 是一种混合型数据库，同时具备高可用性、Bigtable 这类 NoSQL 系统的可扩展性，以及传统 SQL 数据库的一致性和易用性。F1 构建在 Spanner 之上，Spanner 提供了跨数据中心的同步复制与强一致性。同步复制意味着更高的 commit 延迟，但 F1 通过带结构化数据类型的层次化 schema 模型以及合理的应用设计缓解了这种延迟。F1 还包含一套功能完整的分布式 SQL 查询引擎，以及自动的变更追踪和发布机制。最近的若干出版物曾断言这些设计目标相互排斥 <a href="#refer-anchor-5" rel=""><sup>5</sup></a>, <a href="#refer-anchor-11" rel=""><sup>11</sup></a>, <a href="#refer-anchor-23" rel=""><sup>23</sup></a>。本文的一个关键贡献就是展示我们如何在 F1 的设计中同时达成所有这些目标，以及我们在何处做了取舍与牺牲。</p>]]></description></item><item><title>Volcano：可扩展且并行的查询执行系统</title><link>http://www.victorchu.info/posts/2019/09/2478736b/</link><pubDate>Sat, 21 Sep 2019 12:00:00 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2019/09/2478736b/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/paper.webp" referrerpolicy="no-referrer">
            </div><p>本篇是论文 <a href="https://doi.org/10.1109/69.273032" target="_blank" rel="noopener noreferrer">Volcano — An Extensible and Parallel Query Evaluation System</a>（Goetz Graefe，<em>IEEE Transactions on Knowledge and Data Engineering</em>, Vol. 6, No. 1, pp. 120–135，1994 年 2 月）的中文解读。Volcano 就是今天数据库教材里&quot;火山模型&quot;（Volcano Model）的同名来源。</p>]]></description></item><item><title>Dremel：面向Web规模数据集的交互式分析</title><link>http://www.victorchu.info/posts/2019/09/fc11d593/</link><pubDate>Sat, 14 Sep 2019 21:30:00 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2019/09/fc11d593/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/paper.webp" referrerpolicy="no-referrer">
            </div><p>本篇是论文 <a href="https://research.google/pubs/pub36632/" target="_blank" rel="noopener noreferrer">Dremel: Interactive Analysis of Web-Scale Datasets</a>（VLDB 2010，<a href="https://storage.googleapis.com/gweb-research2023-media/pubtools/3293.pdf" target="_blank" rel="noopener noreferrer">PDF 版本</a>）的中文解读。Dremel 是 Google 内部的大规模数据分析系统，也是后来 BigQuery 的技术源头。</p>]]></description></item><item><title>Spanner：Google 的全球分布式数据库</title><link>http://www.victorchu.info/posts/2019/08/2859bcd0/</link><pubDate>Wed, 21 Aug 2019 17:39:28 +0800</pubDate><author><name>victorchutian</name></author><guid>http://www.victorchu.info/posts/2019/08/2859bcd0/</guid><description><![CDATA[<div class="featured-image">
                <img src="/feature-images/paper.webp" referrerpolicy="no-referrer">
            </div><p>本篇是论文 <a href="https://static.googleusercontent.com/media/research.google.com/en//archive/spanner-osdi2012.pdf" target="_blank" rel="noopener noreferrer">Spanner: Google&rsquo;s Globally-Distributed Database</a> 的中文翻译，尽量保持原文的章节顺序与表述。</p>]]></description></item></channel></rss>