{"action":"created","issue":{"url":"https://api.github.com/repos/graphite-project/carbon/issues/419","labels_url":"https://api.github.com/repos/graphite-project/carbon/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/graphite-project/carbon/issues/419/comments","events_url":"https://api.github.com/repos/graphite-project/carbon/issues/419/events","html_url":"https://github.com/graphite-project/carbon/pull/419","id":94601089,"number":419,"title":"tuned cache strategy & cache persistance","user":{"login":"llicour","id":3127713,"avatar_url":"https://avatars.githubusercontent.com/u/3127713?v=3","gravatar_id":"","url":"https://api.github.com/users/llicour","html_url":"https://github.com/llicour","followers_url":"https://api.github.com/users/llicour/followers","following_url":"https://api.github.com/users/llicour/following{/other_user}","gists_url":"https://api.github.com/users/llicour/gists{/gist_id}","starred_url":"https://api.github.com/users/llicour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llicour/subscriptions","organizations_url":"https://api.github.com/users/llicour/orgs","repos_url":"https://api.github.com/users/llicour/repos","events_url":"https://api.github.com/users/llicour/events{/privacy}","received_events_url":"https://api.github.com/users/llicour/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-12T21:34:07Z","updated_at":"2015-09-12T15:58:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graphite-project/carbon/pulls/419","html_url":"https://github.com/graphite-project/carbon/pull/419","diff_url":"https://github.com/graphite-project/carbon/pull/419.diff","patch_url":"https://github.com/graphite-project/carbon/pull/419.patch"},"body":"Hello\r\n\r\nHere are a set of patchs that add 2 majors features to carbon cache daemon, that improve performance and resiliance :\r\n* write cache memory to disk at shutdown and regular interval to minimize unflushed metrics lost if daemon is killed. The file is automatically loaded at startup\r\n* new tuned cache  write strategy that allow to focus flushing queues based on the size, name, age... Flushing occurs for a time or a number or percent of the queue length\r\n\r\nThis allow me to manage many queues and metrics without having a great storage backend (no more need of SSD storage)\r\nThis strategy consume more memory, but allow the system to be more responsive (less CPU & I/O)\r\n\r\nSee Git comments for some details\r\n\r\nAlso : A PR has been pushed on graphite-api GIT to add new APIs to dialog with this patch : \r\n(https://github.com/graphite-project/graphite-web/pull/1277)\r\n* force to write cache memory to disk\r\n* force queue flushing of some queues matching a regexp\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/graphite-project/carbon/issues/comments/139790809","html_url":"https://github.com/graphite-project/carbon/pull/419#issuecomment-139790809","issue_url":"https://api.github.com/repos/graphite-project/carbon/issues/419","id":139790809,"user":{"login":"obfuscurity","id":494338,"avatar_url":"https://avatars.githubusercontent.com/u/494338?v=3","gravatar_id":"","url":"https://api.github.com/users/obfuscurity","html_url":"https://github.com/obfuscurity","followers_url":"https://api.github.com/users/obfuscurity/followers","following_url":"https://api.github.com/users/obfuscurity/following{/other_user}","gists_url":"https://api.github.com/users/obfuscurity/gists{/gist_id}","starred_url":"https://api.github.com/users/obfuscurity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obfuscurity/subscriptions","organizations_url":"https://api.github.com/users/obfuscurity/orgs","repos_url":"https://api.github.com/users/obfuscurity/repos","events_url":"https://api.github.com/users/obfuscurity/events{/privacy}","received_events_url":"https://api.github.com/users/obfuscurity/received_events","type":"User","site_admin":false},"created_at":"2015-09-12T15:58:30Z","updated_at":"2015-09-12T15:58:30Z","body":"The 0.9.x branch was forked a long time ago, I don't even remember why at this point (predates my involvement). We've nursed it along as the \"stable\" branch, mostly applying security patches & bugfixes and cherry-picked features from master deemed too important to skip. All new feature development should always be targeted at the master branch.\r\n\r\nThe Graphite Project is entirely run by volunteers. As such it's impossible (or at best, disingenuous) to give release dates in advance. My off-the-cuff answer to \"when is the next release cut from master\" would be something along the lines of \"probably 3-6 months after our next (and final) release from 0.9.x\", which should be any day or week now."}}