Browse Source

Merge pull request #3125 from yichengq/doc-tuning

docs: update tuning.md to match today's situation
Yicheng Qin 10 years ago
parent
commit
d80f4c8aa2
1 changed files with 2 additions and 12 deletions
  1. 2 12
      Documentation/tuning.md

+ 2 - 12
Documentation/tuning.md

@@ -25,8 +25,8 @@ The election timeout should be set based on the heartbeat interval and your netw
 Election timeouts should be at least 10 times your ping time so it can account for variance in your network.
 Election timeouts should be at least 10 times your ping time so it can account for variance in your network.
 For example, if the ping time between your nodes is 10ms then you should have at least a 100ms election timeout.
 For example, if the ping time between your nodes is 10ms then you should have at least a 100ms election timeout.
 
 
-You should also set your election timeout to at least 4 to 5 times your heartbeat interval to account for variance in leader replication.
-For a heartbeat interval of 50ms you should set your election timeout to at least 200ms - 250ms.
+You should also set your election timeout to at least 5 to 10 times your heartbeat interval to account for variance in leader replication.
+For a heartbeat interval of 50ms you should set your election timeout to at least 250ms - 500ms.
 
 
 You can override the default values on the command line:
 You can override the default values on the command line:
 
 
@@ -62,13 +62,3 @@ $ etcd -snapshot-count=5000
 # Environment variables:
 # Environment variables:
 $ ETCD_SNAPSHOT_COUNT=5000 etcd
 $ ETCD_SNAPSHOT_COUNT=5000 etcd
 ```
 ```
-
-You can also disable snapshotting by adding the following to your command line:
-
-```sh
-# Command line arguments:
-$ etcd -snapshot false
-
-# Environment variables:
-$ ETCD_SNAPSHOT=false etcd
-```