What is a sloppy quorum, what is hinted handoff, and what do they give up?
Sketch your own answer first, then compare it with the one below.
A strong answer
A strict quorum collects replies from the N replicas that own the item. A sloppy quorum accepts replies from other healthy nodes when some owners are unreachable. Those stand-ins hold the write along with a hint naming the intended owner. When the owner returns, the stand-in hands the write over. That is hinted handoff.
The benefit is write availability. Writes succeed during failures that would block a strict quorum.
The cost is that the overlap guarantee goes. The write may sit on stand-ins that a read does not ask, so a read of the owners can miss it even when R plus W exceeds N, until the handoff completes. If the stand-in fails before delivering, the write can be lost. It is a deliberate choice of availability over freshness.
Sources
- Giuseppe DeCandia and others (2007). Dynamo: Amazon's Highly Available Key-value Store.
- Martin Kleppmann (2017). Designing Data-Intensive Applications.