Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Adventures in MongoDB Collection Migration

DZone's Guide to

Adventures in MongoDB Collection Migration

· Database Zone
Free Resource

MongoDB Atlas is a database as a service that makes it easy to deploy, manage, and scale MongoDB. So you can focus on innovation, not operations. 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.

MongoDB Atlas is the best way to run MongoDB on AWS — highly secure by default, highly available, and fully elastic. Get started free. 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 }}