Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |