Buy New

Sign in to turn on 1-Click ordering.
Buy Used
Used - Good See details
Price: 19.01

Trade in Yours
For a 5.57 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Image not available

Tell the Publisher!
Id like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

MongoDB in Action [Paperback]

Kyle Banker
5.0 out of 5 stars  See all reviews (1 customer review)
RRP: 28.99
Price: 24.79 & FREE Delivery in the UK. Details
You Save: 4.20 (14%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 4 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want it tomorrow, 12 July? Choose Express delivery at checkout. Details
Trade In this Item for up to 5.57
Trade in MongoDB in Action for an Amazon Gift Card of up to 5.57, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

19 Dec 2011 1935182870 978-1935182870 1


MongoDB in Action is a comprehensive guide to MongoDB for application developers. The book begins by explaining what makes MongoDB unique and describing its ideal use cases. A series of tutorials designed for MongoDB mastery then leads into detailed examples for leveraging MongoDB in e-commerce, social networking, analytics, and other common applications.

About the Technology

Big data can mean big headaches. MongoDB is a document-oriented database designed to be flexible, scalable, and very fast, even with big data loads. It's built for high availability, supports rich, dynamic schemas, and lets you easily distribute data across multiple servers.

About this Book

MongoDB in Action introduces you to MongoDB and the document-oriented database model. This perfectly paced book provides both the big picture you'll need as a developer and enough low-level detail to satisfy a system engineer. Numerous examples will help you develop confidence in the crucial area of data modeling. You'll also love the deep explanations of each feature, including replication, auto-sharding, and deployment

This book is written for developers. No MongoDB or NoSQL experience required.

Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

What's Inside
  • Indexes, queries, and standard DB operations
  • Map-reduce for custom aggregations and reporting
  • Schema design patterns
  • Deploying for scale and high availability

Table of Contents

  1. A database for the modern web
  2. MongoDB through the JavaScript shell
  3. Writing programs using MongoDB
  5. Document-oriented data
  6. Queries and aggregation
  7. Updates, atomic operations, and deletes
  9. Indexing and query optimization
  10. Replication
  11. Sharding
  12. Deployment and administration

Special Offers and Product Promotions

  • Spend 30 and get Norton 360 21.0 - 3 Computers, 1 Year 2014 for 24.99. Here's how (terms and conditions apply)

Frequently Bought Together

MongoDB in Action + MongoDB: The Definitive Guide + Hadoop: The Definitive Guide
Price For All Three: 70.88

Buy the selected items together

Product details

  • Paperback: 312 pages
  • Publisher: Manning Publications; 1 edition (19 Dec 2011)
  • Language: English
  • ISBN-10: 1935182870
  • ISBN-13: 978-1935182870
  • Product Dimensions: 2 x 18.5 x 23.1 cm
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (1 customer review)
  • Amazon Bestsellers Rank: 316,421 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, and more.

Product Description

About the Author

Kyle Banker works as a software engineer at 10gen, the company behind MongoDB, where he maintains the official MongoDB drivers for Ruby and C. He can be found blogging about MongoDB and related topics of interest at

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
3 of 3 people found the following review helpful
5.0 out of 5 stars Excellent book to learn MongoDB ... 24 Mar 2013
Format:Paperback|Verified Purchase
Very well-written, well-organised and quite accessible for someone with no prior MongoDB experience. True to its '... in action" theme, it was very useful to see the most important concepts applied to a real-world example(an E-Commerce application).

My approach with learning about different Mongo features, was to read the relevant part of this book first and go through the examples and then use the online Mongo manual for extra stuff and up-to-date information. I think the number one competitor for this book is the official mongo manual which is also of very high quality with plenty of examples.

Due to the fact the MongoDB is still being actively improved, the book doesn't cover the newly added aggregation framework unfortunately. It does cover however map-reduce(with useful examples) and the old-style aggregation commands.

And one minor complaint(potentially subjective): I wished the examples were using a more mainstream language like Java or C# instead of Ruby.
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.5 out of 5 stars  8 reviews
19 of 19 people found the following review helpful
5.0 out of 5 stars Very good breadth and depth -- 4.5 stars 19 Dec 2011
By Techie Evan - Published on
Very good breadth and depth -- 4.5 stars

This book covers MongoDB 2.0 and provides very useful recommendations on document- and system-design practices and patterns that application developers and administrators can adopt for their own work.

You must know Javascript and enough Ruby basics to be able to follow along, because the code examples use these two languages. If you are a MongoDB novice, note however that 10gen, the company behind MongoDB, does provide drivers in other languages for communicating with MongoDB, including Java, C#, Python, and PHP (please visit the MongoDB web site for a complete list of 10gen- and community-supported drivers and languages).

This book is divided into three parts. Part 1 introduces you to MongoDB, what makes it different from relational databases as well as simple key-value stores, and what application niches MongoDB can be good and not so good or appropriate for. The three chapters comprising Part 1 will get you started with the basics, such as how to install MongoDB, Ruby, and the Ruby driver for MongoDB for Linux, Mac, and Windows; how to startup the server and how to communicate with it using the Javascript shell and the Ruby driver, how to perform simple queries, and how to write a simple web application in Ruby using MongoDB as the data backend.

Part 2 provides tutorials on how to design, create, and manipulate document-oriented data models, with particular attention to achieving safety, flexibility, and efficiency. The tutorials use a data model revolving around Products, Product Categories, Users, Orders, and Product Reviews. The data model is sufficiently rich to facilitate deep-enough discussion of issues and concerns that could arise -- and how to handle them -- when building e-commerce, social media, and/or analytic applications around that data model. The three chapters comprising Part 2 provide a comprehensive introduction to MongoDB's CRUD (Create Read Update Delete) capabilities, and share many document design patterns that application developers can use in their own works.

Part 3 covers practices, tools, and utilities that administrators can use for securing, monitoring, and improving the availability and scalability of their MongoDB systems, as well as tips for developers on how to make their applications performant. The four chapters comprising Part 3 go into deep enough technical detail on how certain parts of MongoDB works under the hood to give both administrators and developers the necessary knowledge to help them make their MongoDB systems secure, available, and performant.

Overall, I thought the book is very well written and organized, and has very good breadth and depth. While there were a few minor editing slip-ups, they did not prove distracting to me. Part 1 failed to mention a few things that could have proved handy to novice developers, such as how to safely shut down a MongoDB Server -- would doing a Control - C be OK? The answer is YES, and this is actually mentioned later in the book. Another thing that might have made the book even more useful is providing more MAP-REDUCE code examples for data aggregation purposes. Currently, MongoDB does not provide many data aggregation functions available to relational database users, and while there is a plan to make such functions available in later releases, MongoDB users currently have to write custom code in the form of MAP-REDUCE functions themselves in many cases. The MAP-REDUCE discussion in the book is rather short, and the 2 code examples are probably inadequate for many developers who have such needs.
6 of 6 people found the following review helpful
4.0 out of 5 stars Wide in scope, easy to understand 14 Jan 2012
By Richard J. Wagner - Published on
In order, the book provides the following:
- An introduction to MongoDB, and why you would choose to use it
- The MongoDB Shell, an interface to MongoDB. You also get some basic administration information
- A simple application that uses MongoDB (written in Ruby)
- How to think of your data, in a document-centric way (it's different than the relational way!)
- Writing queries, and aggregating data the map reduce way
- How to update and delete data, including some performance tips
- Finding and improving slow queries
- Replicating MongoDB
- Sharding (xxxx partitioning)
- Operational considerations like monitoring, backups and recovery

The author, an employee of 10gen, clearly knows the subject well. The book does a good job of comparing and contrasting document centric and relational models, which should be a big help for readers new to the domain. The scope is wide, covering aspects from design to implementation, installation to administration. The writing is clear and easy to understand, the illustrations are clear and simple. (I do wish there were a few more illustrations, they are always appreciated.) The book reads like an easy conversation with a topic expert. Recommended for anyone using MongoDB.
11 of 13 people found the following review helpful
3.0 out of 5 stars Good content but littered with errors 8 Aug 2012
By Sebastien Arbogast - Published on
The content is great, but my edition is filled with errors, most of them being in the worst parts: code samples. And these are not small errors. I'm talking about entire lines removed and identifiers typed wrong. NoSQL is no easy topic and the least you can ask for when you pay for such a book is to have all errors removed. OK, there is an Errata page on Manning's website, but when you're reading your book comfortably in your bed, you don't have the errata at hand and it's really a pain in the ass. Plus, what's even more absurd is that I'm reading the eBook version of it, so how easy to you think it is to locate errata when page numbers don't match? And when in the world are they gonna figure out a way to patch your ebook remotely instead of writing an errata page? I'm really pissed at Manning. Next time, I won't buy my books, I'll find another way...
2 of 2 people found the following review helpful
5.0 out of 5 stars Solid 17 April 2013
By Shargors - Published on
Format:Paperback|Verified Purchase
This book is a bit outdated by now (current version of MongoDB is 2.4 and the book covers 2.0) but is still relevant. It covers the product very well. The explanations are clear and detailed enough. MongoDB is a complext product so I read and re-read some pages many times and it helped me a great deal to understand MongoDB in more and more detail. This is the only book I have read so far on MongoDB and I would still recommend it. I hope that the author will update the book with the material related to the new releases.
1 of 1 people found the following review helpful
5.0 out of 5 stars Excellent Introduction 20 Mar 2012
By Peter Burkholder - Published on
I picked up this book in preparation for a new job where I would be working extensively with MongoDB after having years in the MySQL world. As other reviewers have noted, Kyle has organized this into three parts: Getting Started, Application Development, and MongoDB Mastery.

The first section is a concise, readable overview of Mongo's pedigree, concepts and implementation, with an orientation to using the command line tools to create a db, a few simple collections, and to add documents and query on them. Kyle also guides you through building a very simple application in Ruby as a means to orienting you to the programming concepts.

Since I work largely as a system administrator I skipped the middle section and moved on to the 'Mastery' section on indexing, sharding, backups, maintenance and troubleshooting. Kyle uses very concrete examples with working code which makes everything far less abstract even if you don't follow along from the command line. Overall, this book let me jump into a new job feeling far more confident about managing this technology than would otherwise have been the case.

I've only given four of five start because I can't speak to the programming section, but I would be surprised if those were of any lower quality than the sections I did read.

Disclaimer: I did receive this book for review at no cost through Manning's user group program. Bottom Line: I would gladly pay cover price.

-Peter, Cloud Engineer/SysAdmin with Audax Health

UPDATE: I keep going back to reference this book so I've updated my rating to 5 stars (hard to do my work w/o it)
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category