3 ms·
I am really excited about this! Though, I kinda wonder. When scaling web instances, does it provision a new machine per instance? Also, how do I do something
by cordite 13y ago
I am really excited about this!
Though, I kinda wonder. When scaling web instances, does it provision a new machine per instance?
Also, how do I do something like create backing services?
- bacongobbler 13y ago> When scaling web instances, does it provision a new machine per instance? We host application instances in Docker containers, so each instance is essentially a container on a VM. We have a very basic scheduler implementation (read: round-robin) that deploys the containers evenly across nodes under the Runtime Layer[1]. As gabrtv mentions in another comment, we are looking to replace this scheduler with something more sophisticated like Apache Mesos[2]. As for creating backing services, we are looking to implement a service registry[3] where it would communicate with third-party services much like how Heroku Addons work. For the moment, most users set an environment variable for their application as per the docs: http://docs.deis.io/en/latest/developer/manage-application/#configure-the-application http://docs.deis.io/en/latest/developer/manage-application/#... [1]: http://docs.deis.io/en/latest/components/layer/#runtime-layers http://docs.deis.io/en/latest/components/layer/#runtime-laye... [2]: http://mesos.apache.org/ http://mesos.apache.org/ [3]: https://github.com/opdemand/deis/issues/231 https://github.com/opdemand/deis/issues/231