Database Reference
In-Depth Information
You can see the replication procedure in the preceding diagram that is used to synchronize
data between the primary node, which accepts all read/write operations, and second-
ary nodes. Thus, all secondary nodes and primary nodes will have the same dataset
after completing the synchronization process.
With the replication procedure, you will have redundancy in your database, but this re-
dundancy brings data availability. Furthermore, multiple copies of a single database pro-
tect the database from failure, data loss, or hardware crashes. On the other hand, you can
simply assign a dedicated server for backup or failure recovery. Actually, each server con-
tains an individual MongoDB instance.
Additionally, MongoDB clients can send the read operations to different servers; conse-
quently, using this approach, you can increase the read performance in high load.
Search WWH ::




Custom Search