Over a million developers have joined DZone.

10 Tips: How to Run MongoDB at Scale

DZone's Guide to

10 Tips: How to Run MongoDB at Scale

· Performance Zone
Free Resource

Evolve your approach to Application Performance Monitoring by adopting five best practices that are outlined and explored in this e-book, brought to you in partnership with BMC.

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:

  1. The role of DevOps
  2. The importance of monitoring and preparing for growth
  3. Unexpected obstacles
  4. Using a single replica set
  5. When your data doesn't fit in RAM
  6. Flushing to disk
  7. The importance of backups
  8. Replica set health
  9. Knowing your security needs
  10. 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.

Learn tips and best practices for optimizing your capacity management strategy with the Market Guide for Capacity Management, brought to you in partnership with BMC.


Opinions expressed by DZone contributors are their own.


Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

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


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

{{ parent.tldr }}

{{ parent.urlSource.name }}