{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/1117","labels_url":"https://api.github.com/repos/progrium/dokku/issues/1117/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/1117/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/1117/events","html_url":"https://github.com/progrium/dokku/issues/1117","id":69191733,"number":1117,"title":"ps:scale implementation","user":{"login":"michaelshobbs","id":4491438,"avatar_url":"https://avatars.githubusercontent.com/u/4491438?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelshobbs","html_url":"https://github.com/michaelshobbs","followers_url":"https://api.github.com/users/michaelshobbs/followers","following_url":"https://api.github.com/users/michaelshobbs/following{/other_user}","gists_url":"https://api.github.com/users/michaelshobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelshobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelshobbs/subscriptions","organizations_url":"https://api.github.com/users/michaelshobbs/orgs","repos_url":"https://api.github.com/users/michaelshobbs/repos","events_url":"https://api.github.com/users/michaelshobbs/events{/privacy}","received_events_url":"https://api.github.com/users/michaelshobbs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-04-17T18:27:27Z","updated_at":"2015-04-17T23:28:24Z","closed_at":null,"body":"I believe this initially started with wanting to provide a core method of scaling processes on the same machine. #298 was the first attempt at this implementation but was not accepted as we let it sit around for too long. (I think)\r\n\r\nSome questions come up in the new world of dokku that include things like zero-downtime checks and dockerfile deployments. \r\n\r\nIssue/Question 1: Currently the zero-downtime checks rely on a web service being accessible for dokku to 'ping'. Therefore, if we run each Procfile entry in its own container things like workers can't be checked in this same manner. \r\n\r\nThere are two potential ways to go here. First would be to scale at the container level and somehow detect that a listener is running, then run checks. Otherwise, use the default container 'uptime' check we run when an app does not have a CHECKS file. The second method would be to use a similar pattern to the dokku-supervisor plugin and use a process manager in a single container to handle scaling.\r\n\r\n\r\nIssue/Question 2: How should we scale dockerfile deployments.?\r\nI don't use this method today and not sure I have a full grasp of implementation details. However, I think these can 'easily' be scaled using the multiple container approach.\r\n\r\nrefs: #733 \r\n\r\nping @progrium @josegonzalez @joshco \r\n"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/94096716","html_url":"https://github.com/progrium/dokku/issues/1117#issuecomment-94096716","issue_url":"https://api.github.com/repos/progrium/dokku/issues/1117","id":94096716,"user":{"login":"joshco","id":290314,"avatar_url":"https://avatars.githubusercontent.com/u/290314?v=3","gravatar_id":"","url":"https://api.github.com/users/joshco","html_url":"https://github.com/joshco","followers_url":"https://api.github.com/users/joshco/followers","following_url":"https://api.github.com/users/joshco/following{/other_user}","gists_url":"https://api.github.com/users/joshco/gists{/gist_id}","starred_url":"https://api.github.com/users/joshco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshco/subscriptions","organizations_url":"https://api.github.com/users/joshco/orgs","repos_url":"https://api.github.com/users/joshco/repos","events_url":"https://api.github.com/users/joshco/events{/privacy}","received_events_url":"https://api.github.com/users/joshco/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T23:28:24Z","updated_at":"2015-04-17T23:28:24Z","body":"Done: https://github.com/progrium/dokku/pull/1119\r\n\r\n"}}