首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >我需要什么样的硬件来运行一个大型社区的phpBB 3服务器?

我需要什么样的硬件来运行一个大型社区的phpBB 3服务器?
EN

Server Fault用户
提问于 2014-10-01 21:37:46
回答 1查看 93关注 0票数 -1

我正在努力弄清楚,我需要什么样的硬件来为一个相当大的社区运行phpBB 3服务器。当我提到硬件时,我指的是CPU、RAM和IO规范。当我说到相当大的社区时,我指的是一个大约3万人的社区,平均每天有1000个帖子,每天大约有100个用户活跃。

我见过人们讨论为phpBB 2社区5,000个用户提供1GBRAM的问题,但这当然有点老了。有什么想法吗?

EN

回答 1

Server Fault用户

发布于 2014-10-01 22:05:39

100个用户活动不是..。游戏结束..。如果你想要始终如一的表现,拿出你的预算,买下你能买到的最大的,然后成长成它。(这通常是不好的建议,但我认为它适用于.)

通常,当指定服务器硬件时,就会做台架标记,找到他们需要的硬件,并以他们能找到的最便宜的价格购买该硬件。如果你没有那种能力..。最好还是把钱放在硬件上,如果这样的优化工作还不够,比如缓存/等等。

不可能直接回答你的问题,因为:

代码语言:javascript
复制
You say 100 active users/day
I take this to mean that during the day 100 users come and go and maybe do some things

That is no big deal... Let's assume that for 12 hours in the day.. your users sleep
(if they don't and access is spread around the clock it works in your favor -- distributed load)

So 100 users make ~30 requests that are either reads/posts/uploads/or something else...
These loads very... so we'll pretend they have a nice clean average.

100 x 30 = 3,000 requests / day.
If we pretend that your server takes 10/sec to process one request
  then we have a total processing time of:
  100 x 30 = 3,0000 requests * 10 seconds = 30,000 seconds / day spent processing requests
  There are some 86400 or so seconds in a day.
  If we cut off half of those because users are sleeping
    Then we still have 43,200 seconds left
    30,000 < 43,000 seconds so the server might handle the load...
         If everything is spread out..

重要的是:

1)你的用户习惯

2)这些习惯对服务器负载/容量/等等的影响(EG:从缓存读取页面比上载50 is更容易)。

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/632903

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档