RAN3D / spray-wrtc

Adaptive random peer sampling protocol running on top of WebRTC.
https://ran3d.github.io/spray-wrtc/
MIT License
39 stars 7 forks source link

On leaving, try to patch the network #21

Closed Chat-Wane closed 7 years ago

Chat-Wane commented 7 years ago

Currently, a peer leaving the network does it without giving notice. In that sense, departures are equivalent to crashes. Nevertheless, if enough time is given, it could try to patch the network, i.e., not being as disruptive as it is currently by attempting connections from it inview to its outview (eg A-> B -> C, B leaves but first acts as a bridge to connect A to C, it becomes A -> C )