{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2798","repository_url":"https://api.github.com/repos/ipfs/go-ipfs","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2798/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2798/comments","events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2798/events","html_url":"https://github.com/ipfs/go-ipfs/pull/2798","id":158290044,"number":2798,"title":"Make bitswap better","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-03T04:42:47Z","updated_at":"2016-06-03T07:39:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/2798","html_url":"https://github.com/ipfs/go-ipfs/pull/2798","diff_url":"https://github.com/ipfs/go-ipfs/pull/2798.diff","patch_url":"https://github.com/ipfs/go-ipfs/pull/2798.patch"},"body":"Made a few changes to bitswap that significantly improve performance. By focusing on getting the cancel messages out to peers as fast as possible, and delaying sending blocks to peers we receive many cancels from we reduce the number of duplicate block receipts. I ran some tests on a network with 20ms latency between nodes (10ms per link) and have the results here: https://ipfs.io/ipfs/QmNyCqMQe1r3dQsAQEsncNqQGkF2YEyB5w6JRdNLRLDcox/smarter%20bitswap%20test%20info%20%2810ms%29.pdf\r\n\r\nI can run more tests, but it takes a little while to do and these results are pretty good.\r\n\r\nLicense: MIT\r\nSigned-off-by: Jeromy <why@ipfs.io>"},"comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments/223512122","html_url":"https://github.com/ipfs/go-ipfs/pull/2798#issuecomment-223512122","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/2798","id":223512122,"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":"2016-06-03T07:39:58Z","updated_at":"2016-06-03T07:39:58Z","body":"test data generated with: https://github.com/whyrusleeping/bitswap-test"}}
{"actor":{"display_login":"whyrusleeping"}}