如何确定网站上线前的虚拟主机要求?

发布于 2024-09-14 20:43:02 字数 350 浏览 4 评论 0原文

我已经构建了一个 drupal 站点,其中包含超过 2500 个节点(房地产列表)。我有一种感觉,标准的共享虚拟主机是不够的,但我真的没有办法知道。我也不知道该网站会获得多少点击量,但我预计搜索引擎的流量将超过人类!

网站本身并不复杂,但日常维护工作有点繁重。如何确定网站的托管要求?如果共享主机可以工作,我不想支付专用服务器的费用。另一方面,我不想使用共享主机,然后在几周内必须升级到专用服务器、云环境或其他环境。

是否有某种方法可以从数学上解决这个问题,或者这只是您必须随着时间的推移而学习的东西?我的问题并不是关于这种具体情况。如果需要的话,我可以提供有关情况的更多细节,但我实际上是在寻找一个原则,而不是针对特定情况的解决方案。有什么至理名言吗?

I have built a drupal site that will contain over a 2500 nodes (real estate listings). I have a feeling that a standard shared webhost will not be sufficient but I really have no way to know. Neither do I know how many hits the site will get, but I expect search engine traffic to be more than humans!

The site itself isn't that complex but the routine maintenance is a bit heavy. How do I go about determining the hosting requirements for the site? I don't want to pay for a dedicated server if shared hosting will work. On the other hand, I don't want to go with a shared host and then in a couple weeks have to upgrade to a dedicated server, cloud environment or whatever.

Is there some way to mathematically figure it out or is it just something that you have to learn with time? My question isn't that much about this specific situation. I can give more details of the situation if needed, but I am really looking for a principal, not a resolution to a specific situation. Any words of wisdom out there?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

谎言 2024-09-21 20:43:02

我推荐这种方法:

  • 将您的网站部署在您选择的托管公司的网络服务器上的“虚拟”域(可能是像 mystresstest.mydomain.com 这样的子域)下。
  • 使用压力测试服务(例如 http://loadimpact.com)来确定网站是否可以处理负载。
  • 如果可以,请与该托管商一起生活,如果不行,请尝试另一家托管商。

我认为没有其他办法可以处理这个问题。这完全取决于托管公司的“运营道德”...并且这可能会随着时间的推移而改变...

注意:请注意,共享托管的性能可能会发生变化。如果服务器只运行几个站点,那么它比充满共享托管域时要快......

I recommend this approach:

  • Deploy your site on the webserver of the hosting company of your choice under a "dummy" domain (which could be a subdomain like mystresstest.mydomain.com).
  • Use a stress test service like http://loadimpact.com to determine if the site can handle the load.
  • If OK, go live with that hoster, if not try another one.

I think there is no other way to handle that. It totally depends on the "operation ethics" of the hosting company... And that can change over time...

Note: Be aware that performance can change on shared hosting. If the server runs only a few sites it is faster than when it gets filled up with shared hosting domains...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文