Преглед на файлове

feat(Documentation/discovery-protocol): explain heartbeating

Explain more information about how the TTL works and etcds role.
Brandon Philips преди 12 години
родител
ревизия
2d75ef0c7a
променени са 1 файла, в които са добавени 7 реда и са изтрити 1 реда
  1. 7 1
      Documentation/discovery-protocol.md

+ 7 - 1
Documentation/discovery-protocol.md

@@ -79,4 +79,10 @@ Using this information you can connect to the rest of the peers in the cluster.
 
 ### Heartbeating
 
-At this point you will want to heartbeat your registration URL every few hours. This will be done via a Go routine inside of etcd.
+At this point etcd will start heart beating to your registration URL. The
+protocol uses a heartbeat so permanently deleted nodes get slowly removed from
+the discovery information cluster.
+
+The heartbeat interval is about once per day and the TTL is one week. This
+should give a sufficiently wide window to protect against a discovery service
+taking a temporary outage yet provide adequate cleanup.