I am creating a distributed system with unstructured peer-to-peer overlay. There may be thousands of nodes in this system. Nodes can dynamically connect to the system (for example, torrent clients). In the system, each node wants to estimate the number of nodes (guess the approximate value) in the system.
I am currently using a centralized server to count the number of nodes. Each node communicates with this server. This is very inefficient and disrupts distributed behavior.
Is there a way to do this in a distributed way without using a centralized server?
source
share