This chapter was more practical than previous chapters, because you learned the basics of creating and developing a cluster network in MongoDB in order to make a MongoDB server.
First of all, you learned about the replication procedure and how it works. Then, you had a brief description of the replica set architecture. Next, we talked about the replica set failover, how it works, and the replica set election process. We also gave you a detailed explanation of replica set members such as the primary
, secondary
, and arbiter
nodes.
Next, you learned about the sharding network in MongoDB that gives developers the ability to make a sharded cluster network and divide the database over different servers. This action helps us make the MongoDB server mush faster and easier to manage. Furthermore, we learned about vertical and horizontal scaling and why horizontal scaling is better and more efficient than vertical scaling. We also learned about sharded cluster network members such as the configuration...