{"action":"created","issue":{"url":"https://api.github.com/repos/zendesk/prop/issues/6","labels_url":"https://api.github.com/repos/zendesk/prop/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/zendesk/prop/issues/6/comments","events_url":"https://api.github.com/repos/zendesk/prop/issues/6/events","html_url":"https://github.com/zendesk/prop/pull/6","id":89434283,"number":6,"title":"Add leaky bucket for bursty rate limiting","user":{"login":"shanitang","id":9438502,"avatar_url":"https://avatars.githubusercontent.com/u/9438502?v=3","gravatar_id":"","url":"https://api.github.com/users/shanitang","html_url":"https://github.com/shanitang","followers_url":"https://api.github.com/users/shanitang/followers","following_url":"https://api.github.com/users/shanitang/following{/other_user}","gists_url":"https://api.github.com/users/shanitang/gists{/gist_id}","starred_url":"https://api.github.com/users/shanitang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanitang/subscriptions","organizations_url":"https://api.github.com/users/shanitang/orgs","repos_url":"https://api.github.com/users/shanitang/repos","events_url":"https://api.github.com/users/shanitang/events{/privacy}","received_events_url":"https://api.github.com/users/shanitang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-19T00:44:05Z","updated_at":"2015-07-07T20:38:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/zendesk/prop/pulls/6","html_url":"https://github.com/zendesk/prop/pull/6","diff_url":"https://github.com/zendesk/prop/pull/6.diff","patch_url":"https://github.com/zendesk/prop/pull/6.patch"},"body":"Add  [leaky bucket](https://en.wikipedia.org/wiki/Leaky_bucket) support for bursty rate limiting.\r\n\r\nThe Leaky Bucket algorithm allows for infrequent bursts of calls, instead of rate limiting only on a fixed number of calls each period. In other words, there is a room for a quick succession to do some complex operation with many calls, but it would then get throttled back for later requests.\r\n\r\nIf setting the rate limit threshold (leak rate) to be 10/per min and the burst rate to be 50/per min, it means you can make 50 calls in one minute, and then bucket is full but you can still make 10 calls in the next minute. The bucket would leak out if no calls are made in the next 5 minutes.\r\n\r\ncc/ @ggrossman @rtatsumi @waferbaby @tmcinerney "},"comment":{"url":"https://api.github.com/repos/zendesk/prop/issues/comments/119329081","html_url":"https://github.com/zendesk/prop/pull/6#issuecomment-119329081","issue_url":"https://api.github.com/repos/zendesk/prop/issues/6","id":119329081,"user":{"login":"shanitang","id":9438502,"avatar_url":"https://avatars.githubusercontent.com/u/9438502?v=3","gravatar_id":"","url":"https://api.github.com/users/shanitang","html_url":"https://github.com/shanitang","followers_url":"https://api.github.com/users/shanitang/followers","following_url":"https://api.github.com/users/shanitang/following{/other_user}","gists_url":"https://api.github.com/users/shanitang/gists{/gist_id}","starred_url":"https://api.github.com/users/shanitang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shanitang/subscriptions","organizations_url":"https://api.github.com/users/shanitang/orgs","repos_url":"https://api.github.com/users/shanitang/repos","events_url":"https://api.github.com/users/shanitang/events{/privacy}","received_events_url":"https://api.github.com/users/shanitang/received_events","type":"User","site_admin":false},"created_at":"2015-07-07T20:38:25Z","updated_at":"2015-07-07T20:38:25Z","body":"cc/ @grosser Prop::Option updated!"}}