cs-137 — The Backup Window

FieldValue
idcs-137
difficultyAdvanced
topicsrisk, trade-offs, strategy
lecturelecture-26
estimated time5-minute attempt + 10-minute discussion
prerequisiteslecture-26 (expected value) taken in the same session; lecture-01 (assumptions)
objectivecompare two failure designs using expected cost and name the assumption that carries the conclusion
solutionheld by the instructor; discussed after the attempt

Problem

A lab server must back up 500 GB every night inside a one-hour window. Two designs are on the table; all failure probabilities are stated assumptions about this lab's hardware, not measurements:

Your deliverables:

  1. For each plan: the probability of a clean night (no restarts).
  2. For each plan: the expected wasted minutes per night.
  3. Your recommendation with the one assumption whose truth the recommendation depends on most.
  4. One reliability trade-off that the expected-value comparison does not capture.

If the problem is ambiguous anywhere, state the assumption you are making and carry on — a stated assumption is part of a good answer.

Examples

Solve for the worked instance first. Then ask what would change if one number, name, or condition were replaced by something stranger.

What to notice

Discussion starter

After the solution is revealed, the class spends five minutes on this prompt: "The lab's disk is aging: chunk failures are no longer independent (one failure makes the next twice as likely). Redo plan B's clean-night probability under a simple correlation story of your choice — stated explicitly — and say whether the recommendation survives."

Constraints and assumptions

Hints and extension