<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Git on FunkyGod - 投资与AI实践笔记</title>
    <link>https://funkygod.vip/tags/git/</link>
    <description>Recent content in Git on FunkyGod - 投资与AI实践笔记</description>
    <image>
      <title>FunkyGod - 投资与AI实践笔记</title>
      <url>https://funkygod.vip/apple-touch-icon.png</url>
      <link>https://funkygod.vip/apple-touch-icon.png</link>
    </image>
    <generator>Hugo -- 0.147.7</generator>
    <language>zh-cn</language>
    <lastBuildDate>Fri, 21 Aug 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://funkygod.vip/tags/git/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Cursor 双周综述｜Origin Code Hosting：WAL-first 重新定义大规模 Git 托管</title>
      <link>https://funkygod.vip/2026/08/tech-daily-2026-08-21/</link>
      <pubDate>Fri, 21 Aug 2026 00:00:00 +0000</pubDate>
      <guid>https://funkygod.vip/2026/08/tech-daily-2026-08-21/</guid>
      <description>&lt;h2 id=&#34;本期亮点&#34;&gt;本期亮点&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Origin Code Hosting&lt;/strong&gt;：Cursor 发布自研 Git 托管系统，以 WAL-first + S3 为核心设计，突破 GitHub Spokes 的水平扩展瓶颈&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cloud Agents 更新&lt;/strong&gt;：事件驱动的 Subscriptions、子 agent 独立 VM、/goal 持久目标&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;技术深度&lt;/strong&gt;：Continuity 系统设计详解，值得反复研读&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id=&#34;核心解析为什么-git-托管是个地狱级难题&#34;&gt;核心解析：为什么 Git 托管是个地狱级难题&lt;/h2&gt;
&lt;p&gt;Vicent Martí（Origin 项目负责人）在这篇博文中给出了一个教科书级别的系统分析。他的核心论点是：&lt;strong&gt;Git 的分布式设计是针对 Linux 内核那样的去中心化工作流优化的，但现实中 99% 的公司其实需要一个强一致的中央协调点&lt;/strong&gt;。这个根本矛盾导致大规模 Git 托管成为一个被低估的技术难题。&lt;/p&gt;
&lt;h3 id=&#34;packfile一切的罪魁祸首&#34;&gt;Packfile：一切的罪魁祸首&lt;/h3&gt;
&lt;p&gt;Git 的数据存储单元是 packfile，这是一种压缩后的二进制格式，&lt;strong&gt;对象在 packfile 里的物理位置与其在 DAG 中的逻辑位置毫无关联&lt;/strong&gt;。一个 commit 指向某个 tree，tree 指向若干 blob，要读取它们必须沿着 DAG 边跳转，而每条边都可能跳到 packfile 里任意偏移量的位置。&lt;/p&gt;
&lt;p&gt;这种随机读写模式在本地 NVMe 上没问题，但一旦上网络存储，带宽和延迟会让性能崩溃。GitHub 早年试过 GFS（Google File System）和 DRBD，最终都撞墙了——&lt;strong&gt;packfile 随机读的 IO 模式和网络文件系统的线性读写模式天然不兼容&lt;/strong&gt;。&lt;/p&gt;
&lt;h3 id=&#34;github-spokes-的历史选择与局限&#34;&gt;GitHub Spokes 的历史选择与局限&lt;/h3&gt;
&lt;p&gt;GitHub 在 2013 年推出的 Spokes 是一个三副本强一致的复制方案，使用 3PC（三阶段提交）来保证每个 push 在所有副本同步完成后才应答。这个设计在很长时间内都是行业标准，GitHub、GitLab 等主流平台都借鉴了类似思路。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
