Home / Companies / GitLab / Blog / Post Details
Content Deep Dive

Meet Praefect: The traffic manager making your Git data highly available

Blog post from GitLab

Post Details
Company
Date Published
Author
Zeger-Jan van de Weg
Word Count
1,764
Company Posts That Month
19
Language
English
Hacker News Points
-
Post removed?
No
Summary

As GitLab faced challenges in scaling its infrastructure, particularly with Git, the company developed Gitaly to improve Git access speed by bypassing the need for network-attached filesystem access. The initial solution involved eventual consistency, where repositories had three copies to ensure read access in case of primary server failure, which was rolled out in version 13.0. The next phase involved achieving strong consistency, ensuring all copies were up to date simultaneously, a feature dependent on Git's awareness of transactions, and rolled out for most write requests. To address the cost implications of tripling storage requirements, GitLab improved performance by enabling any of the three copies to handle read requests, with the feature becoming generally available in version 13.8. Praefect, a component introduced to manage traffic and ensure high availability, is being gradually adopted by customers, with GitLab planning further features like HA Distributed Reads and variable replication factors for future releases.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.