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 MongoDBwill 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.
- Preface
- Chapter 1: Welcome to Distributed Computing!
- Chapter 2: Understanding Sharding
- Chapter 3: Setting Up a Cluster
- Chapter 4: Working With a Cluster
- Chapter 5: Administration
- Chapter 6: Further Reading
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. She’s given talks at conferences around the world, including OSCON, LinuxCon, FOSDEM, and Latinoware.
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 l“!