你好,
我正在计划将一个运营良好的论坛迁移到 Discourse,并正在考虑托管方案。我经常使用 Hetzner VPS,对其非常满意,但尚未运行过规模较大的 Discourse 实例。我在想,是否值得将服务拆分到多个 VPS 上,还是直接使用一个更大的 VPS。
该论坛的帖子数接近 100 万,用户数为 1.5 万,每日页面浏览量(PV)超过 10 万。
关于此类论坛的托管方案,任何建议都将不胜感激。
非常感谢。
你好,
我正在计划将一个运营良好的论坛迁移到 Discourse,并正在考虑托管方案。我经常使用 Hetzner VPS,对其非常满意,但尚未运行过规模较大的 Discourse 实例。我在想,是否值得将服务拆分到多个 VPS 上,还是直接使用一个更大的 VPS。
该论坛的帖子数接近 100 万,用户数为 1.5 万,每日页面浏览量(PV)超过 10 万。
关于此类论坛的托管方案,任何建议都将不胜感激。
非常感谢。
On Blender Artists we have about 4.2M posts and 250k pageviews per day. When we migrated to Discourse 1.5 years ago we started on a medium-sized VPS on Digital Ocean, but that didn’t cut it at all. We have since moved to a dedicated server we got at the Hetzner server auction (E5-1650V2 Xeon with 64GB of RAM and 2x 240GB SSD for about 60 Euros a month). We currently use about 50% of our RAM so the database is mostly cached and this machine performs very well.
I wouldn’t recommend a VPS for your forum size, you’ll most likely be upgrading very soon.
I’m not a big fan of going dedicated with such projects. Especially with Hetzner server auction servers. Depending on the age of the server type they might not have replacement parts if something fails. I’ve had this in the past and enjoy running most of my projects on VPS nowadays. Way less downtime and more flexibility. Thanks for that tip anyways.
And it’s not so much the cost that drives me so if going dedicated I’d probably go for a regular server but splitting services onto multiple VPS is something that I’d like to investigate first for scalability. Maybe someone’s got a hint on that.
I’m pulling this up again as we’re slowly getting into moving the thing to discourse. Currently trialing the migration process. Maybe someone has additional insights / experiences in that forum size category? I was reading @sam posting about splitting the DB off to another machine, I wonder if it’s worth going down that route.
You haven’t really given us enough to go on here.
How big are your longest topics? Do you plan to support megatopics in the future (>10k posts) - it’s stuff like that which will obliterate server performance before anything else.
Well there are a few that are in the ballpark of 5k-15k posts and they are growing but there really are a few only. But interesting to hear that this is a pain point in server performance. It’s definitely an option to think about those topics and maybe close some and open a category instead to have issues discussed in separate threads.
Take a look at:
我也对此很感兴趣。我正在撰写一份资助提案,其中将包含一个论坛,用户数可能高达 7,500 人,尽管我完全不清楚他们的活跃程度。我显然需要估算所需的托管资源,但对此几乎一无所知。因此,如果各位能分享相关经验和成本,我将不胜感激。
如果预算允许,您可以表示每月将花费 300 美元用于 商业托管。如果您获得资助,实际上有许多方法可以用低于这个金额的费用解决该问题。
是的,我当然可以使用一个估算数字……我没能回答的问题是:这个估算范围有多大?
采用 Discourse 商业托管将是一个非常明智的决定。
@pfaffman 的建议非常好,如果你完全不清楚自己的相关统计数据大概会是什么水平的话。
我有点困惑,为什么在你甚至不清楚自己处于什么 ballpark(大致范围)的情况下,还要请别人投入时间。
“Ballpark”的意思是:
某个金额或估计值可能正确的区域或范围。
估算托管需求的两种主要方法都需要你先确定一个论坛统计数据,并将其与托管计划的驱动因素(例如:处理事务所需的 CPU、加载数据库所需的内存大小)或约束条件(例如:存储空间)关联起来。如果你无法做到这一点,那么你在这里所问的问题将难以取得进展:
我之所以不知道我的统计数据可能是什么,是因为这不是我的项目,而且项目负责人还没有给我任何数字,因为他们自己也不知道。当然,我的问题是一个“一根绳子有多长”式的问题,但正如你所见,尽管我的表述含糊不清,Jay 还是给出了一个出色的答案。
有时,含糊不清并不妨碍提供有帮助的答案。
我还要指出,许多资助申请都要求你预测不可预测的事情,并基于这些预测提供预算。这是资助运作方式的一个可悲事实,所以在你批评我没有现成的数据之前,不妨试着申请一次资助,看看在没有丝毫把握了解项目参与度的情况下,制定五年预算有多难。
我提出疑问是为什么呢?我并不是在批评你。如果我真的在批评,我的帖子会尖锐得多。
你在一个关于“绳子”的话题里提出了一个“绳子有多长”的问题,所以出现这样的疑问也在情理之中。
有过这种经历,也这么做过。![]()
对于计算机系统,将你的原始估算乘以四,因为它们一贯固执,无法通过甜言蜜语使其配合。