9 comments

  • brasic1 day ago
    It’s hard to overstate the reputation of the author of this post. Everything good about GitHub’s internal systems seemed to have his name all over it (I realize that today this statement hits different than a few years ago). Our times at GH didn’t overlap much but hearing the fact that he’s working at cursor increases my estimation of their engineering org by leaps and bounds.
  • gritzko22 minutes ago
    The key part: they decided to use the unchanged git codebase as their building block. Likely assuming that the people who wrote the Linux kernel probably knew what they were doing. That explains some features that look bizarre from the generic distributed-database perspective. I think the author has had this argument many times, because he reiterates it several times in the post. The rest follows from it.
  • eatonphil1 hour ago
    &gt; The &quot;fan-out&quot; is synchronized with a classic consensus algorithm called 3PC (three-phase commit) so that a push is only accepted if a majority of the nodes acknowledge it.<p>Doesn&#x27;t 3PC require all nodes to agree, not just a majority?
  • wrs27 minutes ago
    There’s a trend of doing impressive things by pushing many of the hard problems into S3 and assuming S3 “just works”, then not bothering to explain how S3 works. I guess we do the same thing all the time with other miraculous solutions to hard problems, like assuming that superscalar out-of-order processors “just work”, but in cases like this it makes for an unsatisfying explanation. Especially because S3 is a proprietary <i>product</i>, not an algorithm.
  • biwills1 day ago
    &gt; What about consensus? Elections? Which server is the primary for a given repository? It also doesn&#x27;t matter! There&#x27;s no state and no consensus here. Any server can be the primary. All updates to the write-ahead log are synchronized with an atomic compare-and-swap (CAS) operation on S3, so it&#x27;s always safe for any instance of a repository to receive a push.<p>Again reminded of what an amaizing piece of engineering S3 is (99.999999999% - 11 nines of durability) [1]<p>1: <a href="https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;AmazonS3&#x2F;latest&#x2F;userguide&#x2F;DataDurability.html" rel="nofollow">https:&#x2F;&#x2F;docs.aws.amazon.com&#x2F;AmazonS3&#x2F;latest&#x2F;userguide&#x2F;DataDu...</a>
    • nojvek1 day ago
      Not just durability. But read after write guarantee on a distributed object store.<p>How many startups and corporations built on top of S3 semantics?<p>Snowflake and the big lakehouses are one of them. They use S3 as giant disk in the sky.
  • dewey23 minutes ago
    That was a very well written and interesting article. I really enjoyed it. Some good background for people telling GitHub to &quot;just scale&quot;.
  • vegadw1 day ago
    Remember, don&#x27;t put large objects in cnt, it makes it a real pain later.
    • esafak1 hour ago
      cnt?
      • 1qwdq15 minutes ago
        Continuity system of Cursor. Brilliant name, just like the octo&quot;cat&quot;! Elon will approve.
  • newspaper127 minutes ago
    It doesn&#x27;t matter how many technical blog posts they put out, I will still never host my code with Elon Musk.
  • Related:<p><i>Cursor Origin Code Hosting</i><p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49334209">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49334209</a>