Skip to content
InfoQ·

🚀Cursor's Continuity Architecture Uses S3 WAL for Git Storage

Git storage just got a major overhaul

TL;DR

Cursor's Continuity uses S3-backed WAL for Git storage, promising linear read scaling and high throughput. This could change how large monorepos handle CI workloads.

Cursor's Continuity architecture uses an S3-backed write-ahead log (WAL) as the source of truth for Git storage, a shift from traditional local Git repositories and packfiles. This change targets large repositories with heavy CI workloads and small repositories created by coding agents, promising linear read scaling and high throughput. Continuity supports up to 100 replicas in synthetic tests and can handle more than 300 pushes per second with S3 Express One Zone. The architecture also allows for on-demand materialization of idle repositories, making it a game-changer for monorepos and CI workflows.

Cursor's Continuity Architecture Uses S3 WAL for Git Storage — InfoQ

Key Points

1

Continuity stores pushed data in S3 and records reference updates in the WAL, ensuring durability before acknowledgment.

2

In synthetic tests, Continuity supports up to 100 replicas and more than 300 pushes per second with S3 Express One Zone.

3

Git compaction becomes the bottleneck at higher push rates, but only the primary performs compaction, with replicas downloading packs from S3.

4

The architecture allows for linear read scaling and on-demand materialization of idle repositories, reducing storage costs.

5

Continuity changes the model by moving the consistency boundary from the replica layer to durable object storage.

Why It Matters

If you're managing large monorepos with heavy CI workloads, Continuity's S3-backed WAL could reduce storage costs and improve performance. The architecture supports up to 100 replicas and more than 300 pushes per second, making it a strong contender for teams looking to scale.

gits3continuitycursordevops

Comments

Subscribe to join the conversation...

Be the first to comment

Enjoyed this article?

Get it daily. 7am. Free. Reads in 5 minutes.

Join 3,565 builders reading daily.

Also get