Monty  Boehm

Monty Boehm

1620034560

Scaling Monorepo Maintenance

At GitHub, we serve some of the largest Git repositories on the planet. We also serve some of the fastest-growing repositories. Each day, the largest repositories we host become even larger.

About a year ago, we noticed that the job we use to repack Git repositories began hitting our self-imposed timeouts on larger repositories. Even when expanding these timeouts, failing maintenance on these repositories has generally been the cause of degraded performance that is hard to mitigate.

Today, these problems do not exist. GitHub can repack even the largest repositories we host in a fraction of the time it used to take. In this post, we’ll talk about what problems we were encountering, the solutions we built, how we deployed them safely, and describe some possible future directions.

All of our work here is being contributed to the open source Git project, and will be available in an upcoming release.

The problem

Why is GitHub’s maintenance job so expensive in the first place? It’s because we chose to have maintenance repack the entire contents of each repository into a single packfile. Doing so is expensive, but having just one packfile carries some benefits, too. With only one packfile, looking up objects doesn’t require opening and searching through multiple packs to find it. It also means that all objects can be compressed as a delta relative to all other objects (Git’s packfile format supports cross-pack deltas, but currently Git will never store them on disk). But, the most important reason is that  reachability bitmaps, a performance-critical data structure, are only compatible with a single pack.

A new feature in Git,  multi-pack indexes solves the former problem by making all object lookups go through a single index, but didn’t yet solve the latter. So, we set out to fill in the gaps by bringing bitmap support to multi-pack indexes in order to remove the single-pack limitation on reachability bitmaps.

But in order to build multi-pack bitmaps, we had to solve a number of other interesting problems along the way. First, we had to decide how to arrange the objects in a multi-pack index to achieve good bitmap compression. We also had to figure out how to quickly invert that ordering to translate between bit positions back to the objects they refer to. Some of these steps also yielded notable performance improvements on single-pack repositories, too. Finally, we had to figure out a new repacking strategy that scaled with the size of recent pushes, rather than with the size of the entire repository.

But before we get into all of that, let’s start from the very beginning.

#engineering #open source #git #monorepo

What is GEEK

Buddha Community

Scaling Monorepo Maintenance
Rahim Makhani

Rahim Makhani

1622435294

Website Support & Maintenance Service | Web Maintenance Company In India

The performance of the website leaves a major impact on the customer’s usage. As we all know the importance of the website in business and the effects it creates on the customers who visit your website.

Web performance is important for accessibility and also for another website that serves the goal of an organization or business. The good or bad performance of a website indirectly relates to the user experience as well as the overall performance of your business. This is why the maintenance of the website is a major thing to consider.

For website maintenance services you must contact Nevina Infotech that is the best company for website maintenance and services and has dedicated developers who will solve all the bugs from your website and improve the performance of your website.

#website maintenance services #website support and maintenance #website maintenance support #website maintenance packages #website maintenance company #website maintenance plans

Rahim Makhani

Rahim Makhani

1620968589

Get a Bug Free and smooth website with website Maintenance

Having a website for your own firm or business is very important as it can benefit you in many ways like your users can get 24/7 service from your company, you can exchange your information, it can help you to expand your business in the market. One must also maintain their website to keep it bug free and updated.

Your website should be bug free because if there is any bug in your website it will slow down the performance of it and will not even work properly if this happens then there are chances that you may lose your customers.

Are you searching for a company that can provide you with website support and maintenance? Nevina Infotech is the best company that can help you with the maintenance and support, as we have enthusiastic web app developers who can help you to maintain your website.

#website maintenance services #website support and maintenance #website maintenance support #website maintenance packages #website maintenance company #website maintenance plans

Rahim Makhani

Rahim Makhani

1621312845

Improve your mobile app with Mobile App Maintenance

Mobile apps play a vital role in today’s mobile phone industry. Without any mobile app, our smartphones will become useless. With the development of mobile apps, its maintenance is also important to run your mobile app in a better way.

To maintain the applications, mobile app maintenance services have to take care of all the aspects regarding the app. To keep your mobile app more advanced its maintenance is required.

If you want to maintain your mobile app you can select our company, Nevina Infotech, which will give you the best maintenance service for your mobile app. We have dedicated mobile app developers that will help you to fulfill your requirements.

#mobile app maintenance #android app maintenance #mobile app maintenance services #app maintenance companies #mobile app maintenance services #mobile app maintenance and support

Rahim Makhani

Rahim Makhani

1622605776

Get a Bug free and user-friendly mobile app with mobile app Maintenance

We all know the importance of mobile apps in today’s era and the changes mobile apps have made in our lives. With the help of mobile applications, our life has become so easy and fast. We can do anything with just one click.

Mobile app maintenance is also required along with using it. If your mobile app is not maintained properly it can create a bug and the performance of your mobile app can decrease in the long term so it is important to maintain your mobile app as well.

Nevina Infotech is the leading mobile app development company that can help you to get a bug-free and user-friendly mobile app and will also provide mobile app maintenance. As we have the best team of developers that can develop your app as per your requirement.

#mobile app maintenance #mobile app maintenance services #mobile application maintenance and support #app maintenance companies #mobile app maintenance costs #mobile app maintenance services

Rahim Makhani

Rahim Makhani

1618544971

Maintain your website for a better user experience

If you are owning a firm and having a website for your own company then you need to maintain your website for a better user experience. As you know, how much a website is important for your company.

Website maintenance services is a task required to maintain your website and function properly and up to date. It involves regular updating and checking your website if there is any issue or bug it will be solved.

If you want to maintain your website and also need website maintenance services then you can contact our company that is Nevina Infotech. Our developers will help you to maintain your website through which your user experience can increase.

#website maintenance services #website support and maintenance #website maintenance support #website maintenance packages #website maintenance company #website maintenance plans