{"action":"created","issue":{"url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/300","labels_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/300/comments","events_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/300/events","html_url":"https://github.com/chris-belcher/joinmarket/issues/300","id":114450482,"number":300,"title":"Outgoing messages priority queue","user":{"login":"dcousens","id":413395,"avatar_url":"https://avatars.githubusercontent.com/u/413395?v=3","gravatar_id":"","url":"https://api.github.com/users/dcousens","html_url":"https://github.com/dcousens","followers_url":"https://api.github.com/users/dcousens/followers","following_url":"https://api.github.com/users/dcousens/following{/other_user}","gists_url":"https://api.github.com/users/dcousens/gists{/gist_id}","starred_url":"https://api.github.com/users/dcousens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcousens/subscriptions","organizations_url":"https://api.github.com/users/dcousens/orgs","repos_url":"https://api.github.com/users/dcousens/repos","events_url":"https://api.github.com/users/dcousens/events{/privacy}","received_events_url":"https://api.github.com/users/dcousens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-01T04:48:26Z","updated_at":"2015-11-01T15:05:09Z","closed_at":null,"body":"Rather than sending the raw text as it happens, we should build an out-going message priority queue.\r\nIt is emptied at a constant rate so as to avoid DoS'ing the client and public/broadcast/spam messages are set to a low priority.\r\n\r\nCombined with a user scoring system [manages priority for each nick] which penalizes unexpected messages,  this should resolve most of the [known] DoS issues."},"comment":{"url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/comments/152833241","html_url":"https://github.com/chris-belcher/joinmarket/issues/300#issuecomment-152833241","issue_url":"https://api.github.com/repos/chris-belcher/joinmarket/issues/300","id":152833241,"user":{"login":"chris-belcher","id":8398185,"avatar_url":"https://avatars.githubusercontent.com/u/8398185?v=3","gravatar_id":"","url":"https://api.github.com/users/chris-belcher","html_url":"https://github.com/chris-belcher","followers_url":"https://api.github.com/users/chris-belcher/followers","following_url":"https://api.github.com/users/chris-belcher/following{/other_user}","gists_url":"https://api.github.com/users/chris-belcher/gists{/gist_id}","starred_url":"https://api.github.com/users/chris-belcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris-belcher/subscriptions","organizations_url":"https://api.github.com/users/chris-belcher/orgs","repos_url":"https://api.github.com/users/chris-belcher/repos","events_url":"https://api.github.com/users/chris-belcher/events{/privacy}","received_events_url":"https://api.github.com/users/chris-belcher/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T15:05:09Z","updated_at":"2015-11-01T15:05:09Z","body":"Similar to #31\r\n\r\nI agree this could help.\r\n\r\nSorting the message types by priority is good too. Ping replies to the server are highest priority, then replies to an existing coinjoin deal, then replies to !orderbook have the lowest priority."}}