Finding and terminating long-running operations in MongoDB

When your MongoDB becomes unresponsive, it’s imperative that you can quickly identify the cause. Although there can be many reasons for unresponsiveness, we sometimes find that particularly long-running and/or blocking operations (either initiated by a human or an application) are the culprit. Some examples of common operations that can bog down the database are: operations […]

Full Article

Managing disk space in MongoDB

In our previous post on MongoDB storage structure and dbStats metrics, we covered how MongoDB stores data and the differences between the dataSize, storageSize and fileSize metrics. We can now apply this knowledge to evaluate strategies for re-using MongoDB disk space. When documents or collections are deleted, empty record blocks within data files arise. MongoDB […]

Full Article

How big is your MongoDB?

Update 11/10/14: The next blog post in this series is on managing disk space in MongoDB. As your MongoDB grows in size, information from the db.stats() diagnostic command (or the database “Stats” tab in our management portal) becomes increasingly helpful for evaluating hardware requirements. We frequently get questions about the dataSize, storageSize and fileSize metrics, so […]

Full Article

MongoLab Now Supports Two-Factor Authentication

(Updated: 2014-01-08 Two-factor authentication is now GA) Here at MongoLab, security is one of our foremost concerns.  Part of our stewardship of our users’ data, in addition to keeping it accessible and intact, is doing our best to secure it against unauthorized access. Today, as part of that effort, we are excited to announce our […]

Full Article

Deep Dive into Connection Pooling

As your application grows in functionality and/or usage, managing resources becomes increasingly important. Failure to properly utilize connection pooling is one major “gotcha” that we’ve seen greatly impact MongoDB performance and trip up developers of all levels. Connection pools Creating new authenticated connections to the database is expensive. So, instead of creating and destroying connections […]

Full Article

Round Two: Node Knockout 2013!

Hey Node hackers! Given last year’s tremendous turnout and success, MongoLab is very happy to sponsor Node Knockout (Nov 8-10) once again. If you’re wondering what the buzz is about, Node Knockout is a 48-hour hackathon featuring Node.js. It’s an online virtual competition with contestants worldwide. The competition kicks off at 12:00 AM / 00:00 UTC […]

Full Article

Do you want a timeout?

You’re feeling accomplished and excited; the new features for your application are finished, committed, and deployed. You fire it up, expecting your shiny new app on your screen. Unexpectedly, the app errors out or hangs indefinitely. What’s going on?! You may have just had your first direct encounter with the subtleties of your MongoDB driver’s […]

Full Article

Are you ready for production?

Updated article on 03/24/15 Transitioning your application from development to production is a monumental step. Over the years, we at MongoLab have acquired a lot of valuable experience helping our customers successfully manage their production-grade MongoDB deployments. What follows is a checklist of action items that we’ve found imperative for successfully taking your application to […]

Full Article

Harnessing the power of Twitter and MongoDB

Hey Mongoers! I recently had the pleasure of joining the MongoLab team.  I share this with you for two reasons: First, you can too! (We’re hiring!). But also because I remember when I heard about MongoDB, I created an account on MongoLab and thought… now what? Twitter-Harvest With open-source technologies proliferating as “Big Data” and […]

Full Article

Production MongoDB Replica Sets now available on Windows Azure!

After many months of development and testing we are pleased to announce MongoLab’s first production-ready database plans on the Windows Azure platform with immediate availability in Windows Azure’s East US and West US datacenters. What does this new plan include? A three-node Replica Set cluster (two data-bearing nodes plus one arbiter node) Dedicated mongod processes […]

Full Article