共享虚拟主机(对于 Python Django 站点)可以支持多少流量?

发布于 2024-07-16 17:10:32 字数 573 浏览 11 评论 0原文

此线程中的某人

共享虚拟主机可以占用多少流量?

表示,Reliablesite.net 上的每月 5 美元的共享托管帐户可以支持 10,000 - 20,000 个唯一用户/天和 100,000 - 200,000 次综合浏览量/天。 对于 5 美元/月的账户来说,这似乎非常高。 还有人告诉我,这个数字远远低于这个数字。 你的经验是什么?

我有一个基于 Python、Django、MySQL/Postgresql 的网站。 它没有任何视频或其他带宽重的元素,但整个站点是动态的,每个页面大约需要 5 到 10 个 DB 查询,90% 读取,10% 写入。

Reliablesite.net 是一家 ASP.NET 托管公司。 是否有任何 Python/LAMP 托管公司可以在共享托管帐户上支持 100-200,000 次浏览量? 如果不是,我正在查看什么样的数字? 有什么好的托管公司推荐吗?

谢谢

Someone in this thread

How Much Traffic Can Shared Web Hosting Take?

stated that a $5/mo shared hosting account on Reliablesite.net can support 10,000 - 20,000 unique users/day and 100,000 - 200,000 pageviews/day.
That seems awfully high for a $5/mo account. And someone else told me it's far less than that. What's your experience?

I have a site based on Python, Django, MySQL/Postgresql. It doesn't have any video or other bandwidth heavy elements, but the whole site is dynamic, each page takes about 5 to 10 DB query, 90% reads, 10% writes.

Reliablesite.net is an ASP.NET hosting company. Any Python/LAMP hosting firm that can support 100-200,000 pageviews on a shared hosting account? If not, what kind of numbers am I looking at? Any suggestions for good hosting firms?

Thanks

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

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

发布评论

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

