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.
Git at any scale
101–110 of 128 posts
Re: Git at any scale
#102There’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 propri…
The product is proprietary, but the interface and semantics are documented and freely available. "S3-compatible object store" is a commodity at this point, so it makes sense to treat it as a primitive building block for a distributed system. Of course, each implementation will have its own set of idiosyncrasies and limitations, so you'll still have to make sure that any such divergent behavior doesn't interfere with…
[0]: https://aws.amazon.com/s3/ (Click on Durability and availability)
Re: Git at any scale
#103Re: Git at any scale
#104> What about consensus? Elections? Which server is the primary for a given repository? It also doesn't matter! There'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's always safe for any instance of a repository to receive a push. Again reminded of what an amaizing piece of engineering S3…
Of course S3 goes beyond just Amazon these days. It's a proven design and architecture for doing object storage that you find across different cloud providers that you can also self host if you need to.
This article will no doubt inspire people working on projects like forgejo, gitea, tangled, etc. that are all facing the same scaling challenges.
Re: Git at any scale
#105This is an excellent post that explains why their version of git hosting is more scalable. But it seems like most people won't need it, assuming Github remains free to use and they get their availability problems fixed. Will free Git hosting continue to be sustainable, though, without architectural improvements like this?
Re: Git at any scale
#106Re: Git at any scale
#107Any ideas how these interactive animated diagrams were made?
Re: Git at any scale
#108Earlier quoted context omitted.
I am just too old, you know. I remember Bitbucket, GitLab, and the plethora of other GitHub killers. GitHub is an ecosystem, not a product. Cursor needs at least a decade to beat that! Maybe more!
Maybe what we need is actually fewer ecosystems, and more products.
Re: Git at any scale
#109Unfortunately, Git is not as distributed as it claims to be.
Re: Git at any scale
#110This is an excellent post that explains why their version of git hosting is more scalable. But it seems like most people won't need it, assuming Github remains free to use and they get their availability problems fixed. Will free Git hosting continue to be sustainable, though, without architectural improvements like this?
Free git is unsustainable due to AI
But I believe it would be easy to fix with limitation for the free accounts (CI time limit, total size of repo limit etc.)