If I start with Mongodb on a single server, but foresee that I need to scale out, should I configure it in any specific way? I guess I am looking for tips from people who have gone down this route.


No, Replica Sets and Sharding (the two methods of scaling and redundancy) do not require any special treatment to occur on the solo db so that you may later add them in. In fact, adding replication is reasonably painless and straight-forward. (Sharding does require a little more effort, but is still pretty easy.)

  • 1
    I'd suggest a minor edit to the answer: the only "special treatment" to the solo database server instance would to be to restart it in "replica set mode" and initiate a replica set config on it. Similar handling for sharding. Both are easy, and fairly well documented. – Mike Fiedler Apr 22 '12 at 12:50
  • That is only once the decision to make it a replica set. Until then, nothing needs to be done. – gWaldo Apr 23 '12 at 16:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.