Understand replication

How is data replicated among nodes?

SimpleStrategy: create replicas on nodes subsequent
to the primary range node

How is data replicated between data centers?

NetworkTopologyStrategy: distribute replicas across racks and data centers

What is a hinted handoff?

A recovery mechanism for writes targeting offline nodes. Coordinator can store a hinted handoff if target node for a write

  • is known to be down, or
  • fails to acknowledge

Coordinator stores the hint in its system.hints table. The write is replayed when the target node comes online