How Facebook Scaled Mercurial

In a recent blog post, Facebook’s Durham Goode and Siddharth Agarwal explained how they modified the Mercurial version control system to meet their company’s needs.

At issue was the vast size of Facebook’s source code—”many times larger than even the Linux kernel, which checked in at 17 million lines of code and 44,000 files in 2013.” The company decided to modify an existing version control system to enable better scalability, and they settled on Mercurial as the one that would work best for their purposes. Unfortunately, at that time, Mercurial wasn’t as fast as Git as some other alternatives.

The team contributed more than 500 patches to Mercurial to speed its performance. They also integrated their Watchman file monitoring tool and found that it “made Mercurial’s status command more than 5x faster than Git’s status command.” They then created a remotefilelog extension, which “made Mercurial clones and pulls 10x faster, bringing them down from minutes to seconds,” as well as offering other performance benefits.

View article

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

How to Manage Your Finances after Buying a Home

How to Manage Your Finances after Buying a Home

Buying a home is a milestone in the journey of life – it’s one way to invest your money and create lasting memories. Now you know everything about a home purchase, home mortgage, and what is a conventional 97 loan but do you know what’s next after you sign the

Windows Logging is one of the vital aspects of any Windows system administration. However, it is mostly overlooked until the system develops a problem. This is because logs contain important information needed to troubleshoot and resolve system issues.

The Fundamentals of Windows Logging

Windows Logging is one of the vital aspects of any Windows system administration. However, it is mostly overlooked until the system develops a problem. This is because logs contain important information needed to troubleshoot and resolve system issues. Without it, tech experts might find it difficult to track a computer’s

Interstitial Ads: Best Practices for Successful Campaigns

Interstitial Ads: Best Practices for Successful Campaigns

Interstitial Ads: Best Practices for Successful Campaigns Interstitial ads are full-screen advertisements that appear to grasp the attention of on-site prospects, creating opportunities for brands seeking effective ways to communicate their proposition of value. With such an attention-grabbing format and high-impact visuals, it’s no wonder why interstitial advertising is proving

positive contribution tech

Technology’s Positive Contributions to Society

Technology has and continues to improve our lives. From the business world to the world of medicine, and our day-to-day lives, you can’t go a day without interacting with at least one form of technology. While some fear technology may be going too far, there are many ways in which

How to Choose From The Best Big Data Platforms in 2023

How to Choose From The Best Big Data Platforms in 2023

As big data continues to become increasingly popular in the business world, companies are always looking for better ways to process and analyze complex data. The process critically depends on the platform that manages and analyzes the data. In this article, we will provide a guide to help you choose