Company
Date Published
Author
Dirkjan Bussink
Word count
1643
Language
English
Hacker News points
None

Summary

GitHub Enterprise 2.0 introduced a revamped virtual machine architecture aimed at enhancing performance and reliability, alongside new features and AWS deployment support. The development process involved benchmarking to identify and resolve performance issues, particularly in the critical git clone operation. Initial tests against the previous Enterprise version revealed high error rates and slow performance due to overloaded authentication systems and connection issues with git-daemon. By employing various Unix tools such as strace, tcpdump, and netstat, the team diagnosed problems including an insufficient backlog for connections and firewall misconfigurations. After implementing fixes like optimizing post-receive hooks, increasing the backlog limit for git-daemon, and resolving firewall issues, the team significantly improved throughput and reduced errors. These enhancements resulted in nearly doubled HTTPS and tripled SSH throughput, with notable performance gains reported by customers such as Spotify following their upgrade to Enterprise 2.0.