Skip to content

Commit 172683a

Browse files
committed
added comments regarding premature optimization and cleaned up examples in Requirements
1 parent 1aecde0 commit 172683a

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

source/tutorial/deploy-replica-set.txt

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,13 @@ sufficient redundancy to survive most network partitions and other
2020
system failures. A replica set of this also size provides sufficient
2121
capacity to host many distributed read operations.
2222

23-
.. Whoa, Whoa, Whoa... Is 10gen really recommending against redundancy?
24-
.. As a SysAd, I personally disagree with this notion; what I typically
25-
.. recommend is absolutely to implement a basic ReplSet in Prod, but not
26-
.. get into Sharding unless you find that it's really necessary.
27-
2823
While MongoDB's replica set functionality provides a great deal of flexibility
2924
and specific definable node behaviors or types, it's best to avoid this
3025
additional complexity until your application requires the functionality.
31-
26+
Until your circumstances require it, It is strongly recommended that
27+
you avoid using the additional configuration options (delayed nodes,
28+
hidden nodes, voting options, etc) unless your circumstances warrant
29+
the additional complexity. Avoid premature optimization.
3230

3331

3432
Requirements
@@ -39,9 +37,10 @@ of :program:`mongod`. For development systems you may run all three
3937
instances of the :program:`mongod` process on a local system. (e.g. a
4038
laptop) or within a virtual instance. For production environments, you
4139
should endeavor to maintain as much separation between the nodes. For
42-
instance: Deploy replica set members on distinct hardware, and on
43-
systems that draw power from different circuits, to the greatest extent
44-
possible.
40+
example, when using VMs in Production, each node should live on
41+
separate host servers, served by redundant power circuits, and with
42+
redundant network paths.
43+
4544

4645
Procedure
4746
---------
@@ -85,7 +84,7 @@ following options for more information: :option:`--port <mongod --port>`,
8584
<mongod --bind_ip>` option.
8685

8786
Connect to the mongod instance with the :program:`mongo` shell to the
88-
first host. If you're accessing this command remotely, replace
87+
first host. If you're running this command remotely, replace
8988
"localhost" with the approriate hostname. Open a new terminal session
9089
and enter the following: ::
9190

0 commit comments

Comments
 (0)