{"action":"created","issue":{"url":"https://api.github.com/repos/bisq-network/proposals/issues/9","repository_url":"https://api.github.com/repos/bisq-network/proposals","labels_url":"https://api.github.com/repos/bisq-network/proposals/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/bisq-network/proposals/issues/9/comments","events_url":"https://api.github.com/repos/bisq-network/proposals/issues/9/events","html_url":"https://github.com/bisq-network/proposals/issues/9","id":303058784,"number":9,"title":"Measure if there are performance benefits on TOR onion services using http/2 vs http/1.1 request/response","user":{"login":"citkane","id":998947,"avatar_url":"https://avatars2.githubusercontent.com/u/998947?v=4","gravatar_id":"","url":"https://api.github.com/users/citkane","html_url":"https://github.com/citkane","followers_url":"https://api.github.com/users/citkane/followers","following_url":"https://api.github.com/users/citkane/following{/other_user}","gists_url":"https://api.github.com/users/citkane/gists{/gist_id}","starred_url":"https://api.github.com/users/citkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/citkane/subscriptions","organizations_url":"https://api.github.com/users/citkane/orgs","repos_url":"https://api.github.com/users/citkane/repos","events_url":"https://api.github.com/users/citkane/events{/privacy}","received_events_url":"https://api.github.com/users/citkane/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-07T11:17:13Z","updated_at":"2018-03-20T20:26:51Z","closed_at":null,"author_association":"NONE","body":"Discussion on slack is at #p2p-network\r\n\r\n[Websockets](https://en.wikipedia.org/wiki/WebSocket) are long living network data stream connections. ([RFC 6455](http://www.rfc-base.org/rfc-6455.html))\r\n\r\nIt has been established that it is technically possible to connect a websocket connection to a TOR onion service. (bisq-front).\r\n\r\nInitial response from the TOR onion community is that this is an accepted methodology that has been approved into the TOR spec.\r\n\r\nThe questions are: \r\n- **Is there any real performance benefit in using websockets?**\r\n- **Can this be used to improve the Bisq network?**\r\n\r\nIt is proposed that a simple test be written in isolation, the logic of which will be:\r\n- Create a simple onion service that accepts traditional htttp and websocket connection\r\n- Create a client that can emit to the websocket and also send http request/responses\r\n- Create a load testing routine that sends/receives a timestamp over both websocket and req/res\r\n- Measure the time differences for the two scenarios\r\n\r\nI am not going to get to this any time soon, so I am putting it out here in the hope that someone can pick up on it before me.\r\n\r\nThe onion service config (torrc file) will look something like this:\r\n```\r\nHiddenServiceDir /home/michaeladmin/.tor/bob\r\nHiddenServicePort 80 127.0.0.1:3110\r\nHiddenServicePort 3111 127.0.0.1:3111\r\n```\r\nwhere `HiddenServicePort 80` is the http server and `HiddenServicePort 3111` is the websocket http server\r\n "},"comment":{"url":"https://api.github.com/repos/bisq-network/proposals/issues/comments/374744713","html_url":"https://github.com/bisq-network/proposals/issues/9#issuecomment-374744713","issue_url":"https://api.github.com/repos/bisq-network/proposals/issues/9","id":374744713,"user":{"login":"mrosseel","id":1465310,"avatar_url":"https://avatars3.githubusercontent.com/u/1465310?v=4","gravatar_id":"","url":"https://api.github.com/users/mrosseel","html_url":"https://github.com/mrosseel","followers_url":"https://api.github.com/users/mrosseel/followers","following_url":"https://api.github.com/users/mrosseel/following{/other_user}","gists_url":"https://api.github.com/users/mrosseel/gists{/gist_id}","starred_url":"https://api.github.com/users/mrosseel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrosseel/subscriptions","organizations_url":"https://api.github.com/users/mrosseel/orgs","repos_url":"https://api.github.com/users/mrosseel/repos","events_url":"https://api.github.com/users/mrosseel/events{/privacy}","received_events_url":"https://api.github.com/users/mrosseel/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T20:26:51Z","updated_at":"2018-03-20T20:26:51Z","author_association":"MEMBER","body":"hi, nice site and results!\r\nIs this for API usage or for the P2P network? \r\n\r\nFor P2P it might be worthwhile to add the Socket approach which is currently used.\r\n\r\nFor API it depends a bit how the architecture is made but it seems that websockets/gRPC are the way to go if you want to access over tor. "}}
{"actor":{"display_login":"mrosseel"}}