daviddias / webrtc-explorer

:earth_africa: P2P Network Routing Overlay designed for the Web platform (browsers)
MIT License
288 stars 32 forks source link

[question] how is this diffrent then chord? #23

Open jimmywarting opened 5 years ago

jimmywarting commented 5 years ago

you said it's Chord inspired.

is it different somehow? I know how chord works, it only knows about peers in a clockwise direction. for ie. if you have 16 peers and 0 wants to send a message to 15. when doing so it has to send a message clockwise kinda like 0 -> 8 -> 12 -> 14 -> 15

But since webrtc needs to be connected to each other 15 has to connect to 0 and therefore 0 should know about peers in both directions (clockwise and anticlockwise). so 0 must be connected to 15 and 1 so the most beneficial would be to send a message in either direction depending on which one are closer to the destination. is that something you are doing?