1

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.

1 Answer 1

3

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.)

2
  • 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. Apr 22, 2012 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, 2012 at 16:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .