How it Works
This section describes how this feature works.
Instead of considering each peer as an ETCD record entry, several peers are grouped as a peer group based on the hash value of the IP address of each peer. This reduces the number of entries in ETCD. By default, a maximum of 200 peer groups can be created. For any changes related to a peer in a peer group:
-
For a new peer, the peer group is persisted immediately in ETCD.
-
For the change in timestamp for existing peers, the peer group is updated once every 3 seconds. This update:
-
Results in a cumulative group update for many peers that have undergone timestamp change within each peer group.
-
Reduces frequent updates to ETCD.
-