Gozala / hackalyst

Hack catalyst: Knowledge exchange community
9 stars 1 forks source link

distributed network / peer discovery #15

Open Raynos opened 11 years ago

Raynos commented 11 years ago

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.

Raynos commented 11 years ago

cc @juliangruber

juliangruber commented 11 years ago

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.

juliangruber commented 11 years ago

and always check multiple nodes since they can be corrupt

juliangruber commented 11 years ago

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.

juliangruber commented 11 years ago

check http://conferences.sigcomm.org/co-next/2009/papers/Jacobson.pdf