Continue where you left off ×
Compute on borrowed disks: disaggregated storage
The Copy Clerks · Open board
The copy clerks, where each extra copy of the database brings its own disk and its own full copy of the data. This lesson asks what changes when the copies share one store of data and only the workers are added.
The idea in 30 seconds
Compute runs queries and storage keeps data, and disaggregated storage puts them on separate machines joined by a network.
A new read replica on shared storage needs no copy of the data, so it starts in seconds instead of the 27 minutes a 2 TB copy takes in the lesson’s sums.
Aurora sends only redo log records to storage, and the storage layer builds pages itself.
A quorum of 4 of 6 copies for writes and 3 for reads means the two groups always overlap, and losing a whole zone costs two copies.
Neon and Snowflake let compute switch off when idle, because the data lives in storage that stays.
The cost of the split is a network hop on a cache miss.
Read the story
Lesson 29 of 115 in System Design
The rest of this lesson is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year .
See plans Already a member? Sign in
Or start free : a free account opens lessons 2 and 3 of every track.
In this lesson The problem: a new read copy takes half an hour Most of what a database writes is the same news, twice Disaggregated storage: compute and disk are different machines Quorum: six copies, and the write is safe when four answer Page server: storage that rebuilds pages from the log Scale to zero and warehouses: why adding compute is cheap Terms it explains: redo log records, Disaggregated storage, quorum, Safekeepers, Pageservers, Object storage, page server, scale to zero, virtual warehouses, Common mistakes, Redo the opening sum.
Review System Design
Mark as read Saved in this browser, and to your account when you sign in.