{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/bitswap-ml/issues/1","labels_url":"https://api.github.com/repos/ipfs/bitswap-ml/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/bitswap-ml/issues/1/comments","events_url":"https://api.github.com/repos/ipfs/bitswap-ml/issues/1/events","html_url":"https://github.com/ipfs/bitswap-ml/issues/1","id":85357467,"number":1,"title":"Features","user":{"login":"heems","id":3951882,"avatar_url":"https://avatars.githubusercontent.com/u/3951882?v=3","gravatar_id":"","url":"https://api.github.com/users/heems","html_url":"https://github.com/heems","followers_url":"https://api.github.com/users/heems/followers","following_url":"https://api.github.com/users/heems/following{/other_user}","gists_url":"https://api.github.com/users/heems/gists{/gist_id}","starred_url":"https://api.github.com/users/heems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heems/subscriptions","organizations_url":"https://api.github.com/users/heems/orgs","repos_url":"https://api.github.com/users/heems/repos","events_url":"https://api.github.com/users/heems/events{/privacy}","received_events_url":"https://api.github.com/users/heems/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-05T01:07:16Z","updated_at":"2015-06-05T01:11:13Z","closed_at":null,"body":"Here's a preliminary list of features we might be able to use to classify potential peers:\r\n\r\n1.  How often the peer loses it's ledger\r\n2.  Debt ratio of peer\r\n3.  Average latency of connection to peer\r\n4.  Available bandwidth of peer\r\n5.  Demand/rarity of block we are trying to obtain from peer (maybe if the block is rare we should tolerate slower connections/less bandwidth)\r\n6.  Total uptime of peer\r\n\r\nI'm not too sure how difficult it will be to obtain data for some of these."},"comment":{"url":"https://api.github.com/repos/ipfs/bitswap-ml/issues/comments/109111985","html_url":"https://github.com/ipfs/bitswap-ml/issues/1#issuecomment-109111985","issue_url":"https://api.github.com/repos/ipfs/bitswap-ml/issues/1","id":109111985,"user":{"login":"whyrusleeping","id":1243164,"avatar_url":"https://avatars.githubusercontent.com/u/1243164?v=3","gravatar_id":"","url":"https://api.github.com/users/whyrusleeping","html_url":"https://github.com/whyrusleeping","followers_url":"https://api.github.com/users/whyrusleeping/followers","following_url":"https://api.github.com/users/whyrusleeping/following{/other_user}","gists_url":"https://api.github.com/users/whyrusleeping/gists{/gist_id}","starred_url":"https://api.github.com/users/whyrusleeping/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whyrusleeping/subscriptions","organizations_url":"https://api.github.com/users/whyrusleeping/orgs","repos_url":"https://api.github.com/users/whyrusleeping/repos","events_url":"https://api.github.com/users/whyrusleeping/events{/privacy}","received_events_url":"https://api.github.com/users/whyrusleeping/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T01:11:13Z","updated_at":"2015-06-05T01:11:13Z","body":"> 4. Available bandwidth of peer\r\n\r\nThis is the bandwidth between the remote peer and us? That one might be really hard to gague.\r\n\r\n> 6. Total uptime of peer\r\n\r\nThis is currently available through the `ipfs net diag` functionality, but dont expect it to stick around. We might be able to add some basic information exchange into the handshake, but that could be faked. Maybe a better heuristic is \"lifetime of our connection to them\""}}