Back to Browse

Building a Serverless Git Server - Natalie Marleny

755 views
Oct 9, 2025
27:35

What does it take to build a Git server from the ground up, tailored for modern, distributed environments? This talk explores our experience of constructing a horizontally scalable Git server using WebAssembly and a serverless architecture. We navigated challenges like compiling libgit2 to Wasm, emulating synchronous filesystem operations in an asynchronous context, and implementing Git server protocols absent in existing libraries. Our journey led to a compact, efficient Git server capable of running in constrained environments, opening doors to new possibilities in version control and collaborative development.​ What the audience will learn: * Insights into Git's internal mechanisms and their behavior in non-traditional environments. * Strategies for hosting Git repositories using serverless architectures. * Techniques for compiling and adapting native libraries like libgit2 for WebAssembly targets. * Approaches to implementing Git server functionalities from scratch. * Lessons on scaling Git infrastructure without relying on traditional servers or containers. * The potential of modular Git capabilities in enhancing versioning and collaborative workflows. Git Merge is dedicated to amplifying new voices in the Git community and showcasing the most thought-provoking projects from developers, maintainers, and teams around the world. Git Merge 2025 took place at GitHub HQ in San Francisco, CA on September 29th and 30th.

Download

1 formats

Video Formats

360pmp432.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Building a Serverless Git Server - Natalie Marleny | NatokHD