{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/graphite-project/ceres/pulls/40","id":72326813,"html_url":"https://github.com/graphite-project/ceres/pull/40","diff_url":"https://github.com/graphite-project/ceres/pull/40.diff","patch_url":"https://github.com/graphite-project/ceres/pull/40.patch","issue_url":"https://api.github.com/repos/graphite-project/ceres/issues/40","number":40,"state":"open","locked":false,"title":"Make use of CeresTree.nodeCache optional and configurable.","user":{"login":"iain-buclaw-sociomantic","id":11678319,"avatar_url":"https://avatars.githubusercontent.com/u/11678319?v=3","gravatar_id":"","url":"https://api.github.com/users/iain-buclaw-sociomantic","html_url":"https://github.com/iain-buclaw-sociomantic","followers_url":"https://api.github.com/users/iain-buclaw-sociomantic/followers","following_url":"https://api.github.com/users/iain-buclaw-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/iain-buclaw-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/iain-buclaw-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iain-buclaw-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/iain-buclaw-sociomantic/orgs","repos_url":"https://api.github.com/users/iain-buclaw-sociomantic/repos","events_url":"https://api.github.com/users/iain-buclaw-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/iain-buclaw-sociomantic/received_events","type":"User","site_admin":false},"body":"Having `nodeCache` always turned on saves on a lot of heavy IO operations on disk.  However I have found a valid (I hope) use-case where if the Ceres storage device is a ramdisk (https://www.kernel.org/doc/Documentation/blockdev/zram.txt) then there is no speed to be gained from caching all nodes, as they are already all in memory.\r\n\r\nIn my environment, this reduces the memory consumption of carbon-caches from 2.7GB to 270MB.","created_at":"2016-06-02T11:00:01Z","updated_at":"2016-06-02T11:00:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/graphite-project/ceres/pulls/40/commits","review_comments_url":"https://api.github.com/repos/graphite-project/ceres/pulls/40/comments","review_comment_url":"https://api.github.com/repos/graphite-project/ceres/pulls/comments{/number}","comments_url":"https://api.github.com/repos/graphite-project/ceres/issues/40/comments","statuses_url":"https://api.github.com/repos/graphite-project/ceres/statuses/c2e12471e4af620efc2b1b007be0657f85d7475b","head":{"label":"iain-buclaw-sociomantic:nodecache","ref":"nodecache","sha":"c2e12471e4af620efc2b1b007be0657f85d7475b","user":{"login":"iain-buclaw-sociomantic","id":11678319,"avatar_url":"https://avatars.githubusercontent.com/u/11678319?v=3","gravatar_id":"","url":"https://api.github.com/users/iain-buclaw-sociomantic","html_url":"https://github.com/iain-buclaw-sociomantic","followers_url":"https://api.github.com/users/iain-buclaw-sociomantic/followers","following_url":"https://api.github.com/users/iain-buclaw-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/iain-buclaw-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/iain-buclaw-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iain-buclaw-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/iain-buclaw-sociomantic/orgs","repos_url":"https://api.github.com/users/iain-buclaw-sociomantic/repos","events_url":"https://api.github.com/users/iain-buclaw-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/iain-buclaw-sociomantic/received_events","type":"User","site_admin":false},"repo":{"id":48439575,"name":"ceres","full_name":"iain-buclaw-sociomantic/ceres","owner":{"login":"iain-buclaw-sociomantic","id":11678319,"avatar_url":"https://avatars.githubusercontent.com/u/11678319?v=3","gravatar_id":"","url":"https://api.github.com/users/iain-buclaw-sociomantic","html_url":"https://github.com/iain-buclaw-sociomantic","followers_url":"https://api.github.com/users/iain-buclaw-sociomantic/followers","following_url":"https://api.github.com/users/iain-buclaw-sociomantic/following{/other_user}","gists_url":"https://api.github.com/users/iain-buclaw-sociomantic/gists{/gist_id}","starred_url":"https://api.github.com/users/iain-buclaw-sociomantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iain-buclaw-sociomantic/subscriptions","organizations_url":"https://api.github.com/users/iain-buclaw-sociomantic/orgs","repos_url":"https://api.github.com/users/iain-buclaw-sociomantic/repos","events_url":"https://api.github.com/users/iain-buclaw-sociomantic/events{/privacy}","received_events_url":"https://api.github.com/users/iain-buclaw-sociomantic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iain-buclaw-sociomantic/ceres","description":"Distributable time-series database","fork":true,"url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres","forks_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/forks","keys_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/teams","hooks_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/hooks","issue_events_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/issues/events{/number}","events_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/events","assignees_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/assignees{/user}","branches_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/branches{/branch}","tags_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/tags","blobs_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/git/refs{/sha}","trees_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/statuses/{sha}","languages_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/languages","stargazers_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/stargazers","contributors_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/contributors","subscribers_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/subscribers","subscription_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/subscription","commits_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/commits{/sha}","git_commits_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/git/commits{/sha}","comments_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/comments{/number}","issue_comment_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/issues/comments{/number}","contents_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/contents/{+path}","compare_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/merges","archive_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/downloads","issues_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/issues{/number}","pulls_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/pulls{/number}","milestones_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/milestones{/number}","notifications_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/labels{/name}","releases_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/releases{/id}","deployments_url":"https://api.github.com/repos/iain-buclaw-sociomantic/ceres/deployments","created_at":"2015-12-22T15:31:58Z","updated_at":"2016-06-02T10:34:01Z","pushed_at":"2016-06-02T10:40:39Z","git_url":"git://github.com/iain-buclaw-sociomantic/ceres.git","ssh_url":"git@github.com:iain-buclaw-sociomantic/ceres.git","clone_url":"https://github.com/iain-buclaw-sociomantic/ceres.git","svn_url":"https://github.com/iain-buclaw-sociomantic/ceres","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"graphite-project:master","ref":"master","sha":"c06d911923cf3f5305aefda0e501aefff01abea2","user":{"login":"graphite-project","id":1714806,"avatar_url":"https://avatars.githubusercontent.com/u/1714806?v=3","gravatar_id":"","url":"https://api.github.com/users/graphite-project","html_url":"https://github.com/graphite-project","followers_url":"https://api.github.com/users/graphite-project/followers","following_url":"https://api.github.com/users/graphite-project/following{/other_user}","gists_url":"https://api.github.com/users/graphite-project/gists{/gist_id}","starred_url":"https://api.github.com/users/graphite-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphite-project/subscriptions","organizations_url":"https://api.github.com/users/graphite-project/orgs","repos_url":"https://api.github.com/users/graphite-project/repos","events_url":"https://api.github.com/users/graphite-project/events{/privacy}","received_events_url":"https://api.github.com/users/graphite-project/received_events","type":"Organization","site_admin":false},"repo":{"id":4257297,"name":"ceres","full_name":"graphite-project/ceres","owner":{"login":"graphite-project","id":1714806,"avatar_url":"https://avatars.githubusercontent.com/u/1714806?v=3","gravatar_id":"","url":"https://api.github.com/users/graphite-project","html_url":"https://github.com/graphite-project","followers_url":"https://api.github.com/users/graphite-project/followers","following_url":"https://api.github.com/users/graphite-project/following{/other_user}","gists_url":"https://api.github.com/users/graphite-project/gists{/gist_id}","starred_url":"https://api.github.com/users/graphite-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphite-project/subscriptions","organizations_url":"https://api.github.com/users/graphite-project/orgs","repos_url":"https://api.github.com/users/graphite-project/repos","events_url":"https://api.github.com/users/graphite-project/events{/privacy}","received_events_url":"https://api.github.com/users/graphite-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/graphite-project/ceres","description":"Distributable time-series database","fork":false,"url":"https://api.github.com/repos/graphite-project/ceres","forks_url":"https://api.github.com/repos/graphite-project/ceres/forks","keys_url":"https://api.github.com/repos/graphite-project/ceres/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graphite-project/ceres/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graphite-project/ceres/teams","hooks_url":"https://api.github.com/repos/graphite-project/ceres/hooks","issue_events_url":"https://api.github.com/repos/graphite-project/ceres/issues/events{/number}","events_url":"https://api.github.com/repos/graphite-project/ceres/events","assignees_url":"https://api.github.com/repos/graphite-project/ceres/assignees{/user}","branches_url":"https://api.github.com/repos/graphite-project/ceres/branches{/branch}","tags_url":"https://api.github.com/repos/graphite-project/ceres/tags","blobs_url":"https://api.github.com/repos/graphite-project/ceres/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graphite-project/ceres/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graphite-project/ceres/git/refs{/sha}","trees_url":"https://api.github.com/repos/graphite-project/ceres/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graphite-project/ceres/statuses/{sha}","languages_url":"https://api.github.com/repos/graphite-project/ceres/languages","stargazers_url":"https://api.github.com/repos/graphite-project/ceres/stargazers","contributors_url":"https://api.github.com/repos/graphite-project/ceres/contributors","subscribers_url":"https://api.github.com/repos/graphite-project/ceres/subscribers","subscription_url":"https://api.github.com/repos/graphite-project/ceres/subscription","commits_url":"https://api.github.com/repos/graphite-project/ceres/commits{/sha}","git_commits_url":"https://api.github.com/repos/graphite-project/ceres/git/commits{/sha}","comments_url":"https://api.github.com/repos/graphite-project/ceres/comments{/number}","issue_comment_url":"https://api.github.com/repos/graphite-project/ceres/issues/comments{/number}","contents_url":"https://api.github.com/repos/graphite-project/ceres/contents/{+path}","compare_url":"https://api.github.com/repos/graphite-project/ceres/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graphite-project/ceres/merges","archive_url":"https://api.github.com/repos/graphite-project/ceres/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graphite-project/ceres/downloads","issues_url":"https://api.github.com/repos/graphite-project/ceres/issues{/number}","pulls_url":"https://api.github.com/repos/graphite-project/ceres/pulls{/number}","milestones_url":"https://api.github.com/repos/graphite-project/ceres/milestones{/number}","notifications_url":"https://api.github.com/repos/graphite-project/ceres/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graphite-project/ceres/labels{/name}","releases_url":"https://api.github.com/repos/graphite-project/ceres/releases{/id}","deployments_url":"https://api.github.com/repos/graphite-project/ceres/deployments","created_at":"2012-05-08T04:46:23Z","updated_at":"2016-05-19T04:55:17Z","pushed_at":"2016-06-02T11:00:01Z","git_url":"git://github.com/graphite-project/ceres.git","ssh_url":"git@github.com:graphite-project/ceres.git","clone_url":"https://github.com/graphite-project/ceres.git","svn_url":"https://github.com/graphite-project/ceres","homepage":null,"size":191,"stargazers_count":311,"watchers_count":311,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":22,"forks":70,"open_issues":22,"watchers":311,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/graphite-project/ceres/pulls/40"},"html":{"href":"https://github.com/graphite-project/ceres/pull/40"},"issue":{"href":"https://api.github.com/repos/graphite-project/ceres/issues/40"},"comments":{"href":"https://api.github.com/repos/graphite-project/ceres/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/graphite-project/ceres/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/graphite-project/ceres/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/graphite-project/ceres/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/graphite-project/ceres/statuses/c2e12471e4af620efc2b1b007be0657f85d7475b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":66,"deletions":7,"changed_files":2}}
{"actor":{"display_login":"iain-buclaw-sociomantic"}}