{"action":"created","issue":{"url":"https://api.github.com/repos/seatgeek/sixpack/issues/199","labels_url":"https://api.github.com/repos/seatgeek/sixpack/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/seatgeek/sixpack/issues/199/comments","events_url":"https://api.github.com/repos/seatgeek/sixpack/issues/199/events","html_url":"https://github.com/seatgeek/sixpack/issues/199","id":110960053,"number":199,"title":"Experiment Archive should remove the users redis value","user":{"login":"nickveenhof","id":161341,"avatar_url":"https://avatars.githubusercontent.com/u/161341?v=3","gravatar_id":"","url":"https://api.github.com/users/nickveenhof","html_url":"https://github.com/nickveenhof","followers_url":"https://api.github.com/users/nickveenhof/followers","following_url":"https://api.github.com/users/nickveenhof/following{/other_user}","gists_url":"https://api.github.com/users/nickveenhof/gists{/gist_id}","starred_url":"https://api.github.com/users/nickveenhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickveenhof/subscriptions","organizations_url":"https://api.github.com/users/nickveenhof/orgs","repos_url":"https://api.github.com/users/nickveenhof/repos","events_url":"https://api.github.com/users/nickveenhof/events{/privacy}","received_events_url":"https://api.github.com/users/nickveenhof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-12T11:58:00Z","updated_at":"2015-10-12T13:54:50Z","closed_at":null,"body":"From what I understand, archiving an experiment is not cleaning up any data that is in redis. I looked through the most used and heaviest keys and there is actually only 1 key that takes up most of the\r\nsixpack:e:{test-name}:users. We are running an experiment for a couple days now and just this single key takes up 150MB of space.\r\n\r\nMy suggestion is as follows, when an experiment is archived, we should delete that redis key and only allow operations to an archived experiment that shows statistics, not new data. When activating an experiment again, it should clone it as a new experiment and start from fresh, as allowing it to resume itself would make no sense in archiving. To allow a pause/resume we should add such functionality. Basically the current archive/unarchive is a pause and resume button. We need a real archive functionality so that we can save space in memory/redis.\r\n\r\nAny ideas/suggestions?"},"comment":{"url":"https://api.github.com/repos/seatgeek/sixpack/issues/comments/147406169","html_url":"https://github.com/seatgeek/sixpack/issues/199#issuecomment-147406169","issue_url":"https://api.github.com/repos/seatgeek/sixpack/issues/199","id":147406169,"user":{"login":"nickveenhof","id":161341,"avatar_url":"https://avatars.githubusercontent.com/u/161341?v=3","gravatar_id":"","url":"https://api.github.com/users/nickveenhof","html_url":"https://github.com/nickveenhof","followers_url":"https://api.github.com/users/nickveenhof/followers","following_url":"https://api.github.com/users/nickveenhof/following{/other_user}","gists_url":"https://api.github.com/users/nickveenhof/gists{/gist_id}","starred_url":"https://api.github.com/users/nickveenhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickveenhof/subscriptions","organizations_url":"https://api.github.com/users/nickveenhof/orgs","repos_url":"https://api.github.com/users/nickveenhof/repos","events_url":"https://api.github.com/users/nickveenhof/events{/privacy}","received_events_url":"https://api.github.com/users/nickveenhof/received_events","type":"User","site_admin":false},"created_at":"2015-10-12T13:54:50Z","updated_at":"2015-10-12T13:54:50Z","body":"Please see PR #200 to see what I mean. It's quite easy to implement and I do not think it changes anything in the API's."}}