Skip to content

Commit

Permalink
cleaned up documentation, round 1
Browse files Browse the repository at this point in the history
  • Loading branch information
kornypoet committed Apr 9, 2012
1 parent 946219d commit 4a55574
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions notes/cluster_notes.md
@@ -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 4a55574

Please sign in to comment.