December 03, 2011
MongoDB in Action is now in print! This means two things:
- You can read a single book about MongoDB that takes you from total beginner to budding master.
- 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.
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...)
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...)
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...)
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...)
January 02, 2010
Want to try MongoDB in your browser? Just deployed this a few days ago:

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.)
December 15, 2009
Wherein I claim that MongoDB is for human-oriented programmers.
December 12, 2009
Note: Updated on Feb. 25, 2011 for MongoDB v1.8
(more...)
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...)
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...)