dao-xyz / peerbit

P2P database framework with encryption, sharding and search
https://peerbit.org
Apache License 2.0
196 stars 15 forks source link

Throttle shard rebalancing on spurious networks #173

Open marcus-pousette opened 1 year ago

marcus-pousette commented 1 year ago

Currently in a network where there is a high amount of peers joining and leaving, we try to rebalance as soon as the peer list changes. However consider that a reason for someone leaving and rejoining could be a refresh of a browser tab, do we really need to rebalance immediately?