MongoDB under replication
Replication keeps data safe, but it has a cost. This study measured that cost by comparing MongoDB on one node with a three node replica set.
- Context
- Course research, UW Madison
- Stack
- MongoDB, YCSB, CloudLab, Python
- Finding
- Writes cost more than reads, and waiting for all three nodes to confirm a write clearly raised latency.
What he did
- Ran YCSB workloads A through F on CloudLab, plus read only and write only tests.
- Used five million operations per workload with 256 threads.
- Analyzed throughput and latency, including the effect of write acknowledgment.