评论(8

倾城月光淡如水﹏ 2024-07-23 17:10:32

100,000 - 200,000 浏览量/天平均为 2 浏览量/秒,高峰时段最多您会获得 10-20 浏览量/秒。 这并不是很多需要处理的事情,特别是如果您有缓存的话。

不管怎样,我会选择VPS。 共享服务器的问题是您永远无法知道其他人的使用模式。

100,000 - 200,000 pageviews/day is on average 2 pageviews/s, at most you'll get 10-20 pageviews/s during busy hours. That's not a lot to handle, especially if you have caching.

Anyways, I'd go for VPS. The problem with shared server is that you can never know the pattern of use the other ppl have.

双手揣兜 2024-07-23 17:10:32

Webfaction 托管托管着我们的近 10 个站点,每天轻松处理超过 10,000 个用户。 我还被告知 Slicehost 也同样好。

Webfaction 和 Slicehost 经常被用于 mod_wsgi python 托管,这正迅速成为托管 django 应用程序的首选方式。

这些主机每月的费用似乎略高; 但这是值得的,因为它们是可靠的。

Webfaction hosting hosts nearly 10 sites of ours handling over 10k users each day, easily. I am also told that Slicehost is just as good.

Webfaction and Slicehost are often looked upto for mod_wsgi python hosting, which is fast becoming the preferred way to host django apps.

These hosts seem to be on a slightly higher side of the charges/month; but its worth it, as they are reliable.

ˇ宁静的妩媚 2024-07-23 17:10:32

大多数主机支持多个站点,无需额外付费。 不要因此而选择 GoDaddy。 我从未使用过 GoDaddy 托管,但使用它们进行域名注册,它们绝对很糟糕。 糟糕的用户界面,糟糕的性能。 我永远不会相信他们会托管网站。 我使用它们进行域名注册的唯一原因是它们似乎是最便宜的选择。

对于共享网络托管,尤其是 Python/Django,我推荐 WEBFACTION。

Most hosts support multiple sites without extra charge. Don't pick GoDaddy because of that. I never used GoDaddy hosting, but use them for domain registration, and they are absolutely terrible. Terrible UI, terrible performance. I would never trust them to host a website. The only reason I use them for domain registration is that they seem to be the cheapest option.

For shared web hosting, especially Python/Django, I recommend WEBFACTION.

星星的轨迹 2024-07-23 17:10:32

我在共享主机上使用 mysql 一段时间了,主要是在每天最多有 300 次访问的信息网站上。 我发现,主机几乎不足以同时支持网站上超过 3 或 4 人,而且几乎不会崩溃。

从理论上讲,我认为如果您的用户一次只来一两个,那么大多数服务的共享托管每小时最多可以有效支持大约 60 个用户。 这相当于一天约有 1500 个用户。 然而,这种情况不太可能发生,因为很多用户往往在一天中的某些时间在线,而且您还必须考虑到共享服务器由于服务器上其他人的滥用而变得非常草率的事实。

我从可靠消息来源听说,一些每月40-50美元的vps托管已经支持每月50万次点击。 我不确定网站的配置是什么,我怀疑这些网站运行了许多动态数据库查询,或者可能只是静态的。

共享托管上常见的另一件事是将文件管理器与数据库托管分开。 有时,您的文件在网上显示得很好,但运行您实际网站的数据库将由于邻居的滥用而严重滞后。

I have been using mysql on shared hosting for a while mainly on informational websites that have gotten at most 300 visits per day. What I have found is that the hosting was barely sufficient to support more than 3 or 4 people on the website at one time without it almost crashing.

Theoretically i think shared hosting with most services could support about about 60 users per hour max efficiently if your users all came one or two at a time. This would equal out to about about 1500 users in one day. This is highly unlikely however because alot of users tend to be online at certain times of the day and you also have to throw in the fact that shared servers get sloppy alot due to abuse from others on the server.

I have heard from reliable sources that some vps hosting thats 40-50 dollars per month have supported 500,000 hits per month. I'm not sure what the websites configurations were though, i doubt the sites ran many dynamic db queries or possibly were simply static.

One other thing that is common on shared hosting is breaking up the file managers with the database hosting. Sometimes your files will do well appearing online but the database that runs your actual website will be lagging extremely due to abuse from your neighbors.

又怨 2024-07-23 17:10:32

我使用的是 GoDaddy.com,确实,您可以在同一托管计划上拥有无限数量的网站,但您的唯一用户数仅限于 100 个。
这意味着,无论您的托管计划中有 1 个网站还是 1000 个网站,您的所有网站同时只能有 100 个访问者。
一些访问者可能会离开,一些新访问者可能会到达,但在您的 GoDaddy 托管计划中,每次访问量不得超过 100 人。 我自己有 10 个网站,因此如果我有 100 个访问者 http://www.milliondollarmysterychallenge.com,那么没有一个访问者我的其他网站可以获得任何流量,直到有人离开! 这太臭了! 如果有人知道更好的托管地点,请在评论中发布链接。

I'm with GoDaddy.com and it's true that you can have an unlimited number of sites on the same hosting plan but you are limited to 100 unique users.
This means that it doesn't matter if you have 1 website or 1000 websites on your hosting plan, you can only have 100 visitors at the same time throughout all of your sites combined.
Some visitors could leave and some new ones can arrive but never more than 100 at a time on your GoDaddy hosting plan. I have 10 sites myself so if I have 100 visitors to http://www.milliondollarmysterychallenge.com then none of my other sites can get any traffic until someone leaves! this stinks! if anybody knows of a better place to host please post a link in the comments.

掀纱窥君容 2024-07-23 17:10:32

如果您的应用程序经过优化,您的共享托管帐户每天可以处理 10,000 名独立访问者。

您可以在 WFT (WebHostingTalk) 找到满足您需求的优质托管服务。GoDaddy

是最大的托管提供商之一(我推荐它)。 他们与 Python 的共享托管计划起价为每月 7 美元。 有了它们,您可以在同一个帐户上托管多个网站,而无需额外付费。

http://www.godaddy.com/gdshop/hosting/shared。 asp?ci=9009

另外,请查看此优惠:http://mediatemple .net/webhosting/gs/features/

(mt) MediaTemplate 公司不像 GoDaddy 那么大,但信誉也很好。 Reliable.net 太小了。

因此,这里推荐的选项是:

If your application is optimized, you shared hosting account can handle 10k unique visitors per day.

You can find a great hosting for your needs at WFT (WebHostingTalk)

One of the biggest hosting provider is GoDaddy (I RECOMMEND IT). Their shared hosting plan with Python starts from $7/month. With them you can host multiple websites on the same account without extra charge.

http://www.godaddy.com/gdshop/hosting/shared.asp?ci=9009

And also take a look at this offer: http://mediatemple.net/webhosting/gs/features/

(mt) MediaTemplate company is not that big as GoDaddy but is also in good standing. Reliable.net is too small.

So, here recommended options are:

失而复得 2024-07-23 17:10:32

我和 Godaddy 一起主持。 但我不知道这100个用户同时使用的事情。

I am hosting with Godaddy. But I am not aware of this 100 users at the same time thing.

墨落成白 2024-07-23 17:10:32

对于每月 5 美元的共享托管服务来说,这听起来有点夸张。 我建议您考虑一下 MediaTemple Grid-Service,它的价格稍贵一些,为 20 美元/月,但更有可能能够处理您的流量并与您一起成长。

That sounds like a stretch for a $5/month shared hosting service. I'd suggest looking in to MediaTemple Grid-Service which is a bit more expensive at $20/month but is more likely to be able to handle your volume and grow with you.

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