{"action":"created","issue":{"url":"https://api.github.com/repos/raiden-network/raiden/issues/252","repository_url":"https://api.github.com/repos/raiden-network/raiden","labels_url":"https://api.github.com/repos/raiden-network/raiden/issues/252/labels{/name}","comments_url":"https://api.github.com/repos/raiden-network/raiden/issues/252/comments","events_url":"https://api.github.com/repos/raiden-network/raiden/issues/252/events","html_url":"https://github.com/raiden-network/raiden/pull/252","id":189173306,"number":252,"title":"Implement throttling #174","user":{"login":"konradkonrad","id":3705643,"avatar_url":"https://avatars.githubusercontent.com/u/3705643?v=3","gravatar_id":"","url":"https://api.github.com/users/konradkonrad","html_url":"https://github.com/konradkonrad","followers_url":"https://api.github.com/users/konradkonrad/followers","following_url":"https://api.github.com/users/konradkonrad/following{/other_user}","gists_url":"https://api.github.com/users/konradkonrad/gists{/gist_id}","starred_url":"https://api.github.com/users/konradkonrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konradkonrad/subscriptions","organizations_url":"https://api.github.com/users/konradkonrad/orgs","repos_url":"https://api.github.com/users/konradkonrad/repos","events_url":"https://api.github.com/users/konradkonrad/events{/privacy}","received_events_url":"https://api.github.com/users/konradkonrad/received_events","type":"User","site_admin":false},"labels":[{"id":456350195,"url":"https://api.github.com/repos/raiden-network/raiden/labels/dev:%20Please%20Review","name":"dev: Please Review","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-14T17:26:13Z","updated_at":"2016-11-22T10:50:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/raiden-network/raiden/pulls/252","html_url":"https://github.com/raiden-network/raiden/pull/252","diff_url":"https://github.com/raiden-network/raiden/pull/252.diff","patch_url":"https://github.com/raiden-network/raiden/pull/252.patch"},"body":"This implements a token bucket algorithm for throttling, see\r\nhttps://en.wikipedia.org/wiki/Token_bucket\r\n\r\nThe default policy in use is a `DummyPolicy`, a dummy provider that does not\r\nrestrict the aomunt of messages.\r\n\r\nIn `app.py` the default now is a TokenBucket policy of\r\n\r\n    capacity=10, fill_rate=10\r\n\r\nThis fixes #174 "},"comment":{"url":"https://api.github.com/repos/raiden-network/raiden/issues/comments/262208728","html_url":"https://github.com/raiden-network/raiden/pull/252#issuecomment-262208728","issue_url":"https://api.github.com/repos/raiden-network/raiden/issues/252","id":262208728,"user":{"login":"konradkonrad","id":3705643,"avatar_url":"https://avatars.githubusercontent.com/u/3705643?v=3","gravatar_id":"","url":"https://api.github.com/users/konradkonrad","html_url":"https://github.com/konradkonrad","followers_url":"https://api.github.com/users/konradkonrad/followers","following_url":"https://api.github.com/users/konradkonrad/following{/other_user}","gists_url":"https://api.github.com/users/konradkonrad/gists{/gist_id}","starred_url":"https://api.github.com/users/konradkonrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konradkonrad/subscriptions","organizations_url":"https://api.github.com/users/konradkonrad/orgs","repos_url":"https://api.github.com/users/konradkonrad/repos","events_url":"https://api.github.com/users/konradkonrad/events{/privacy}","received_events_url":"https://api.github.com/users/konradkonrad/received_events","type":"User","site_admin":false},"created_at":"2016-11-22T10:50:16Z","updated_at":"2016-11-22T10:50:16Z","body":"Ah, I forgot to add, there is potential third configuration dimension that is not exploited currently:\r\n\r\n- the `consumption_rate` by message type. Currently any message consumes exactly one token. If we deem it necessary, we can adjust the throttling e.g. by consuming less/more tokens (it's a `float`!) for certain message types like `ACK`s or `Ping`s."}}
{"actor":{"display_login":"konradkonrad"}}