diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2024-07-14 18:20:47 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2024-07-14 18:20:47 +0200 |
commit | 63aaa3bdea90fbfd33f752319b1296a7f0fb12ed (patch) | |
tree | 14f470837178b59e324b1fd97c389fbd4bef59a6 | |
parent | 0028e5c07a9adceedbdecaba1f816416b901a91c (diff) | |
download | lsd0004-63aaa3bdea90fbfd33f752319b1296a7f0fb12ed.tar.gz lsd0004-63aaa3bdea90fbfd33f752319b1296a7f0fb12ed.zip |
clarify frequency
-rw-r--r-- | draft-schanzen-r5n.xml | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml index 2d81bda..3c75039 100644 --- a/draft-schanzen-r5n.xml +++ b/draft-schanzen-r5n.xml | |||
@@ -929,13 +929,24 @@ Connectivity | |Underlay| |Underlay| | Underlay | ... | |||
929 | implementation, it is <bcp14>RECOMMENDED</bcp14> to choose external | 929 | implementation, it is <bcp14>RECOMMENDED</bcp14> to choose external |
930 | factors such as expiration of DHCP leases to determine the values. | 930 | factors such as expiration of DHCP leases to determine the values. |
931 | The specific frequency of advertisements | 931 | The specific frequency of advertisements |
932 | <bcp14>SHOULD</bcp14> be a fraction of the expiration | 932 | <bcp14>SHOULD</bcp14> be smaller than the expiration |
933 | period. | 933 | period. |
934 | It <bcp14>MAY</bcp14> additionally depend on available bandwidth, | 934 | It <bcp14>MAY</bcp14> additionally depend on available bandwidth, |
935 | the set of already connected neighbors, the workload of the system and | 935 | the set of already connected neighbors, the workload of the system and |
936 | other factors which are at the discretion of the developer. | 936 | other factors which are at the discretion of the developer. |
937 | Whenever a peer receives such a <tt>HELLO</tt> | 937 | If <tt>HelloMessages</tt> are not updated before they expire, |
938 | message from another peer that is already in the routing | 938 | peers might be unable to discover and connect to the respective |
939 | peer, and thus miss out on quality routing table entries. This | ||
940 | would degrade the performance of the DHT and <bcp14>SHOULD</bcp14> | ||
941 | thus be avoided by advertising updated <tt>HELLOs</tt> before the | ||
942 | previous one expires. When using unreliable underlays, it | ||
943 | <bcp14>MAY</bcp14> be a good idea to use an even higher frequency | ||
944 | to ensure that neighbours almost always have non-expired | ||
945 | <tt>HelloMessages</tt> at their disposal. | ||
946 | </t> | ||
947 | <t> | ||
948 | Whenever a peer receives such a <tt>HelloMessage</tt> | ||
949 | from another peer that is already in the routing | ||
939 | table, it must cache it as long as that peer remains in its | 950 | table, it must cache it as long as that peer remains in its |
940 | routing table (or until the <tt>HELLO</tt> expires) and | 951 | routing table (or until the <tt>HELLO</tt> expires) and |
941 | serve it in response to <tt>GET</tt> requests for | 952 | serve it in response to <tt>GET</tt> requests for |