Over a million developers have joined DZone.

Adventures in MongoDB Collection Migration

· Database Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database. Try it now! Brought to you in partnership with MongoDB.

The Dropbox blog has an excellent post for anyone using MongoDB on a large scale.  The startup, Mailbox, spent a lot of time making their own set of tools after discovering that the cloneCollection and renameCollection commands built into MongoDB weren't going to help them meet their scaling and performance reads, which they ran into often was MongoDB's database-level write lock.

The tools they created, dubbed "Hydra," have been open sourced on GitHub.  You should definitely read this post if you want to get an idea of how some really awesome developers solved some very tricky scalability problems in their MongoDB deployment.

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.

Topics:

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}