Permalink
Browse files

cleaned up documentation, round 1

  • Loading branch information...
1 parent ab67e70 commit ed355dc1f695adcaf66b689bd8f4ef6511ce0261 @kornypoet kornypoet committed Apr 9, 2012
Showing with 17 additions and 0 deletions.
  1. +17 −0 notes/cluster_notes.md
View
@@ -0,0 +1,17 @@
+### How to choose shards, replicas and cluster size: Rules of Thumb.
+
+sh = shards
+rf = replication factor. replicas = 0 implies rf = 1, or 1 replica of each shard.
+
+pm = running data_esnode processes per machine
+N = number of machines
+
+n_cores = number of cpu cores per machine
+n_disks = number of disks per machine
+
+* You must have at least as many data_esnodes as
+ Mandatory: (sh * rf) < (pm * N)
+
+ Shards: shard size < 10GB
+
+More shards = more parallel writes

0 comments on commit ed355dc

Please sign in to comment.