May 2013
3 posts
5 tags
New Geo Features in MongoDB 2.4
Motivation Geometric processing as a field of study has many applications, and has resulted in lots of research, and powerful tools. Many modern web applications have location based components, and require a data storage engines capable of managing geometric information. Typically this requires the introduction of an additional storage engine into your infrastructure, which can be a time...
May 21st
6 notes
4 tags
MongoDB, build parties, and deploying your web...
This is a guest post by Sean Reilly. Release your applications with MongoDB more often and get closer to the ultimate goal of deploying applications anytime and why not at 11am on Wednesday mornings? What you will learn… This article explores how to make use of MongoDB characteristics in order to avoid the downtime traditionally required by migration scripts in the SQL world. This is in...
May 13th
1 note
1 tag
ODBC Connector for MongoDB
This is a guest post by NYU Information Systems (MSIS) Graduate students Kyle Galloway, Pravish Sood and Dylan Kelemen. We are pleased to announce the Mongo-ODBC project. As NYU MSIS students in Courant Institute’s Information Technology Projects course, we are working under the guidance of 10gen and our Professor Evan Korth to develop an ODBC (Open-Database-Connectivity) driver for...
May 7th
April 2013
3 posts
9 tags
The MEAN Stack: MongoDB, ExpressJS, AngularJS and...
This is a guest post from Valeri Karpov, a MongoDB Hacker and co-founder of the Ascot Project.  A few weeks ago, a friend of mine asked me for help with PostgreSQL. As someone who’s been blissfully SQL-­free for a year, I was quite curious to find out why he wasn’t just using MongoDB instead. It turns out that he thinks MongoDB is too difficult to use for a quick weekend hack, and this...
Apr 30th
38 notes
10 questions to ask (and answer) when hosting...
This is a guest post from Dharshan Rangegowda, founder of Scalegrid, creators of MongoDirector. This originally appeared on the MongoDirector blog.  Are you hosting your production MongoDB instances on Amazon AWS? At MongoDirector.comwe manage hundreds of production MongoDB instances on AWS and have learnt a few things along the way. Here are a set of 10 questions you need to ask yourself and...
Apr 22nd
4 notes
New Hash-based Sharding Feature in MongoDB 2.4
Lots of MongoDB users enjoy the flexibility of custom shard keys in organizing a sharded collection’s documents. For certain common workloads though, like key/value lookup, using the natural choice of _id as a shard key isn’t optimal because default ObjectId’s are ascending, resulting in poor write distribution.  Creating randomized _ids or choosing another well-distributed field is always...
Apr 10th
5 notes
March 2013
4 posts
Deployment Best Practices: Monitor your resources
When you’re preparing a MongoDB deployment, you should try to understand how your application is going to hold up in production. It’s a good idea to develop a consistent, repeatable approach to managing your deployment environment so that you can minimize any surprises once you’re in production. The best approach incorporates prototyping your setup, conducting load testing, monitoring key...
Mar 28th
5 notes
7 tags
MongoDB 2.4 Javascript Changes
The upcoming release of MongoDB 2.4 brings an exciting change to the JavaScript engine. Previously, MongoDB ran Spidermonkey 1.7, but going forward, MongoDB will be running V8, the open-source high-performance JavaScript engine from Google. This means that from now on, whenever JavaScript is executed, V8 will be running the show. In this post we’ll examine the following primary impacts of this...
Mar 27th
1 note
MongoDB 2.4 Released
The MongoDB Engineering Team is pleased to announce the release of MongoDB 2.4. This is the latest stable release, following the September 2012 release of MongoDB 2.2. This release contains key new features along with performance improvements and bug fixes. We have outlined some of the key features below. For additional details about the release: 2.4 release notes MongoDB Downloads MongoDB 2.4...
Mar 19th
8 notes
MongoDB Tip: The touch Command
MongoDB 2.2 introduced the touch command, which loads data from the data storage layer into memory. The touch command will load a collection’s documents, indexes or both into memory. This can be ideal to preheat a newly started server, in order to avoid page faults and slow performance once the server is brought into production. You can also use this when adding a new secondary to an existing...
Mar 6th
1 note
February 2013
1 post
MongoDB and Hadoop: A Step-by Step Tutorial Using...
The following is a guest post from Jeremy Karn. This article is excerpted from ‘MongoDB + Hadoop: A Step-by-Step Tutorial’. Jeremy is a cofounder at Mortar Data, a Hadoop-as-a-service provider, and creator of mortar, an open source framework for data processing. People who are worried about scalability often find themselves looking at two tools: MongoDB for storing large amounts of...
Feb 19th
6 notes
January 2013
3 posts
Analyzing Your MongoDB Data with Analytica
This is a guest post by Nosh Petigara, president of Analytica Analytica is an analytics platform that makes it easy to analyze and report on data like user profiles, event logs, product catalogs, user-generated content, financial assets, or anything else you may have stored in you MongoDB database. Analytica is built from the ground up for rich document type data and uses a JSON-like...
Jan 29th
3 notes
4 tags
Checking Disk Performance with the mongoperf...
Note: while this blog post uses some Linux commands in its examples, mongoperf runs and is useful on just about all operating systems. mongoperf is a utility for checking disk i/o performance of a server independent of MongoDB. It performs simple timed random disk i/o’s. mongoperf has a couple of modes: mmf:false and mmf:true   mmf:false mode is a completely generic random physical I/O...
Jan 17th
2 notes
6 tags
MongoDB Text Search: Experimental Feature in...
Text search (SERVER-380) is one of the most requested features for MongoDB 10gen is working on an experimental text-search feature, to be released in v2.4, and we’re already seeing some talk in the community about the native implementation within the server. We view this as an important step towards fulfilling a community need.  MongoDB text search is still in its infancy and we encourage you to...
Jan 14th
5 notes
December 2012
5 posts
7 tags
WatchWatch
MongoDB Schema Design: Insights and Tradeoffs from Jetlore MongoDB’s flexible schema is a powerful feature, and to build a successful first application you need to know how to leverage this feature to its full extent. In this presentation, Montse Medina outlines lessons learned from building Jetlore, a social content marketing platform. Some performance tips from this video: Sometimes it’s...
Dec 21st
1 note
4 tags
Performance Tips: MongoDB at Firescope
Guest post by Pete Whitney Starting to work with any new technology or new API is always challenging at first. You’re often not quite sure of the best ways to get things done or if you’re are using the new technology in the most efficient manner. Furthermore, the early learning process is often littered with trial and error improvements that unfortunately take time to rework and reengineer into...
Dec 19th
7 tags
3D Repo Runs MongoDB
If you’re an architectural or engineering firm, you’ve undoubtedly confronted the difficulty of managing and collaborating on 3D assets like CAD drawings.  The act of sharing massive files is hard but feasible, but it is significantly complicated by the inability to determine that you’re using the latest version.  For the CAD-inclined, there’s hope. Jozef Dobos, a doctoral...
Dec 12th
3 notes
5 tags
November Driver Releases
On November 27, all 10gen supported drivers were updated with new error checking and reporting defaults. Each driver now has a MongoClient connection class to handle the error checking. On the same day there was also a server release with fixes on 2.2 PyMongo 2.4  Ruby Driver 1.8  C# 1.7 Java Driver 2.10.0 PHP Driver 1.3.0 Node.js Driver 1.2.0 Perl Driver .520 MongoDB 2.2
Dec 10th
1 note
4 tags
MongoQP: MongoDB Slow Query Profiler
Two times a year 10gen’s Drivers and Innovations team gather together for a face to face meeting to work together and setting goals for the upcoming six months. This year the team broke up into teams for an evening hackathon. MongoQP, a query profiler, was one of the hacks presented by Jeremy Mikola, PHP Evangelist at 10gen. Logging slow queries is essential for any database application, and...
Dec 5th
5 notes
November 2012
7 posts
3 tags
Lessons Learnt Building mongoengine
Recently, I attended both Pycon UK and Pycon Ireland to talk about the lessons I have learnt while maintaining mongoengine. The conferences were both excellent and surprisingly different. Pycon UK had quite an “unconference” feel, with some exciting sprint rooms - I wish I had more time as by all reports the educational jam was inspirational. Pycon Ireland in contrast felt more slick with booths...
Nov 29th
2 notes
Introducing MongoClient
Today we are releasing updated versions of most of the officially supported MongoDB drivers with new error checking and reporting defaults. See below for more information on these changes, and check your driver docs for specifics. Over the past several years, it’s become evident that MongoDB’s previous default behavior (where write messages did not wait for a return code from the server by...
Nov 27th
7 notes
5 tags
Storage-viz: Storage Visualizers and Commands for...
Storage-viz is a suite of web-based visualizers and new experimental database commands that may help you understand how MongoDB utilizes storage and organizes btrees. Storage-viz is now available in the MongoDB Nightly builds. When a MongoDB collection is created, an on-disk extent is allocated to store the documents. Each time a newly created or updated document cannot fit into the existing...
Nov 20th
5 notes
7 tags
Interview with Joe Devon, Organizer of the Los...
The Los Angeles MongoDB User Group was founded in the summer of 2011 and, thanks to the leadership of Joe Devon, has grown to over 400 members in the past year. Joe Devon, a long-time member of the Silicon Beach tech community, shares his insights from a year of working with the MongoDB community in Los Angeles.  You’re a User Group Veteran. How did you get started organizing user...
Nov 12th
2 notes
12 tags
Data Science on MongoDB...At Last!
Today, I’m excited to announce the launch of Precog for MongoDB, a release that bundles all of the really cool Precog technology into a free package that anyone can download and deploy on their existing MongoDB database. Precog is a data science platform that lets developers and data scientists do advanced analytics and statistics using Quirrel, the “R for big data” language. You can analyze data...
Nov 7th
5 notes
9 tags
MongoDB for the PHP Mind, Part 3
This is part 3 in a series, which will focus on the data modeling aspect of working with document databases. The previous parts are also available for reading: Part 1: Getting Started, and Part 2: Queries and Indexes. The Usual Suspects Although there are plenty of existing articles, presentations and webcasts about modeling your data to take advantage of a document database, this post is taking...
Nov 6th
3 notes
11 tags
October MongoDB Blogroll and Releases
Noteworthy Blog Posts of the Month Motor Installation Instructions by  a. jesse jiryu davis Interview and Hacking Session with Steven Chin, by Trisha Gee Big Data for the Rest of us at Strata NYC by Steve Francia Managing Pull Requests for the MongoDB PHP Driver by Derick Rethans Writing Reactive Webapps with ReactiveMongo and Play!, pt. 2 by Stéphane Godbillon Monitoring the MongoDB Shard...
Nov 5th
2 notes
October 2012
8 posts
13 tags
Password Authentication with Mongoose (Part 2):...
This post is Part 2 (of 2) on implementing secure username/password authentication for your Mongoose User models. In Part 1 we implemented one-way password encryption and verification using bcrypt. Here in Part 2 we’ll discuss how to prevent brute-force attacks by enforcing a maximum number of failed login attempts. This was originally posted on the DevSmash Blog  Quick Review If you haven’t done...
Oct 24th
9 tags
Online MongoDB Classes Start Today
A guest post from Andrew Erlichson, 10gen’s VP of Education Free, Online MongoDB classes start this week and there is still time to join one of the two courses: MongoDB for Developers and MongoDB for DBAs. I am teaching the developer course along with Richard Kreuter. Richard is a lead consulting engineer and has significant experience with MongoDB users around the world. Dwight Merriman, founder...
Oct 23rd
2 notes
11 tags
ReactiveMongo for Scala: Unleashing MongoDB...
This is a guest post by Stéphane Godbillon, software architect at Zenexity _ I am very excited to introduce ReactiveMongo, a brand new Scala driver for MongoDB. More than just yet-another-async-driver, it’s a _reactive driver that allows you to design very scalable applications unleashing MongoDB capabilities like streaming infinite live collections and files for modern Realtime Web...
Oct 18th
3 notes
11 tags
Planet MongoDB
To read up on the most up-to-date blog posts on MongoDB check out Planet MongoDB, a newly-released aggregator of the best blogs on MongoDB. MongoDB community members share tips, ticks and best practices on using MongoDB on a regular basis, and Planet MongoDB will bring that expertise into a single feed. If you have a blog you would like to see added to the aggregator let us know so we can add you...
Oct 17th
1 note
13 tags
How MongoDB's Journaling Works
This was originally posted to Kristina Chodorow’s blog, Snail in a Turtleneck I was working on a section on the gooey innards of journaling for The Definitive Guide, but then I realized it’s an implementation detail that most people won’t care about. However, I had all of these nice diagrams just laying around.  Good idea, Patrick! So, how does journaling work? Your disk has...
Oct 16th
7 notes
9 tags
Password Authentication with Mongoose Part 1
This post is Part 1 (of 2) on implementing secure username/password authentication for your Mongoose User models, originally posted on Jeremy Martin’s DevSmash Blog. In this first installment, we will discuss how to implement one-way encryption of user passwords with bcrypt, and how to subsequently use the encrypted password for login verification. Update: Password Authentication with Mongoose...
Oct 4th
1 note
7 tags
September Blog, Release and 2.2 Roundup
Noteworthy Blog Posts of the Month Password Authentication with Mongoose Implementing Mass Login Attempts with Mongoose Motor Progress Report GridFS MongoDB and Hardware Profiles MongoDB Schema Design at Scale How MongoDB Makes Custom ecommerce Easy Design and Performance Tips for MongoDB Indexes New Driver Releases MongoDB 2.2.1 rc0 Java Driver 2.9.0 Perl Driver 0.46.1 MongoDB 2.2 Round...
Oct 2nd
9 tags
Fast datetimes in MongoDB
This was originally posted to Mike Friedman’s blog. Mike is a Perl Evangelist at 10gen, working on the Perl Driver for MongoDB One of the most common complaints about the Perl MongoDB driver is that it tries to be a little too clever. In the current production release of MongoDB.pm (version 0.46.2 as of this writing), all datetime values retrieved by a query are automatically instantiated as...
Oct 1st
September 2012
5 posts
11 tags
How MongoDB makes custom e-commerce easy
The market for open source e-commerce software has gone through a lot of stages already, as you might know it by popular platforms like osCommerce, Magento, Zen Cart, PrestaShop, Spree, just to name a few. These platforms are frequently used as a basis for custom e-commerce apps, and they all require a SQL database. Given the inherent challenge in adapting open source software to custom features,...
Sep 17th
6 notes
7 tags
MongoDB Sharding Visualizer
We’re happy to share with you the initial release of the MongoDB sharding visualizer. The visualizer is a Google Chrome app that provides an intuitive overview of a sharded cluster. This project provides an alternative to the printShardingStatus() utility function available in the MongoDB shell. Features The visualizer provides two different perspectives of the cluster’s state. ...
Sep 14th
7 notes
6 tags
Perl Driver 0.46.1 Released
This was originally posted to Mike Friedman’s personal blog I’m happy to announce that after a long delay, version 0.46.1 of the Perl MongoDB driver has now been uploaded to CPAN, and should be available on your friendly local CPAN mirror soon. This release is mostly a series of minor fixes and housekeeping, in preparation for developing a more detailed roadmap for more frequent...
Sep 5th
1 note
10 tags
Motor: Asynchronous Driver for MongoDB and Python
Tornado is a popular asynchronous Python web server. Alas, to connect to MongoDB from a Tornado app requires a tradeoff: You can either use PyMongo and give up the advantages of an async web server, or use AsyncMongo, which is non-blocking but lacks key features. I decided to fill the gap by writing a new async driver called Motor (for “MOngo + TORnado”), and it’s reached the...
Sep 5th
2 notes
7 tags
August MongoDB Releases and Blogroll
This August saw a number of new MongoDB releases, including MongoDB 2.2 and compatible driver releases MongoDB 2.2 released Node.js Driver 1.1 .5 released For full overview of changes to the driver see the blog post by maintainer Christian Kvalheim. MongoDB .NET/C# Driver 1.6.0 Released Pymongo 2.3 Released Ruby Driver 1.7.0.rc0 Released PHP Driver version 1.3.0beta1...
Sep 2nd
3 notes
August 2012
10 posts
9 tags
MongoDB 2.2 Released
We are pleased to announce the release of MongoDB version 2.2.  This release includes over 1,000 new features, bug fixes, and performance enhancements, with a focus on improved flexibility and performance. For additional details on the release: 2.2 Release Notes MongoDB Downloads MongoDB Manual Version 2.2 Online Conference New Features Aggregation Framework The Aggregation Framework is...
Aug 29th
4 notes
8 tags
Hosting and Developing the HTML5 Game Cobalt...
This was originally posted on the OpenShift blog by Thomas Hunter. So, you’re interested in getting the HTML5 Game Cobalt Calibur hosted for free? Look no further, Red Hat’s OpenShift can do that for you. Follow this guide and you’ll be up and running in no time. Cobalt Calibur is a multiplayer browser-based game which uses a bunch of HTML5 features to run on the frontend, and requires a...
Aug 22nd
3 notes
Interview with David Mytton, organiser of the...
The London MongoDB User Group was founded in March 2011, and since then has grown to approximately 650 members. The group meets the last Tuesday of every month at 10gen’s new London office in Shoreditch. A very short interview with David Mytton, organiser of the London MongoDB User Group and founder of Server Density. What are the biggest challenges you have running the London MongoDB User...
Aug 20th
6 tags
Getting going quickly with Python, MongoDB, and...
This post originally appeared on the OpenShift blog As a follow up to my last post about getting spatial going in MongoDB on OpenShift, today we are going to put a web service in front of it using Python. There are several goals for this article: Learn a little bit about Flask - a Python web framework Learn about how to connect to MongoDB from Python Create a REST Style web service to use in...
Aug 19th
4 notes
Pub/sub with MongoDB
There are plenty of existing messaging systems out there (Redis, AMQP, ØMQ, etc.) but I’ve recently found MongoDB to be a very compelling alternative, especially if you’re already running MongoDB somewhere in your setup. Using MongoDB’s capped collections and tailable cursors we can build a simple pub/sub system to communicate messages (documents) between processes. Tailable Cursors When...
Aug 15th
9 notes
5 tags
Designing MongoDB Schemas with Embedded,...
This was originally posted to the Red Hat OpenShift blog With the rapid adoption of schema-less, NoSQL data stores like MongoDB, Cassandra and Riak in the last few years, developers now have the ability enjoy greater agility when it comes to their application’s persistence model. However, just because a datastore is schema-less, doesn’t mean the structure of the stored documents won’t play an...
Aug 10th
9 notes
2 tags
Introducing Mongo Connector
MongoDB is a great general purpose data store, but for some workflows, you may want to use another tool or integrate data from MongoDB into another system. To address this common interest, we built Mongo Connector, which is a generic connection system that you can use to integrate MongoDB with another system with simple CRUD operational semantics (i.e. insert, update, delete, and search...
Aug 10th
4 notes
1 tag
MacOSX Preferences Pane for MongoDB
This is a guest post from RémySAISSY of OCTOTechnology In my work as a developer, I keep a full development environment with several MongoDB instances and data sets on mylaptop. As an OS X user, I love having beautiful and efficient applications to do everything. Today,I have the pleasure to announce the release of the MacOSX Preferences Pane for MongoDB. What is it for? The MacOSX...
Aug 7th
2 notes
July 2012 Release Summary
MongoDB 2.0.7 rc1 MongoDB 2.2.0 rc0 At the same time the drivers team has been hard at work improving the drivers and adding support for new features in the upcoming 2.2 release. These releases are: C# Driver 1.5.0 PyMongo 2.2.1 MongoEngine 0.6.18 PHP Driver 1.2.11 For up-to-date information on new MongoDB releases join the MongoDB announcements mailing list.
Aug 3rd
7 tags
MongoDB Blogroll: The Best of July 2012
Every month, we’ll be publishing the best community blog posts from the month. Here is the digest for July: Mike O’Brien, node.js and python engineer at 10gen, wrote an overview of tips and tricks for using mongo, the MongoDB shell Jesse Jiryu Davis published an overview of Motor, the Asynchronous python driver for MongoDB.  Kristina Chodorow wrote an overview of Shard Tagging, a new...
Aug 2nd
July 2012
8 posts
New MongoDB Desktop Backgrounds
A couple of MongoDB-themed backgrounds, courtesy of 10gen’s graphic designer Katie Peters. Feel free to use and enjoy!
Jul 30th
1 note