{"action":"closed","issue":{"url":"https://api.github.com/repos/raintank/raintank-metric/issues/141","repository_url":"https://api.github.com/repos/raintank/raintank-metric","labels_url":"https://api.github.com/repos/raintank/raintank-metric/issues/141/labels{/name}","comments_url":"https://api.github.com/repos/raintank/raintank-metric/issues/141/comments","events_url":"https://api.github.com/repos/raintank/raintank-metric/issues/141/events","html_url":"https://github.com/raintank/raintank-metric/issues/141","id":133533289,"number":141,"title":"re-think aggregation stratergy","user":{"login":"woodsaj","id":8415072,"avatar_url":"https://avatars.githubusercontent.com/u/8415072?v=3","gravatar_id":"","url":"https://api.github.com/users/woodsaj","html_url":"https://github.com/woodsaj","followers_url":"https://api.github.com/users/woodsaj/followers","following_url":"https://api.github.com/users/woodsaj/following{/other_user}","gists_url":"https://api.github.com/users/woodsaj/gists{/gist_id}","starred_url":"https://api.github.com/users/woodsaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodsaj/subscriptions","organizations_url":"https://api.github.com/users/woodsaj/orgs","repos_url":"https://api.github.com/users/woodsaj/repos","events_url":"https://api.github.com/users/woodsaj/events{/privacy}","received_events_url":"https://api.github.com/users/woodsaj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-14T11:56:50Z","updated_at":"2016-03-08T10:58:45Z","closed_at":"2016-03-08T10:58:45Z","body":"Though aggregation is not enabled in Production, in dev the current aggregation policies are\r\n\r\n`600:21600:2,7200:21600:2,21600:21600:2`\r\n\r\nIn the aggSettings above, we have 10minute aggregations, 2hour aggregations and 6hour aggregations all being written to Cassandra every 6hours.  Instead of storing the 2hour and 6hour data we could very easily compute it every time we write the 10minute aggregations to Cassandra.\r\n\r\nThis idea hasn't been completely thought through, but i think it is worth further thought and could potentially help reduce memory and cpu needed for aggregations considerably.\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n"}}