Book Image

MongoDB Cookbook

By : Amol Nayak
Book Image

MongoDB Cookbook

By: Amol Nayak

Overview of this book

<p>MongoDB is a high-performance and feature-rich NoSQL database that forms the backbone of numerous complex development systems. You will certainly find the MongoDB solution you are searching for in this book.</p> <p>Starting with how to initialize the server in three different modes with various configurations, you will then learn a variety of skills including the basics of advanced query operations and features in MongoDB and monitoring and backup using MMS. From there, you can delve into recipes on cloud deployment, integration with Hadoop, and improving developer productivity. By the end of this book, you will have a clear idea about how to design, develop, and deploy MongoDB.</p>
Table of Contents (17 chapters)
MongoDB Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


Monitoring and backups are important aspects of any mission-critical software in production. Monitoring proactively lets us take actions whenever any abnormal event occurs in the system, which can compromise the data consistency, availability, or the performance of the system. Issues might come to light after having a significant impact in the absence of proactive monitoring of the systems. We covered administration-related recipes in Chapter 4, Administration, and both monitoring and backup activities are part of it. However, they demand a separate chapter, as the content to be covered is extensive. In this chapter, we will see how to monitor various parameters and set up alerts for various parameters of your MongoDB cluster, using the MongoDB Monitoring Service (MMS). We will look at some mechanisms to back up the data using the out-of-the-box tools provided and also using the MMS backup service.