Problem Statement
Leader-based replication versus leaderless (Dynamo-style) has which typical trade-off?
Explanation
Leaderless systems accept writes to multiple replicas and reconcile on reads or via background repairs. Leader systems centralize ordering through a single primary but need failover when it dies.
Code Solution
SolutionRead Only
Client writes to N replicas with W quorum; read reconciles with R quorum
