{"action":"opened","number":58,"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/58","id":28148367,"html_url":"https://github.com/algolia/algoliasearch-magento/pull/58","diff_url":"https://github.com/algolia/algoliasearch-magento/pull/58.diff","patch_url":"https://github.com/algolia/algoliasearch-magento/pull/58.patch","issue_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/58","number":58,"state":"open","locked":false,"title":"Improve lock contention with \"Use Result Cache\" option.","user":{"login":"colinmollenhour","id":38738,"avatar_url":"https://avatars.githubusercontent.com/u/38738?v=3","gravatar_id":"","url":"https://api.github.com/users/colinmollenhour","html_url":"https://github.com/colinmollenhour","followers_url":"https://api.github.com/users/colinmollenhour/followers","following_url":"https://api.github.com/users/colinmollenhour/following{/other_user}","gists_url":"https://api.github.com/users/colinmollenhour/gists{/gist_id}","starred_url":"https://api.github.com/users/colinmollenhour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinmollenhour/subscriptions","organizations_url":"https://api.github.com/users/colinmollenhour/orgs","repos_url":"https://api.github.com/users/colinmollenhour/repos","events_url":"https://api.github.com/users/colinmollenhour/events{/privacy}","received_events_url":"https://api.github.com/users/colinmollenhour/received_events","type":"User","site_admin":false},"body":"Resubmitted on a separate branch and rebased on master:\r\n\r\nMagento is designed to save the results of a query into the catalogsearch_result table, but these results get cleared so frequently and the use of this table creates so much additional lock contention and Algolia is so fast that this method really doesn't make sense. This pull request causes the default behavior to bypass the use of this table which actually makes loading the results page much faster and reduces database load and most importantly, lock contention with other important things like submitting orders.","created_at":"2015-01-27T21:59:46Z","updated_at":"2015-01-27T21:59:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/58/commits","review_comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/58/comments","review_comment_url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/comments/{number}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/58/comments","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-magento/statuses/e106e4e0eb9ef02bc56950e3debc8f6e9e63b17a","head":{"label":"colinmollenhour:patch1","ref":"patch1","sha":"e106e4e0eb9ef02bc56950e3debc8f6e9e63b17a","user":{"login":"colinmollenhour","id":38738,"avatar_url":"https://avatars.githubusercontent.com/u/38738?v=3","gravatar_id":"","url":"https://api.github.com/users/colinmollenhour","html_url":"https://github.com/colinmollenhour","followers_url":"https://api.github.com/users/colinmollenhour/followers","following_url":"https://api.github.com/users/colinmollenhour/following{/other_user}","gists_url":"https://api.github.com/users/colinmollenhour/gists{/gist_id}","starred_url":"https://api.github.com/users/colinmollenhour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinmollenhour/subscriptions","organizations_url":"https://api.github.com/users/colinmollenhour/orgs","repos_url":"https://api.github.com/users/colinmollenhour/repos","events_url":"https://api.github.com/users/colinmollenhour/events{/privacy}","received_events_url":"https://api.github.com/users/colinmollenhour/received_events","type":"User","site_admin":false},"repo":{"id":18522415,"name":"algoliasearch-magento","full_name":"colinmollenhour/algoliasearch-magento","owner":{"login":"colinmollenhour","id":38738,"avatar_url":"https://avatars.githubusercontent.com/u/38738?v=3","gravatar_id":"","url":"https://api.github.com/users/colinmollenhour","html_url":"https://github.com/colinmollenhour","followers_url":"https://api.github.com/users/colinmollenhour/followers","following_url":"https://api.github.com/users/colinmollenhour/following{/other_user}","gists_url":"https://api.github.com/users/colinmollenhour/gists{/gist_id}","starred_url":"https://api.github.com/users/colinmollenhour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinmollenhour/subscriptions","organizations_url":"https://api.github.com/users/colinmollenhour/orgs","repos_url":"https://api.github.com/users/colinmollenhour/repos","events_url":"https://api.github.com/users/colinmollenhour/events{/privacy}","received_events_url":"https://api.github.com/users/colinmollenhour/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/colinmollenhour/algoliasearch-magento","description":"Magento AlgoliaSearch integration","fork":true,"url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento","forks_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/forks","keys_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/keys{/key_id}","collaborators_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/teams","hooks_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/hooks","issue_events_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/issues/events{/number}","events_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/events","assignees_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/assignees{/user}","branches_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/branches{/branch}","tags_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/tags","blobs_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/git/refs{/sha}","trees_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/git/trees{/sha}","statuses_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/statuses/{sha}","languages_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/languages","stargazers_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/stargazers","contributors_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/contributors","subscribers_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/subscribers","subscription_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/subscription","commits_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/commits{/sha}","git_commits_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/git/commits{/sha}","comments_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/comments{/number}","issue_comment_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/issues/comments/{number}","contents_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/contents/{+path}","compare_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/compare/{base}...{head}","merges_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/merges","archive_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/downloads","issues_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/issues{/number}","pulls_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/pulls{/number}","milestones_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/milestones{/number}","notifications_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/labels{/name}","releases_url":"https://api.github.com/repos/colinmollenhour/algoliasearch-magento/releases{/id}","created_at":"2014-04-07T15:33:48Z","updated_at":"2015-01-27T21:57:51Z","pushed_at":"2015-01-27T21:57:51Z","git_url":"git://github.com/colinmollenhour/algoliasearch-magento.git","ssh_url":"git@github.com:colinmollenhour/algoliasearch-magento.git","clone_url":"https://github.com/colinmollenhour/algoliasearch-magento.git","svn_url":"https://github.com/colinmollenhour/algoliasearch-magento","homepage":null,"size":2792,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"algolia:master","ref":"master","sha":"e5506486b2d8dfb1d232c4eb5a9e78fe98bc6f49","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":16968096,"name":"algoliasearch-magento","full_name":"algolia/algoliasearch-magento","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-magento","description":"Magento AlgoliaSearch integration","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-magento","forks_url":"https://api.github.com/repos/algolia/algoliasearch-magento/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-magento/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-magento/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-magento/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-magento/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-magento/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-magento/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-magento/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-magento/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-magento/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-magento/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-magento/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-magento/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-magento/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-magento/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-magento/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-magento/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/comments/{number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-magento/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-magento/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-magento/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-magento/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-magento/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-magento/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-magento/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-magento/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-magento/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-magento/releases{/id}","created_at":"2014-02-18T23:49:42Z","updated_at":"2015-01-26T16:45:52Z","pushed_at":"2015-01-26T16:47:54Z","git_url":"git://github.com/algolia/algoliasearch-magento.git","ssh_url":"git@github.com:algolia/algoliasearch-magento.git","clone_url":"https://github.com/algolia/algoliasearch-magento.git","svn_url":"https://github.com/algolia/algoliasearch-magento","homepage":null,"size":2945,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/58"},"html":{"href":"https://github.com/algolia/algoliasearch-magento/pull/58"},"issue":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/58"},"comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/algoliasearch-magento/statuses/e106e4e0eb9ef02bc56950e3debc8f6e9e63b17a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":111,"deletions":22,"changed_files":6}}