大网数据广告活动
服务器运维问答

Scaling out Dokku infrastructure

· 52CE 我爱测

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 instan…

问题原文

原帖链接 · 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.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2014-10-27)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。