10gen is the corporate sponsor of MongoDB. MongoDB bridges the gap between key-value stores (which are fast and highly scalable) and traditional RDBMS systems (which provide rich queries and deep functionality).
Node and MongoDB
Node.js is turning out to be a framework of choice for building real-time applications of all kinds, from analytics systems to chat servers to location-based tracking services. If you're still new to Node, check out Simon Willison's excellent introductory post. If you're already using Node, you probably need a database, and you just might have considered using MongoDB.
Node.js MongodB Driver
Need a real-world example? Check out Hummingbird, Michael Nutt's real-time analytics app. It's built on top of MongoDB using Node.js and the mongodb-node-native driver. Hummingbird, which is used in production at Gilt Groupe, brings together an impressive array of technologies; it uses the express.js Node.js app framework and sports a responsive interface with the help of web sockets. Definitely worth checking out.
Of course, one of the admitted difficulties in working with Node.js is dealing with deep callback structures. If this poses a problem, or if you happen to want a richer data modeling library, then Mongoose is the answer. Created by Learnboost, Mongoose sits atop mongodb-node-native, providing a nice API for modeling your application.
View the discussion thread.blog comments powered byDisqus