Case Study: GitBook achieves faster bi-directional sync and scalable concurrency with Inngest

A Inngest Case Study

Preview of the GitBook Case Study

Solving bi-directional data synchronization

GitBook, a knowledge management tool for engineering teams, faced significant challenges scaling their bi-directional "Git Sync" feature. Their infrastructure, built on Google Cloud Tasks, led to slow performance, bottlenecks, and concurrency issues that caused paying customers to wait over an hour for syncs to complete. The team needed a solution that could provide per-space queues to ensure tasks were processed in the correct order without being blocked by other users.

By implementing Inngest, GitBook gained granular concurrency management, allowing them to create a dedicated queue for each customer space. This solution, powered by Inngest's TypeScript SDK and flow control features like debouncing, drastically reduced sync times from hours or minutes to being mostly immediate. The team also benefited from improved developer experience, reliability, and a comprehensive dashboard for monitoring, enabling them to efficiently migrate and scale other features.


View this case study…

GitBook

Johan Preynat

Engineering Lead


Inngest

14 Case Studies