pasttheabstractEdition 4 · week of Oct 17

Four prompts, in order. Each builds on the last. Write as you go; your notes stay on this device and work offline.

  1. Rebuild it

    Build a toy Dynamo in one process: six servers as objects on a hash ring, each holding a few tokens, with N = 3, R = 2 and W = 2. Give every stored version a vector clock, let put() skip a server you mark as down and leave a hinted copy on the next healthy one, and let get() return every version that no other version supersedes. Test it three ways. Replay Figure 3's five writes and check your clocks match the paper's. Take Oak down, write to Maya's cart, bring Oak back and check the hint reaches it. Send two writes to the same cart through different servers and check a read returns both, then merge them by union and write back.

  2. Challenge it

    The paper calls R + W > N "quorum-like" and leaves it there. With N = 3, R = 2 and W = 2, write out a sequence of failures and recoveries in which a write succeeds on two stand-ins and the very next read, also answered by two servers, never sees it. Then argue whether a service using (3,2,2) on Dynamo gets any guarantee that a read sees the latest successful write, and what exactly it does get.

  3. Stress it

    Section 4.4 trims a vector clock to its 10 newest entries and notes this never caused trouble in production. Picture a long partition in which servers keep failing, so Maya's cart is written through 12 different coordinators. Work out what the trimmed clock forgets, and what a read sees next: can two versions that are really ordered come back as a conflict, or a real conflict be mistaken for an update? Which one would cost Maya an item?

  4. Compare it

    Put Dynamo next to a store with one leader that commits a write only when a majority of copies have it, like Raft, next week's paper. Rerun the problem's evening: the link between East and West drops while Maya adds a lamp through Oak and a book through Pine. For each design, say which writes succeed, what the next read returns, and what the application has to do. Then pick one for a shopping cart and one for a bank balance, and say why.