100mbps 专用服务器与共享主机相同的下载速度!

发布于 2024-07-13 08:39:22 字数 349 浏览 17 评论 0原文

我使用的两个不同主机有两个规格:

(a) 具有全双工 100Mbits 互联网连接的专用服务器(每月 140 美元)

(b) 具有 100Mbits 互联网连接的服务器上的共享主机(每月 7 美元)

我已经测试了我的应用程序从其他服务器下载并让用户依次从我的网站下载。 我已经反复测试过,下载文件需要同样的时间! 但专用的最终下载到客户端计算机的速度要快得多。

首先,我可以使用任何 Linux 命令或工具来正确测试每台服务器的带宽吗?

其次,为什么他们从其他服务器的下载速度是相同的?

请阐明这一点,因为我觉得我无缘无故地浪费了钱!

谢谢大家

I have two specs from two different hosts I am using:

(a) Dedicated server with Full duplex 100Mbits internet connection ($140 per month)

(b) Shared Host on a server that has 100Mbits internet connection ($7 per month)

I have tested my application which downloads from other servers and lets users download from my site in turn. I have tested this again and again and it takes the same time to download files! But the dedicated is much faster in the final download to the clients computer.

Firstly, are there any Linux commands or tools I can use to test bandwidth properly for each server?

Secondly, why the hell do they have the same download speed from other servers??

Please shed some light on this as I feel I've been wasting money for no reason!!

Thanks all

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

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

发布评论

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

评论(5

太傻旳人生 2024-07-20 08:39:22

首先,您可以使用 iperf 来测试您的网络速度。 其次,您不是为速度付费,而是为功能和灵活性付费,因为您基本上可以根据需要配置自己的服务器。 使用共享主机,您的站点很可能位于具有一百个其他站点的计算机上,每个站点都在竞争资源。

此外,瓶颈可能不在您的一端或主机的一端,而是在您正在获取的内容和服务器之间的某个位置。

First, you can use iperf to test your network speeds. Second, you're not paying for the speed, you're paying for the power and flexibility of having essentially your own server configured however you want. With a shared host, your site is most likely on a machine with a hundred other sites, each competing for resources.

Also, the bottleneck is probably not on your end or on your host's end, but rather somewhere in between the content you're fetching and your servers.

悍妇囚夫 2024-07-20 08:39:22

如果我没看错的话,您的共享服务器在获取文件时与专用服务器一样快,但在提供文件时要慢得多。

我想说的是,您的共享服务器所在的盒子的“输出”带宽主要由其他客户端的切片使用,而“输入”带宽则大部分未使用,因此您可以获得几乎全部性能。

听起来不错,因为提供文件是比获取文件更常见的任务。

if i read correctly, your shared server is just as fast as the dedicated when fetching a file, but much slower when serving it.

I'd say that the box your shared server is in has the "out" bandwidth mostly used by the other client's slices, while the "in" bandwidth is mostly unused, so you get almost full performance.

sounds right, since serving files is a lot more common task than fetching them.

妄断弥空 2024-07-20 08:39:22

共享主机和专用主机之间的最大区别在于,使用专用主机,您是使用该盒子的唯一帐户。 通过共享托管,可能(而且很可能)有数千个其他网站托管在其上。

如果其中一个网站出现问题并带走整个盒子,那么您的网站也会崩溃。 在专用盒子上,唯一会出现问题的网站就是您的网站。

使用专用主机,您可能还拥有该盒子的完整管理权限,而共享主机可能没有这些权限。

The big difference between shared hosting and dedicated hosting is that with dedicated hosting, you're the only account using that box. With shared hosting, there could be (and most likely are) thousands of other web sites hosted on it.

If one of those sites goes wonky and takes the whole box with it, your site goes too. On a dedicated box, the only site that's going to go wonky is yours.

With dedicated, you probably also have full admin rights to the box, which you probably don't have with the shared host.

歌枕肩 2024-07-20 08:39:22

嗯,一种可能是共享站点所在的主机上来自其他共享站点的负载很少。 如果所有共享站点都坐在那里,点击量很少,那么您的站点基本上就充分利用了该盒子,因此它与专用盒子没有什么不同。

但如果其他网站开始获得流量,您的网站就会受到影响。

不确定共享站点是否是全双工的,但这并不总是有影响(不是那里的专家)。

Well, one possiblity is that the shared site is on a host that has very little load from the other shared sites. If all the shared sites are just sitting there getting very little hits, then your site basically is getting full use of the box, so its no different from a dedicated box.

But if those other sites start getting traffic, your site will be impacted.

Not sure if the shared site is full duplex or not, but that doesn't always make a difference (not an expert there).

那伤。 2024-07-20 08:39:22

也许他们下载的服务器是瓶颈? 您可以拥有专用的千兆位管道,但如果您只能从其他服务器获得 10mbps,则它不会有任何帮助。

请记住,专用主机的好处是您的性能不会受到计算机上其他进程的影响。 额外的钱可以保证您有 100mbit,但并不是说您在任何给定时间都会看到比托管计算机更好的性能。

Perhaps the servers they are downloading from are the bottleneck? You could have a dedicated gigabit pipe but it won't help if you can only get 10mbps from the other servers.

Remember the benefit of a dedicated host is that your performance will not be affected by other processes on the machine. The extra money guarantees you that 100mbit, not that you'll see better performance than a hosted machine at any given time.

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