GitHub PullRequestEvent at 2014-04-17 06:23:38
Repository: ratelimit
Actor: ejfinneran
Payload: {"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/ejfinneran/ratelimit/pulls/11","id":14469590,"html_url":"https://github.com/ejfinneran/ratelimit/pull/11","diff_url":"https://github.com/ejfinneran/ratelimit/pull/11.diff","patch_url":"https://github.com/ejfinneran/ratelimit/pull/11.patch","issue_url":"https://api.github.com/repos/ejfinneran/ratelimit/issues/11","number":11,"state":"closed","title":"Optimize Redis commands","user":{"login":"lautis","id":19264,"avatar_url":"https://avatars.githubusercontent.com/u/19264?","gravatar_id":"cdaf168b08724b3b148903013d07d233","url":"https://api.github.com/users/lautis","html_url":"https://github.com/lautis","followers_url":"https://api.github.com/users/lautis/followers","following_url":"https://api.github.com/users/lautis/following{/other_user}","gists_url":"https://api.github.com/users/lautis/gists{/gist_id}","starred_url":"https://api.github.com/users/lautis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lautis/subscriptions","organizations_url":"https://api.github.com/users/lautis/orgs","repos_url":"https://api.github.com/users/lautis/repos","events_url":"https://api.github.com/users/lautis/events{/privacy}","received_events_url":"https://api.github.com/users/lautis/received_events","type":"User","site_admin":false},"body":"Use `HMGET` to fetch multiple keys from same hash. With `HMGET`, only one command needs to be sent to Redis.\r\n\r\nReplaces MULTI/EXEC with PIPELINE. Pipeline is [slightly faster](http://www.terminalstate.net/2011/05/redis-pipelines-and-transactions.html) but does not guarantee atomicity of operations. This shouldn't cause any additional concurrency issues as the commands emitted in add do not have any dependency of each other and all clients should emit the same commands.","created_at":"2014-04-07T20:44:49Z","updated_at":"2014-04-17T06:23:38Z","closed_at":"2014-04-17T06:23:38Z","merged_at":"2014-04-17T06:23:38Z","merge_commit_sha":"cf33e83b193c2a4049d5d6a7fd8c78f70af8e100","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ejfinneran/ratelimit/pulls/11/commits","review_comments_url":"https://api.github.com/repos/ejfinneran/ratelimit/pulls/11/comments","review_comment_url":"https://api.github.com/repos/ejfinneran/ratelimit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/ejfinneran/ratelimit/issues/11/comments","statuses_url":"https://api.github.com/repos/ejfinneran/ratelimit/statuses/9a19d1390c9500404583753541fbcd43840a7feb","head":{"label":"lautis:redis-optimize","ref":"redis-optimize","sha":"9a19d1390c9500404583753541fbcd43840a7feb","user":{"login":"lautis","id":19264,"avatar_url":"https://avatars.githubusercontent.com/u/19264?","gravatar_id":"cdaf168b08724b3b148903013d07d233","url":"https://api.github.com/users/lautis","html_url":"https://github.com/lautis","followers_url":"https://api.github.com/users/lautis/followers","following_url":"https://api.github.com/users/lautis/following{/other_user}","gists_url":"https://api.github.com/users/lautis/gists{/gist_id}","starred_url":"https://api.github.com/users/lautis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lautis/subscriptions","organizations_url":"https://api.github.com/users/lautis/orgs","repos_url":"https://api.github.com/users/lautis/repos","events_url":"https://api.github.com/users/lautis/events{/privacy}","received_events_url":"https://api.github.com/users/lautis/received_events","type":"User","site_admin":false},"repo":{"id":18531723,"name":"ratelimit","full_name":"lautis/ratelimit","owner":{"login":"lautis","id":19264,"avatar_url":"https://avatars.githubusercontent.com/u/19264?","gravatar_id":"cdaf168b08724b3b148903013d07d233","url":"https://api.github.com/users/lautis","html_url":"https://github.com/lautis","followers_url":"https://api.github.com/users/lautis/followers","following_url":"https://api.github.com/users/lautis/following{/other_user}","gists_url":"https://api.github.com/users/lautis/gists{/gist_id}","starred_url":"https://api.github.com/users/lautis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lautis/subscriptions","organizations_url":"https://api.github.com/users/lautis/orgs","repos_url":"https://api.github.com/users/lautis/repos","events_url":"https://api.github.com/users/lautis/events{/privacy}","received_events_url":"https://api.github.com/users/lautis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lautis/ratelimit","description":"A Redis-backed rate limiter written in Ruby","fork":true,"url":"https://api.github.com/repos/lautis/ratelimit","forks_url":"https://api.github.com/repos/lautis/ratelimit/forks","keys_url":"https://api.github.com/repos/lautis/ratelimit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lautis/ratelimit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lautis/ratelimit/teams","hooks_url":"https://api.github.com/repos/lautis/ratelimit/hooks","issue_events_url":"https://api.github.com/repos/lautis/ratelimit/issues/events{/number}","events_url":"https://api.github.com/repos/lautis/ratelimit/events","assignees_url":"https://api.github.com/repos/lautis/ratelimit/assignees{/user}","branches_url":"https://api.github.com/repos/lautis/ratelimit/branches{/branch}","tags_url":"https://api.github.com/repos/lautis/ratelimit/tags","blobs_url":"https://api.github.com/repos/lautis/ratelimit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lautis/ratelimit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lautis/ratelimit/git/refs{/sha}","trees_url":"https://api.github.com/repos/lautis/ratelimit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lautis/ratelimit/statuses/{sha}","languages_url":"https://api.github.com/repos/lautis/ratelimit/languages","stargazers_url":"https://api.github.com/repos/lautis/ratelimit/stargazers","contributors_url":"https://api.github.com/repos/lautis/ratelimit/contributors","subscribers_url":"https://api.github.com/repos/lautis/ratelimit/subscribers","subscription_url":"https://api.github.com/repos/lautis/ratelimit/subscription","commits_url":"https://api.github.com/repos/lautis/ratelimit/commits{/sha}","git_commits_url":"https://api.github.com/repos/lautis/ratelimit/git/commits{/sha}","comments_url":"https://api.github.com/repos/lautis/ratelimit/comments{/number}","issue_comment_url":"https://api.github.com/repos/lautis/ratelimit/issues/comments/{number}","contents_url":"https://api.github.com/repos/lautis/ratelimit/contents/{+path}","compare_url":"https://api.github.com/repos/lautis/ratelimit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lautis/ratelimit/merges","archive_url":"https://api.github.com/repos/lautis/ratelimit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lautis/ratelimit/downloads","issues_url":"https://api.github.com/repos/lautis/ratelimit/issues{/number}","pulls_url":"https://api.github.com/repos/lautis/ratelimit/pulls{/number}","milestones_url":"https://api.github.com/repos/lautis/ratelimit/milestones{/number}","notifications_url":"https://api.github.com/repos/lautis/ratelimit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lautis/ratelimit/labels{/name}","releases_url":"https://api.github.com/repos/lautis/ratelimit/releases{/id}","created_at":"2014-04-07T19:48:13Z","updated_at":"2014-04-17T06:23:38Z","pushed_at":"2014-04-07T21:24:29Z","git_url":"git://github.com/lautis/ratelimit.git","ssh_url":"git@github.com:lautis/ratelimit.git","clone_url":"https://github.com/lautis/ratelimit.git","svn_url":"https://github.com/lautis/ratelimit","homepage":"","size":209,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ejfinneran:master","ref":"master","sha":"f8e3141608e3cff51e20b049aef8b5d470cb0041","user":{"login":"ejfinneran","id":71407,"avatar_url":"https://avatars.githubusercontent.com/u/71407?","gravatar_id":"25e89616e26a156aadd75313aa7b1e4c","url":"https://api.github.com/users/ejfinneran","html_url":"https://github.com/ejfinneran","followers_url":"https://api.github.com/users/ejfinneran/followers","following_url":"https://api.github.com/users/ejfinneran/following{/other_user}","gists_url":"https://api.github.com/users/ejfinneran/gists{/gist_id}","starred_url":"https://api.github.com/users/ejfinneran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejfinneran/subscriptions","organizations_url":"https://api.github.com/users/ejfinneran/orgs","repos_url":"https://api.github.com/users/ejfinneran/repos","events_url":"https://api.github.com/users/ejfinneran/events{/privacy}","received_events_url":"https://api.github.com/users/ejfinneran/received_events","type":"User","site_admin":false},"repo":{"id":2413506,"name":"ratelimit","full_name":"ejfinneran/ratelimit","owner":{"login":"ejfinneran","id":71407,"avatar_url":"https://avatars.githubusercontent.com/u/71407?","gravatar_id":"25e89616e26a156aadd75313aa7b1e4c","url":"https://api.github.com/users/ejfinneran","html_url":"https://github.com/ejfinneran","followers_url":"https://api.github.com/users/ejfinneran/followers","following_url":"https://api.github.com/users/ejfinneran/following{/other_user}","gists_url":"https://api.github.com/users/ejfinneran/gists{/gist_id}","starred_url":"https://api.github.com/users/ejfinneran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejfinneran/subscriptions","organizations_url":"https://api.github.com/users/ejfinneran/orgs","repos_url":"https://api.github.com/users/ejfinneran/repos","events_url":"https://api.github.com/users/ejfinneran/events{/privacy}","received_events_url":"https://api.github.com/users/ejfinneran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ejfinneran/ratelimit","description":"A Redis-backed rate limiter written in Ruby","fork":false,"url":"https://api.github.com/repos/ejfinneran/ratelimit","forks_url":"https://api.github.com/repos/ejfinneran/ratelimit/forks","keys_url":"https://api.github.com/repos/ejfinneran/ratelimit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ejfinneran/ratelimit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ejfinneran/ratelimit/teams","hooks_url":"https://api.github.com/repos/ejfinneran/ratelimit/hooks","issue_events_url":"https://api.github.com/repos/ejfinneran/ratelimit/issues/events{/number}","events_url":"https://api.github.com/repos/ejfinneran/ratelimit/events","assignees_url":"https://api.github.com/repos/ejfinneran/ratelimit/assignees{/user}","branches_url":"https://api.github.com/repos/ejfinneran/ratelimit/branches{/branch}","tags_url":"https://api.github.com/repos/ejfinneran/ratelimit/tags","blobs_url":"https://api.github.com/repos/ejfinneran/ratelimit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ejfinneran/ratelimit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ejfinneran/ratelimit/git/refs{/sha}","trees_url":"https://api.github.com/repos/ejfinneran/ratelimit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ejfinneran/ratelimit/statuses/{sha}","languages_url":"https://api.github.com/repos/ejfinneran/ratelimit/languages","stargazers_url":"https://api.github.com/repos/ejfinneran/ratelimit/stargazers","contributors_url":"https://api.github.com/repos/ejfinneran/ratelimit/contributors","subscribers_url":"https://api.github.com/repos/ejfinneran/ratelimit/subscribers","subscription_url":"https://api.github.com/repos/ejfinneran/ratelimit/subscription","commits_url":"https://api.github.com/repos/ejfinneran/ratelimit/commits{/sha}","git_commits_url":"https://api.github.com/repos/ejfinneran/ratelimit/git/commits{/sha}","comments_url":"https://api.github.com/repos/ejfinneran/ratelimit/comments{/number}","issue_comment_url":"https://api.github.com/repos/ejfinneran/ratelimit/issues/comments/{number}","contents_url":"https://api.github.com/repos/ejfinneran/ratelimit/contents/{+path}","compare_url":"https://api.github.com/repos/ejfinneran/ratelimit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ejfinneran/ratelimit/merges","archive_url":"https://api.github.com/repos/ejfinneran/ratelimit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ejfinneran/ratelimit/downloads","issues_url":"https://api.github.com/repos/ejfinneran/ratelimit/issues{/number}","pulls_url":"https://api.github.com/repos/ejfinneran/ratelimit/pulls{/number}","milestones_url":"https://api.github.com/repos/ejfinneran/ratelimit/milestones{/number}","notifications_url":"https://api.github.com/repos/ejfinneran/ratelimit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ejfinneran/ratelimit/labels{/name}","releases_url":"https://api.github.com/repos/ejfinneran/ratelimit/releases{/id}","created_at":"2011-09-19T06:09:10Z","updated_at":"2014-04-17T06:23:38Z","pushed_at":"2014-04-17T06:23:38Z","git_url":"git://github.com/ejfinneran/ratelimit.git","ssh_url":"git@github.com:ejfinneran/ratelimit.git","clone_url":"https://github.com/ejfinneran/ratelimit.git","svn_url":"https://github.com/ejfinneran/ratelimit","homepage":"","size":97,"stargazers_count":60,"watchers_count":60,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ejfinneran/ratelimit/pulls/11"},"html":{"href":"https://github.com/ejfinneran/ratelimit/pull/11"},"issue":{"href":"https://api.github.com/repos/ejfinneran/ratelimit/issues/11"},"comments":{"href":"https://api.github.com/repos/ejfinneran/ratelimit/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/ejfinneran/ratelimit/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/ejfinneran/ratelimit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/ejfinneran/ratelimit/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/ejfinneran/ratelimit/statuses/9a19d1390c9500404583753541fbcd43840a7feb"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ejfinneran","id":71407,"avatar_url":"https://avatars.githubusercontent.com/u/71407?","gravatar_id":"25e89616e26a156aadd75313aa7b1e4c","url":"https://api.github.com/users/ejfinneran","html_url":"https://github.com/ejfinneran","followers_url":"https://api.github.com/users/ejfinneran/followers","following_url":"https://api.github.com/users/ejfinneran/following{/other_user}","gists_url":"https://api.github.com/users/ejfinneran/gists{/gist_id}","starred_url":"https://api.github.com/users/ejfinneran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejfinneran/subscriptions","organizations_url":"https://api.github.com/users/ejfinneran/orgs","repos_url":"https://api.github.com/users/ejfinneran/repos","events_url":"https://api.github.com/users/ejfinneran/events{/privacy}","received_events_url":"https://api.github.com/users/ejfinneran/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":5,"additions":9,"deletions":70,"changed_files":5}}