← All work

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.

← 全部作品

MongoDB 副本集性能研究

副本集能提升数据的可靠性,但也会带来性能开销。本研究对比 MongoDB 单节点与三节点副本集在不同负载下的表现,量化这部分开销。

项目背景
课程研究,UW Madison
技术栈
MongoDB、YCSB、CloudLab、Python
结论
写操作的开销高于读操作;要求三个节点全部确认写入时,延迟明显上升。

主要工作

  • 在 CloudLab 上运行 YCSB A 至 F 六类负载,以及纯读、纯写测试。
  • 每类负载执行 500 万次操作,并发线程数为 256。
  • 分析吞吐量与延迟,以及写确认级别对性能的影响。

Let’s talk.来聊聊吧

zkzzk34@gmail.com