Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider an attribute of Peer to show which peers in a channel have closer network distance #13

Open
cjdelisle opened this issue Jan 25, 2016 · 2 comments

Comments

@cjdelisle
Copy link

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.

@cjdelisle
Copy link
Author

consider perhaps peer.linkQuality = <integer 0 to 0x8fffffff> (largest signed 32 bit integer) where higher value is better.

@kalitine
Copy link
Collaborator

Interesting remark, thanks. I'll add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants