How it works
Measure tail latency (the slow end of the distribution, such as p99), unavailable operations, hot ranges, replica lag, hint backlog, repair age, compaction pressure, and capacity by failure domain. A green get() latency chart can hide a replica that has not converged, so measure freshness directly: for example, write a canary key each second and read it back from each replica.
Then test node loss, network partitions, membership changes, and data-center loss against the declared W/R policy. Take an example drill on N = 3, W = R = 2 across three racks. Stop one rack at peak. Reads and writes should keep succeeding, tail latency may rise, and the hint backlog should grow. Restore it, and the backlog should drain while repair catches up. Stop two racks, and quorum operations should fail with clear errors rather than quietly weaken. Capacity matters too: losing one of three racks gives each survivor 1.5 times its traffic, so racks running above about 66% utilization overload during the drill. Jepsen is a well-known tool for testing consistency claims under partitions.
Choose a policy for a real workload. A low-risk cache-like value may accept eventual convergence. Inventory reservations and money movement require stronger coordination and business invariants. Document retries and idempotency too: a timed-out put may still have applied, so a client that retries needs a request ID or conditional write to avoid duplicating the operation.
Normal latency is low but hint backlog grows for days. Is the system healthy?
No. Replicas may remain stale or recovery data may be at risk. Investigate backlog age, repair progress, and at-risk copies.
Use this as a guide for self review; written answers are not graded.Keep in mind
- Verify behavior during partitions and recovery, not only healthy throughput.
- Tie consistency and durability to specific product invariants.