Open Raynos opened 11 years ago
cc @juliangruber
For joining I guess you always need some point of reference.
You could have as much of those as possible and keep a list of nodes to check when joining.
there can be a set of domains for this! join[0-9a-z].com so you just scan that range.
and always check multiple nodes since they can be corrupt
The question is also what transport medium you use. If it's not tcp/ip, if it's something build for p2p where every node kind of is a router, you wouldn't need to care about that.
If your creating a peer to peer network. How do you discover the initial topology of the network?
Do you use a fixed list of trackers? Do you have a centralized third party service that maintains meta data about the network topology?
Also how do you solve the chicken and egg problem of you need to connect to a peer to get information about the network shape from him BUT you need to get information about the network shape to know how to connect to the peer.