Implementing Replica Set: Strategy to Improve the Performance of NoSQL Database Cluster in MongoDB

Wisnu Uriawan, Ridwan Ahmad Fauzan, Rifky Zaini Faroj, Pitriani Pitriani, Reski Firmansyah · Preprints.org · 2024

This study investigates the implementation and performance benefits of using a MongoDB replica set compared to a single node setup. The primary objective was to evaluate the efficiency and reliability improvements provided by replication in a NoSQL database cluster. The research involved configuring a single node and a three-node replica set, followed by conducting performance tests using CRUD operations on both setups. The results indicated that while the single node exhibited faster write operations, the replica set significantly improved read performance and provided high availability and fault tolerance. The findings highlight the advantages of using a replica set for applications requiring robust data access and consistent performance under varying workloads.

Read the paper · More papers on PaperTik