Pros and cons of multiple standalone containers vs one for multiple Discourse installs?

There seems to be two options for multiple Discoure installs, multiple containers or one - what are the pros and cons of each, and perhaps, which do you think makes more sense for my needs (see below)?

My server is set up so that each site on it is in its own folder in the /home directory, e.g.:

/home/site1
/home/site2
/home/site3
etc

So I would prefer to install each Discourse forum in the same way:

/home/site1
/home/site2
/home/site3
/home/discourse1
/home/discourse2
etc

The server has 48GB of ram and my current Discourse install is set-up in this way. What would suit my needs best and what are the drawbacks if any?

2 个赞

Are they all going to be serviced simultaneously? How much differentiation is going to exist in terms of plugins and other functionality?

3 个赞

What do you mean by serviced? Upgraded? If so, yeah that would be cool to have as an option - though don’t mind doing individual upgrades if I had to.

They will probably run the same plug-ins (tags, accepted answer) as I generally don’t like to use plugins unless they are official or semi-official.

1 个赞

@AstonJ 自 2015 年以来,您在独立安装与多站点安装方面得出了什么结论?我只是在考虑将我所有的站点迁移到一个 DO (DigitalOcean) 虚拟机上以节省一些托管费用。

在我看来,鉴于我的所有站点都是私有的且活动量不大,多站点对我来说可能没问题。

1 个赞

独立部署因为它更灵活 :+1:
您仍然可以在单个液滴上托管多个论坛,如果您需要指导,请参阅我在这里的指南:https://meta.discourse.org/t/set-up-discourse-on-a-server-with-existing-apache-sites/30013(只需在 HAProxy 中为每个论坛添加额外的后端)。

留下我的 $0.02 见解,
这真的归结为插件。多站点(Multisite)会使您安装的任何插件对网络中的所有站点都可用,而独立站点(standalone sites)将拥有自己独特的子集。
与单个多站点相比,独立站点可能会有更高的系统利用率,因为每个容器都在运行相同的进程。除非某些站点的流量比其他站点高出指数级,否则这不一定意味着实际的性能影响。

2 个赞