NoSQL Zone is brought to you in partnership with:

John Esposito edits Refcardz at DZone, while writing a dissertation on ancient Greek philosophy and raising two cats. In a previous life he was a database developer and network administrator. John is a DZone Zone Leader and has posted 326 posts at DZone. You can read more from them at their website. View Full User Profile

MongoDB Done Right in the Cloud

11.10.2011
| 3028 views |
  • submit to reddit

Developing for the cloud, thinking about MongoDB?

If not, maybe you should be. Or at least you should watch this talk by Eytan Daniyalzade, software developer at chartbeat.com, who chronicles almost two years of experience running MongoDB on EC2.

To be honest, the combo doesn't sound like a flawless victory to me. For one thing, MongoDB's global read/write lock sounds less than perfect for EBS.

But don't take my guess for it: recall foursquare.com's 11-hour outage last year, which in part cascaded from some imperfectly-tuned interactions of MongoDB and EC2 (performance-related, unsurprisingly). (See this fuller discussion for details on the outage, particularly re. sharding, or watch foursquare's own MongoDB presentation from this May.)

10gen gave a webinar introducing MongoDB on AWS earlier this year -- pretty long and fairly technical, but a good manual-style treatment. Watch if you want to hear the creators' story.

But it's always good to pair a manual with a user experience, especially a less dramatic experience than foursquare's. So check out Eytan's presentation too, which is full of pluses and minuses but overall communicates a very positive MongoDB + EC2 experience.