Scaling the GitLab database An in-depth look at the challenges faced when scaling the GitLab database and the solutions we applied to help solve the problems with our database setup. For a long time GitLab.com used a single PostgreSQL database server and a single replica for disaster recovery purposes. This worked reasonably well for the first few years of GitLab.com's existence, but over time we