MongoDB in Action is Here!

December 03, 2011

MongoDB in Action is now in print! This means two things:

  1. You can read a single book about MongoDB that takes you from total beginner to budding master.
  2. I can start blogging again. It turns out that book writing is much more intense that I’d imagined.

You can purchase and download the book from the publisher right now. ePub and Kindle versions will be available on December 23. If you’d like to read a bit more about the book, check out my MongoDB in Action blog.

Finishing the book feels much like finishing a marathon. There’s deep sense of relief and accomplishment. Of course, I could not have done it without the support of my family and my amazing colleagues at 10gen. I’m grateful to all these folks.

The book is dedicated to peace and human dignity. Most technical books aren’t dedicated to ideals, but I feel that working for peace and the dignity of all human beings is as important as ever and that expressing that, even in a small way, is worthwhile.

If you end up buying the book, many thanks in advance. I sincerely hope that it proves useful, even enjoyable.

funky dingbat

The Joy of Indexing

September 21, 2010

We spend quite a lot of time at 10gen supporting MongoDB users. The questions we receive are truly legion but, as you might guess, they tend to overlap. We get frequent queries on sharding, replica sets, and the idiosyncrasies of JavaScript, but the one subject that never fails to appear each day on our mailing list is indexing.  (more...)

funky dingbat

E-commerce Inventory with MongoDB

June 07, 2010

In my last post, I sketched out how a few e-commerce domains might be modeled using MongoDB. Among the examples was an illustration of how inventory could be managed using the database’s find_and_modify command (more...)

funky dingbat

MongoDB and E-commerce

April 30, 2010

There are still a number of misconceptions regarding MongoDB’s suitability for e-commerce sites. I refer, in particular, to this stackoverflow posting (more...)

funky dingbat

Do the MongoDB Drivers Support Feature X?

March 28, 2010

With MongoDB’s aggressive roadmap, new features are constantly being added. Notable in the 1.4 release are the $addToSet update operator, the findAndModify command, and indexes supporting two-dimensional coordinates. Usually the first question from users is whether their driver supports the new features. Happily, the answer is almost always yes; in this post, I explain why that is so.  (more...)

funky dingbat

Try MongoDB

January 02, 2010

Want to try MongoDB in your browser? Just deployed this a few days ago:

Try MongoDB Screenshot

One of the nice things about MongoDB’s JavaScript shell is that we can run a variation on it directly in the browser. It doesn’t provide near the functionality of the actual shell, but users can still get a feel for CRUD in MongoDB, and it’s possible to use any of the nifty query and update operators.

Anyone who’d like to contribute can fork the code on github.

(Almost forgot to mention that this is indeed inspired by, and is a little homage to, the great _why.)

funky dingbat

Slides: MongoDB (is) for Rubyists

December 15, 2009

Wherein I claim that MongoDB is for human-oriented programmers.

funky dingbat

MongoDB Aggregation III: Map-Reduce Basics

December 12, 2009

Note: Updated on Feb. 25, 2011 for MongoDB v1.8  (more...)

funky dingbat

MongoDB Aggregation II: Grouping Elaborated

November 30, 2009

This is the second in a series of articles on MongoDB’s aggregation functions. In the first installment, we looked at count(), distinct(), and some of the basics of group(). But group() is rather a beast, so here we take an extended example, and look at two deep features: finalizers and key functions.  (more...)

funky dingbat

MongoDB Aggregation I: Counting and Grouping

November 22, 2009

This is the first in a series of articles detailing the syntax, patterns, and use cases for MongoDB’s aggregation functions:  (more...)

funky dingbat