Technical Architecture
To achieve these goals, Pando utilizes a relaxed consistency model known as causal consistency. This approach allows updates to unrelated branches to proceed in parallel by coordinating updates to each branch independently. According to OpenAI, this means a reader looking at several branches may see them at different points in time.
Unlike traditional Git service patterns, Pando employs the following methods:
- Write Optimization: Pando validates incoming packfiles while streaming them to blob storage without unpacking them into a local repository. It uses a multi-key transaction to record ref versions in a metadata store, which OpenAI says requires $O(1)$ metadata reads and writes.
- Read Optimization: Pando reuses packfiles across fetches rather than generating individual packfiles for each client. This allows the server to serve the same bytes to many clients with minimal computation.