{"action":"created","issue":{"url":"https://api.github.com/repos/franela/play-with-docker/issues/8","repository_url":"https://api.github.com/repos/franela/play-with-docker","labels_url":"https://api.github.com/repos/franela/play-with-docker/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/franela/play-with-docker/issues/8/comments","events_url":"https://api.github.com/repos/franela/play-with-docker/issues/8/events","html_url":"https://github.com/franela/play-with-docker/issues/8","id":182132179,"number":8,"title":"Add central database to store app metadata","user":{"login":"marcosnils","id":1578458,"avatar_url":"https://avatars.githubusercontent.com/u/1578458?v=3","gravatar_id":"","url":"https://api.github.com/users/marcosnils","html_url":"https://github.com/marcosnils","followers_url":"https://api.github.com/users/marcosnils/followers","following_url":"https://api.github.com/users/marcosnils/following{/other_user}","gists_url":"https://api.github.com/users/marcosnils/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosnils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosnils/subscriptions","organizations_url":"https://api.github.com/users/marcosnils/orgs","repos_url":"https://api.github.com/users/marcosnils/repos","events_url":"https://api.github.com/users/marcosnils/events{/privacy}","received_events_url":"https://api.github.com/users/marcosnils/received_events","type":"User","site_admin":false},"labels":[{"id":457218669,"url":"https://api.github.com/repos/franela/play-with-docker/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":457218670,"url":"https://api.github.com/repos/franela/play-with-docker/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/franela/play-with-docker/milestones/1","html_url":"https://github.com/franela/play-with-docker/milestones/0.1","labels_url":"https://api.github.com/repos/franela/play-with-docker/milestones/1/labels","id":2095879,"number":1,"title":"0.1","description":"First usable version without security or resource usage issues.","creator":{"login":"marcosnils","id":1578458,"avatar_url":"https://avatars.githubusercontent.com/u/1578458?v=3","gravatar_id":"","url":"https://api.github.com/users/marcosnils","html_url":"https://github.com/marcosnils","followers_url":"https://api.github.com/users/marcosnils/followers","following_url":"https://api.github.com/users/marcosnils/following{/other_user}","gists_url":"https://api.github.com/users/marcosnils/gists{/gist_id}","starred_url":"https://api.github.com/users/marcosnils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcosnils/subscriptions","organizations_url":"https://api.github.com/users/marcosnils/orgs","repos_url":"https://api.github.com/users/marcosnils/repos","events_url":"https://api.github.com/users/marcosnils/events{/privacy}","received_events_url":"https://api.github.com/users/marcosnils/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":1,"state":"open","created_at":"2016-10-26T20:56:33Z","updated_at":"2016-11-02T20:36:27Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-10-10T22:38:42Z","updated_at":"2016-11-02T20:36:27Z","closed_at":"2016-11-02T20:36:27Z","body":"The idea to horizontally scale nodes (docker daemons and webapp). In order to do this we need a centralized DB ( maybe redis?) where session information and node state is stored and shared across nodes.\n\nThere are several //TODO's in the code to improve this.\n"},"comment":{"url":"https://api.github.com/repos/franela/play-with-docker/issues/comments/257990992","html_url":"https://github.com/franela/play-with-docker/issues/8#issuecomment-257990992","issue_url":"https://api.github.com/repos/franela/play-with-docker/issues/8","id":257990992,"user":{"login":"xetorthio","id":139687,"avatar_url":"https://avatars.githubusercontent.com/u/139687?v=3","gravatar_id":"","url":"https://api.github.com/users/xetorthio","html_url":"https://github.com/xetorthio","followers_url":"https://api.github.com/users/xetorthio/followers","following_url":"https://api.github.com/users/xetorthio/following{/other_user}","gists_url":"https://api.github.com/users/xetorthio/gists{/gist_id}","starred_url":"https://api.github.com/users/xetorthio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xetorthio/subscriptions","organizations_url":"https://api.github.com/users/xetorthio/orgs","repos_url":"https://api.github.com/users/xetorthio/repos","events_url":"https://api.github.com/users/xetorthio/events{/privacy}","received_events_url":"https://api.github.com/users/xetorthio/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T20:36:27Z","updated_at":"2016-11-02T20:36:27Z","body":"It seems like we won't need this for now as we won't centralize anything. Each host will store the sessions it knows about. And the request will go directly to that host. Like: `host1.play-with-docker.com`"}}
{"actor":{"display_login":"xetorthio"}}