{"action":"created","issue":{"url":"https://api.github.com/repos/TvdW/bitpeer/issues/11","repository_url":"https://api.github.com/repos/TvdW/bitpeer","labels_url":"https://api.github.com/repos/TvdW/bitpeer/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/TvdW/bitpeer/issues/11/comments","events_url":"https://api.github.com/repos/TvdW/bitpeer/issues/11/events","html_url":"https://github.com/TvdW/bitpeer/issues/11","id":195349458,"number":11,"title":"Bandwidth Spikes when sending blocks causes packet loss and high transfer latency","user":{"login":"TheBlueMatt","id":649246,"avatar_url":"https://avatars.githubusercontent.com/u/649246?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBlueMatt","html_url":"https://github.com/TheBlueMatt","followers_url":"https://api.github.com/users/TheBlueMatt/followers","following_url":"https://api.github.com/users/TheBlueMatt/following{/other_user}","gists_url":"https://api.github.com/users/TheBlueMatt/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBlueMatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBlueMatt/subscriptions","organizations_url":"https://api.github.com/users/TheBlueMatt/orgs","repos_url":"https://api.github.com/users/TheBlueMatt/repos","events_url":"https://api.github.com/users/TheBlueMatt/events{/privacy}","received_events_url":"https://api.github.com/users/TheBlueMatt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-13T19:45:33Z","updated_at":"2016-12-29T22:40:27Z","closed_at":"2016-12-29T14:33:20Z","body":"You might be interested in watching one of the technical talks I've done on FIBRE, or reading http://bluematt.bitcoin.ninja/2016/07/07/relay-networks/ and http://bitcoinfibre.org/ \r\n\r\nBecause of the design of bitpeer (sending a flood of blocks over TCP all at once), it causes packet loss spikes which, in turn, causes a significant increase in latency to send blocks. You can observe this phenomenon pretty easily if you're sitting on the other end, though if you aren't looking at wireshark/tcpdump (and are just looking at what kernel exposes to you) you wont see it."},"comment":{"url":"https://api.github.com/repos/TvdW/bitpeer/issues/comments/269704841","html_url":"https://github.com/TvdW/bitpeer/issues/11#issuecomment-269704841","issue_url":"https://api.github.com/repos/TvdW/bitpeer/issues/11","id":269704841,"user":{"login":"TheBlueMatt","id":649246,"avatar_url":"https://avatars.githubusercontent.com/u/649246?v=3","gravatar_id":"","url":"https://api.github.com/users/TheBlueMatt","html_url":"https://github.com/TheBlueMatt","followers_url":"https://api.github.com/users/TheBlueMatt/followers","following_url":"https://api.github.com/users/TheBlueMatt/following{/other_user}","gists_url":"https://api.github.com/users/TheBlueMatt/gists{/gist_id}","starred_url":"https://api.github.com/users/TheBlueMatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheBlueMatt/subscriptions","organizations_url":"https://api.github.com/users/TheBlueMatt/orgs","repos_url":"https://api.github.com/users/TheBlueMatt/repos","events_url":"https://api.github.com/users/TheBlueMatt/events{/privacy}","received_events_url":"https://api.github.com/users/TheBlueMatt/received_events","type":"User","site_admin":false},"created_at":"2016-12-29T22:40:27Z","updated_at":"2016-12-29T22:40:27Z","body":"Huh? I didn't mean to come off as advertising, was instead pointing out a technical issue. While things like FIBRE are more complete fixes, in order for this project to be truly low-latency you'd likely want to add compact block + XThin support, as well as limit outbound bandwidth in your software (by sending to nodes in sequence instead of in parallel). Because these are not implemented, a ton of latency is added by TCP and you end up providing blocks much slower than you otherwise would.\n\nOn December 29, 2016 3:33:21 PM GMT+01:00, Tom van der Woerdt <notifications@github.com> wrote:\n>Go advertise somewhere else.\n>\n>-- \n>You are receiving this because you authored the thread.\n>Reply to this email directly or view it on GitHub:\n>https://github.com/TvdW/bitpeer/issues/11#issuecomment-269638279\n"}}
{"actor":{"display_login":"TheBlueMatt"}}