netflux
netflux copied to clipboard
Consider an attribute of Peer to show which peers in a channel have closer network distance
In order for the realtime engine (e.g. ChainPad) to build the document, it needs to access the history of the channel to which it has joined. Since every ChainPad instance has the history, it is ok for us to alter ChainPad so that it can ask a peer for the history and then provide that history. However in order to ensure that peers with good network latency are selected, there should be an attribute which indicates how preferable a peer is for communicating with, this way the peers to ask can be selected from the peers in the channel.
consider perhaps peer.linkQuality = <integer 0 to 0x8fffffff>
(largest signed 32 bit integer) where higher value is better.
Interesting remark, thanks. I'll add it.