{"action":"created","issue":{"url":"https://api.github.com/repos/basho/riak_cs/issues/1118","labels_url":"https://api.github.com/repos/basho/riak_cs/issues/1118/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak_cs/issues/1118/comments","events_url":"https://api.github.com/repos/basho/riak_cs/issues/1118/events","html_url":"https://github.com/basho/riak_cs/pull/1118","id":66552859,"number":1118,"title":"Rough sketch of user quota and bandwidth limiting","user":{"login":"kuenishi","id":11440,"avatar_url":"https://avatars.githubusercontent.com/u/11440?v=3","gravatar_id":"","url":"https://api.github.com/users/kuenishi","html_url":"https://github.com/kuenishi","followers_url":"https://api.github.com/users/kuenishi/followers","following_url":"https://api.github.com/users/kuenishi/following{/other_user}","gists_url":"https://api.github.com/users/kuenishi/gists{/gist_id}","starred_url":"https://api.github.com/users/kuenishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuenishi/subscriptions","organizations_url":"https://api.github.com/users/kuenishi/orgs","repos_url":"https://api.github.com/users/kuenishi/repos","events_url":"https://api.github.com/users/kuenishi/events{/privacy}","received_events_url":"https://api.github.com/users/kuenishi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/basho/riak_cs/milestones/7","html_url":"https://github.com/basho/riak_cs/milestones/2.0.1","labels_url":"https://api.github.com/repos/basho/riak_cs/milestones/7/labels","id":401064,"number":7,"title":"2.0.1","description":"","creator":{"login":"kellymclaughlin","id":29337,"avatar_url":"https://avatars.githubusercontent.com/u/29337?v=3","gravatar_id":"","url":"https://api.github.com/users/kellymclaughlin","html_url":"https://github.com/kellymclaughlin","followers_url":"https://api.github.com/users/kellymclaughlin/followers","following_url":"https://api.github.com/users/kellymclaughlin/following{/other_user}","gists_url":"https://api.github.com/users/kellymclaughlin/gists{/gist_id}","starred_url":"https://api.github.com/users/kellymclaughlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellymclaughlin/subscriptions","organizations_url":"https://api.github.com/users/kellymclaughlin/orgs","repos_url":"https://api.github.com/users/kellymclaughlin/repos","events_url":"https://api.github.com/users/kellymclaughlin/events{/privacy}","received_events_url":"https://api.github.com/users/kellymclaughlin/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":3,"state":"open","created_at":"2013-08-13T16:18:44Z","updated_at":"2015-04-09T07:37:52Z","due_on":"2015-04-29T15:00:00Z","closed_at":null},"comments":4,"created_at":"2015-04-06T08:02:05Z","updated_at":"2015-04-09T07:52:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/basho/riak_cs/pulls/1118","html_url":"https://github.com/basho/riak_cs/pull/1118","diff_url":"https://github.com/basho/riak_cs/pull/1118.diff","patch_url":"https://github.com/basho/riak_cs/pull/1118.patch"},"body":"* Still no tests\r\n* only applies for object and object part uploads / gets\r\n* `riak_cs_quota` is a behaviour where programmers can make thier own module (see callback definition)\r\n* `riak_cs_simple_quota` is a simple quota limiter which takes care of Object puts\r\n* `riak_cs_bw_limitter` is a stupid bandwidth / access rate limitter on objects\r\n* they are only controllable from attached console: type `riak_cs_simple_quota:help()` for detail usage\r\n* to use them, write `{quota_modules, [riak_cs_simple_quota, riak_cs_bw_limitter]}` in `advanced.config`\r\n* to change quota modules, config change and restart are required\r\n* All data size units are in **Bytes**.\r\n\r\nFor @joecaswell 's review.\r\n\r\nRemaining works or notes on usage:\r\n\r\n* separate owner and accessor case: bandwidth and access is for accessor, whild owner is for usage\r\n* retrieving user's latest storage usage from `moss.storage` won't scale for many CS nodes\r\n* add tests\r\n* Add some cool http headers\r\n* Multibag"},"comment":{"url":"https://api.github.com/repos/basho/riak_cs/issues/comments/91142945","html_url":"https://github.com/basho/riak_cs/pull/1118#issuecomment-91142945","issue_url":"https://api.github.com/repos/basho/riak_cs/issues/1118","id":91142945,"user":{"login":"kuenishi","id":11440,"avatar_url":"https://avatars.githubusercontent.com/u/11440?v=3","gravatar_id":"","url":"https://api.github.com/users/kuenishi","html_url":"https://github.com/kuenishi","followers_url":"https://api.github.com/users/kuenishi/followers","following_url":"https://api.github.com/users/kuenishi/following{/other_user}","gists_url":"https://api.github.com/users/kuenishi/gists{/gist_id}","starred_url":"https://api.github.com/users/kuenishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuenishi/subscriptions","organizations_url":"https://api.github.com/users/kuenishi/orgs","repos_url":"https://api.github.com/users/kuenishi/repos","events_url":"https://api.github.com/users/kuenishi/events{/privacy}","received_events_url":"https://api.github.com/users/kuenishi/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T07:52:35Z","updated_at":"2015-04-09T07:52:35Z","body":"r_t passed for me. I believe it's ready for review."}}