Scaling MongoDB

( 2 )


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...

See more details below
$25.42 price
(Save 15%)$29.99 List Price
Other sellers (Paperback)
  • All (12) from $14.06   
  • New (7) from $20.09   
  • Used (5) from $13.96   
Scaling MongoDB

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$10.49 price
(Save 38%)$16.99 List Price


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.

Read More Show Less

Product Details

  • ISBN-13: 9781449303211
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 3/7/2011
  • Edition number: 1
  • Pages: 66
  • Product dimensions: 6.60 (w) x 8.90 (h) x 0.10 (d)

Meet 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. She’s given talks at conferences around the world, including OSCON, LinuxCon, FOSDEM, and Latinoware.

Read More Show Less

Table of Contents

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;

Read More Show Less

Customer Reviews

Average Rating 4
( 2 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Posted April 7, 2011

    A quick, but comprehensive read on Sharding with MongoDB

    The ebook weighs in at 64 pages. You can get a dead-tree copy via print on demand, but I recommend against it. Sharding in mongodb is a moving target. For example, right around publication time, the default chunk size of shards was changed from 200MB to 64MB. Therefore, if you rushed out and bought a print on demand copy, you would end up being stuck with a paper with that wrong piece of information. Ebook owners however can download an updated copy.

    The writing style in the book is very matter of fact, and quite readable. It takes a certain talent to be able to use terms like cardinality and illustrate sharding with interval notation without sounding unnecessarily academic. Kristina demonstrates said talent here.

    My one complaint about the book is that it does not discuss the problems with running the shard server on windows. However, as Kristina pointed out to me on twitter, the book also does not deal with writing init.d or upstart scripts for mongos on unix, so windows is not being singled out here.

    However, my one complaint, the book is quite comprehensive in its 64 pages. If I ever do need to use sharding in production, I will be reading the book very closely, and I'd recommend anyone else thinking about sharding mongodb do the same.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 1, 2011

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)