logoalt Hacker News

Git at any scale

106 pointsby meetpateltechlast Tuesday at 4:26 PM8 commentsview on HN

Comments

brasicyesterday at 3:36 PM

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.

newspaper1today at 4:08 PM

It doesn't matter how many technical blog posts they put out, I will still never host my code with Elon Musk.

eatonphiltoday at 3:34 PM

> The "fan-out" 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.

Doesn't 3PC require all nodes to agree, not just a majority?

biwillslast Tuesday at 10:11 PM

> 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 is (99.999999999% - 11 nines of durability) [1]

1: https://docs.aws.amazon.com/AmazonS3/latest/userguide/DataDu...

show 1 reply
vegadwlast Tuesday at 6:04 PM

Remember, don't put large objects in cnt, it makes it a real pain later.

show 1 reply
ChrisArchitectlast Tuesday at 5:45 PM

Related:

Cursor Origin Code Hosting

https://news.ycombinator.com/item?id=49334209