{"action":"created","issue":{"url":"https://api.github.com/repos/optiver/ruruki/issues/2","repository_url":"https://api.github.com/repos/optiver/ruruki","labels_url":"https://api.github.com/repos/optiver/ruruki/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/optiver/ruruki/issues/2/comments","events_url":"https://api.github.com/repos/optiver/ruruki/issues/2/events","html_url":"https://github.com/optiver/ruruki/issues/2","id":134198776,"number":2,"title":"Persistence","user":{"login":"jenmud","id":940974,"avatar_url":"https://avatars.githubusercontent.com/u/940974?v=3","gravatar_id":"","url":"https://api.github.com/users/jenmud","html_url":"https://github.com/jenmud","followers_url":"https://api.github.com/users/jenmud/followers","following_url":"https://api.github.com/users/jenmud/following{/other_user}","gists_url":"https://api.github.com/users/jenmud/gists{/gist_id}","starred_url":"https://api.github.com/users/jenmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenmud/subscriptions","organizations_url":"https://api.github.com/users/jenmud/orgs","repos_url":"https://api.github.com/users/jenmud/repos","events_url":"https://api.github.com/users/jenmud/events{/privacy}","received_events_url":"https://api.github.com/users/jenmud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/optiver/ruruki/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"jenmud","id":940974,"avatar_url":"https://avatars.githubusercontent.com/u/940974?v=3","gravatar_id":"","url":"https://api.github.com/users/jenmud","html_url":"https://github.com/jenmud","followers_url":"https://api.github.com/users/jenmud/followers","following_url":"https://api.github.com/users/jenmud/following{/other_user}","gists_url":"https://api.github.com/users/jenmud/gists{/gist_id}","starred_url":"https://api.github.com/users/jenmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenmud/subscriptions","organizations_url":"https://api.github.com/users/jenmud/orgs","repos_url":"https://api.github.com/users/jenmud/repos","events_url":"https://api.github.com/users/jenmud/events{/privacy}","received_events_url":"https://api.github.com/users/jenmud/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/optiver/ruruki/milestones/1","html_url":"https://github.com/optiver/ruruki/milestones/persistence%20implementation","labels_url":"https://api.github.com/repos/optiver/ruruki/milestones/1/labels","id":1610063,"number":1,"title":"persistence implementation","description":null,"creator":{"login":"jenmud","id":940974,"avatar_url":"https://avatars.githubusercontent.com/u/940974?v=3","gravatar_id":"","url":"https://api.github.com/users/jenmud","html_url":"https://github.com/jenmud","followers_url":"https://api.github.com/users/jenmud/followers","following_url":"https://api.github.com/users/jenmud/following{/other_user}","gists_url":"https://api.github.com/users/jenmud/gists{/gist_id}","starred_url":"https://api.github.com/users/jenmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenmud/subscriptions","organizations_url":"https://api.github.com/users/jenmud/orgs","repos_url":"https://api.github.com/users/jenmud/repos","events_url":"https://api.github.com/users/jenmud/events{/privacy}","received_events_url":"https://api.github.com/users/jenmud/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2016-02-28T09:46:42Z","updated_at":"2016-02-28T09:47:23Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-17T07:01:57Z","updated_at":"2016-02-28T11:27:13Z","closed_at":null,"body":"Ruruki should be able to support persistence. So vertices and edges are stored in memory and on disk.\r\n\r\nSome ideas floating around the office is a directory layout\r\n\r\n\r\nSomething on the lines of (EXAMPLE ONLY)\r\n\r\n```\r\ngraph\r\n   |_ vertices\r\n   |     |_ constraints.json (file)\r\n   |     |_ label\r\n   |     |     |_ 0\r\n   |     |           |_ properties.json (file)\r\n   |     |           |_ in-edges\r\n   |     |           |           |_ 0 -> ../../../../edges/label/0_1 (symlink)\r\n   |     |           |_ out-edges\r\n   |     |                       |_ \r\n   |     |   \r\n   |     |_ label\r\n   |     |    |_ 1\r\n   |     |         |_ properties.json (file)\r\n   |     |          |_ in-edges\r\n   |     |          |            |_ \r\n   |     |          |_ out-edges\r\n   |     |                       |_ 0 -> ../../../../edges/label/0_1 (symlink)\r\n   |\r\n   |_ edges\r\n   |      |_ constraints.json\r\n   |      |_ label\r\n   |            |\r\n   |            |_0\r\n   |                |_ properties.json (file)\r\n   |                |_ ../../../vertices/0 (symlik)\r\n   |                |_ ../../../vertices/1 (symlik)\r\n```"},"comment":{"url":"https://api.github.com/repos/optiver/ruruki/issues/comments/189848206","html_url":"https://github.com/optiver/ruruki/issues/2#issuecomment-189848206","issue_url":"https://api.github.com/repos/optiver/ruruki/issues/2","id":189848206,"user":{"login":"jenmud","id":940974,"avatar_url":"https://avatars.githubusercontent.com/u/940974?v=3","gravatar_id":"","url":"https://api.github.com/users/jenmud","html_url":"https://github.com/jenmud","followers_url":"https://api.github.com/users/jenmud/followers","following_url":"https://api.github.com/users/jenmud/following{/other_user}","gists_url":"https://api.github.com/users/jenmud/gists{/gist_id}","starred_url":"https://api.github.com/users/jenmud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenmud/subscriptions","organizations_url":"https://api.github.com/users/jenmud/orgs","repos_url":"https://api.github.com/users/jenmud/repos","events_url":"https://api.github.com/users/jenmud/events{/privacy}","received_events_url":"https://api.github.com/users/jenmud/received_events","type":"User","site_admin":false},"created_at":"2016-02-28T11:27:13Z","updated_at":"2016-02-28T11:27:13Z","body":"don't forget to add the implementation's to sphinx, including the new IDGenerator."}}