Synopses & Reviews
Create a MongoDB cluster that will grow to meet the needs of your application. With this short and concise book, you'll get guidelines for setting up and using clusters to store a large volume of data, and learn how to access the data efficiently. In the process, you'll understand how to make your application work with a distributed database system.
Scaling MongoDB will help you:
- Set up a MongoDB cluster through sharding
- Work with a cluster to query and update data
- Operate, monitor, and backup your cluster
- Plan your application to deal with outages
By following the advice in this book, you'll be well on your way to building and running an efficient, predictable distributed system using MongoDB.
Learn how to create large MongoDB clusters! Shows how to use MongoDB efficiently for very large databases. Covers sharding, cluster setup, and administration.
About the Author
Kristina Chodorow, a software engineer at 10gen, is a core contributor to the MongoDB project and has worked on the database server, PHP driver, Perl driver, and many other areas. Shes given talks at conferences around the world, including OSCON, LinuxCon, FOSDEM, and Latinoware.
Table of Contents
Preface; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Chapter 1: Welcome to Distributed Computing!; 1.1 What Is Sharding?; Chapter 2: Understanding Sharding; 2.1 Splitting Up Data; 2.2 Balancing; 2.3 mongos; 2.4 The Config Servers; 2.5 The Anatomy of a Cluster; Chapter 3: Setting Up a Cluster; 3.1 Choosing a Shard Key; 3.2 Sharding a New Collection; 3.3 Sharding an Existing Collection; 3.4 Adding and Removing Capacity; Chapter 4: Working With a Cluster; 4.1 Querying; 4.2 "Why Am I Getting This?"; 4.3 MapReduce; Chapter 5: Administration; 5.1 Using the Shell; 5.2 Monitoring; 5.3 Backups; 5.4 Suggestions on Architecture; 5.5 What to Do When Things Go Wrong; Chapter 6: Further Reading;