Skip to content
Theory · Unique ID generator · lesson 8 of 10

Failures and trade-offs

Once the diagram is done, the interviewer starts breaking it: "What if etcd goes down? What if a process is cut off from the network? A whole datacenter?" A good answer to each such question names three things: what keeps working, what the services notice, and what you pay for it. In this prompt the answers have a special yardstick: a duplicate ID is worse than any refusal.

In this lesson

  • Failures one at a time
  • Common mistake
  • Key points