问题原文
原帖链接 · vinnylinux · CC BY-SA 3.0
I just finished setting up a Dokku-based infrastructure, but i'm curious about how to scale it. I followed this tutorial by Digital Ocean, but there's not mention of HA or scalability.
Is it possible to load balance dokku instances? How to provide HA for this kind of docker-based infrastructure? Should i use Deis instead, or wait for Flynn to get release? Do you guys recommend any good books on this topic?
已采纳解答
原帖链接 · Andy Shinn · CC BY-SA 4.0
Update for 2019:
Hephy Workflow is a fork of Deis Workflow. This is likely the most logical answer to the question at the time of this edit.
Deis is no longer a valid answer (and hasn't been for a very long time). Deis was deprecated in favor of a newer platform called Deis Workflow, which was a PaaS similar to Deis built upon Kubernetes. But Deis Workflow has also been deprecated.
In addition to Hephy there is also Flynn. But I don't know the status of that project. The links are dead. But I'll leave the original answer below.
Dokku is actually partnering up with OpDemand and Deis to help provide a clear upgrade path to those who want multi-host (and vice versa). See http://deis.io/deis-sponsors-dokku/ and http://progrium.com/blog/2014/10/28/deis-breathes-new-life-into-dokku/.
Deis will give you:
- A number of routers to load balance your instances.
- Commands to scale the instances (much like Heroku).
- An architecture that requires you to run on 3 or more hosts, gaining you some fault tolerance and high availability out of the box.
So to answer the question, the more "official" way will soon be to setup and use Deis when coming from a Dokku world.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
