an aggregator for blogs about MongoDB

A NodeJS Perspective on What’s New in MongoDB 2.6, Part I: Text Search

MongoDB shipped the newest stable version of its server, 2.6.0, this week. This new release is massive: there were about 4000 commits between 2.4 and 2.6. Unsurprisingly, the release notes are a pretty dense read and don’t quite convey how cool some of these new features are. To remedy that, I’ll dedicate a couple posts […]


Elastic Deployments, now with MongoDB 2.6

We’re excited to announce today support for MongoDB 2.6. MongoDB 2.6 is one of the largest releases MongoDB, Inc. has ever issued — aptly calling it “a quantum leap forward” that builds upon five years of making developers happy. How cool is that? We’re here to help you get up and running on this new…


Motor 0.2 Released

Motor

Version 0.2 of Motor, the asynchronous MongoDB driver for Python and Tornado, has been released.

This release is compatible with MongoDB 2.6 and PyMongo 2.7. It dramatically improves interoperability with Tornado coroutines, includes support for non-blocking DNS, and adds numerous smaller features.

Links:

If you encounter any issues, please file them in our bug tracker.

That's it! With the Motor release behind me, I'm looking forward to enjoying PyCon, and talking about async at 3:15pm tomorrow.


Parallelising MongoDB Aggregation on a Sharded Database


In my last blog post, I explored how I could speed up a MapReduce-style aggregation job, by parallelising the work over subsets of a collection, using multiple threads, for a non-sharded MongoDB database. In this post, I look at how I took the same test case, and a similar approach, to see if I could achieve a speed up when aggregating the 10 million documents stored in a sharded MongoDB database.

Confession time....

After my success in speeding up an aggregation on a non-sharded database, I assumed this second phase of my investigation would be a walk in the park and I'd quickly march on to a conclusion exhibiting even greater gains, in a sharded environment. However, things didn't quite...


Cursors and the Aggregation Framework

Cursors and the Aggregation Framework

With MongoDB 2.6 released, the PHP driver for MongoDB has also seen many updates to support the features in the new MongoDB release. In this series of articles, I will illustrate some of those.

In this article, I will introduce command cursors and demonstrate how they can be applied to aggregations. I previously wrote about the Aggregation Framework last year, but since then it has received a lot of updates and improvements. One of those improvements relates to how the Aggregation Framework (A/F) returns results. Before MongoDB 2.6, the ...