Backing up large amounts of Git data
summary
GitHub replaces per-host block volumes and VM Git servers with object storage (S3) and a service that performs a simulated git push to upload only deltas, using a write-ahead log to avoid distributed transaction rollbacks. System handles roughly 20–80 backups/sec, completes most uploads in under a minute, runs daily restores of thousands of repos, repacks into full backups for efficient restores, encrypts each backup with per-backup keys and rotating wrapping keys, and yields about 90% cost savings.
AI-written summary · about
chapters (14)
- 0:00Intro
- 0:28Git Infrastructure
- 1:27Motivation - what are the backups for?
- 3:16Motivation - Git backups at GitHub scale
- 4:41Possible solutions
- 8:19The old system
- 10:55Looking for a new solution
- 12:26Designing the current system
- 15:31Performing a backup
- 17:13Write-ahead-log
- 18:51Complexity at the system level
- 21:19Maintenance
- 23:49Encryption
- 25:15Conclusion
