Database Reference
In-Depth Information
Summary
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 serv-
er.
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 fail-
over, how it works, and the replica set election process. We also gave you a detailed ex-
planation 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 abil-
ity 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 mem-
bers such as the configuration server, shards, and query routers.
In the next chapter, we will talk in detail about creating a sharded cluster and replica set
network in a real-world example. Furthermore, we will learn how to choose a sharded key
for different purposes based on our data.
Search WWH ::




Custom Search