How GitHub uses eBPF to improve deployment safety
Blog post from GitHub
GitHub hosts its own source code on github.com but faces potential circular dependency issues where the site could be inaccessible if it goes down, preventing fixes. To mitigate this, GitHub uses a mirrored code base and explores eBPF (extended Berkeley Packet Filter) to monitor and block network calls that could create circular dependencies, especially during deployment processes. The use of eBPF allows GitHub to selectively manage network access for deployment scripts, thereby preventing them from failing due to reliance on GitHub during outages. Through the development of a proof of concept using eBPF for network filtering, GitHub can now block domains that might cause circular dependencies, track DNS requests back to their initiating processes, and enforce resource limits on deployment scripts. This innovative solution enhances GitHub's stability and reduces recovery time during incidents by detecting and managing potential circular dependencies more effectively.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Observability | 1 | 4,496 | 812 | 176 | +40% |
| Platform Engineering | 1 | 1,080 | 232 | 64 | +125% |
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.