10 Tips: How to Run MongoDB at Scale
Join the DZone community and get the full member experience.Join For Free
We all know that MongoDB is web scale, but how, exactly, does one run MongoDB at scale? Asya Kamsky, Principal Solutions Architect at MongoDB, has published a list of ten tips for doing so over at High Scalability. Each tip Kamsky provides includes a brief explanation, outlining potential pitfalls and optimization tricks for each. The topics covered are as follows:
- The role of DevOps
- The importance of monitoring and preparing for growth
- Unexpected obstacles
- Using a single replica set
- When your data doesn't fit in RAM
- Flushing to disk
- The importance of backups
- Replica set health
- Knowing your security needs
- When (not) to tinker under the hood
Ultimately, many of Kamsky's conclusions echo what we hear often hear about NoSQL solutions: don't get so caught up in the shiny-and-new idea of something that you fail to tailor it to your specific needs. That can have some negative consequences, after all. So, if you're in need of some tips on how to run MongoDB at scale while maximizing efficiency, check out Kamsky's full post.
Opinions expressed by DZone contributors are their own.