Hacker News new | past | comments | ask | show | jobs | submit login




One question on this topic interests me: In BitTorrent, do nodes that bootstrap using different bootstrap servers, ever see themselves in one single connected graph?

Since there are many different bootstrap servers for mainline DHT in BT, how is it ensured that nodes from two or more different bootstrap servers know about each other?

Is it possible (and how often does it happen) that a node that boostraps using server A will never find nodes that bootstrap using server B?


Yes, they should always see themselves in the same graph. Generally, bootstrap nodes will offer up addresses of further nodes that all belong to the same global network. This doesn't have to be the case, but it is the intention.

The nodes they know belong to the same network. Bootstrap nodes don't have to know about each other.

Yes. A network can split, all it takes is a node that knows nodes in both networks to join them.


But do such nodes exist in practice (in the current network). It would be interesting to research what clients connect to multiple bootstrap servers.


All implementations that I'm aware of use at least 4 bootstrap nodes. And you always bootstrap from all of them, there's no point just picking one. Here's my implementation, for example: https://github.com/anacrolix/dht/blob/master/dht.go#L106-L11....


Nice, thank you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: