在Web服务器上上传文件的速度 [英] upload files speed on web server

查看:697
本文介绍了在Web服务器上上传文件的速度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人....

我有一个托管在服务器上的网页,当我尝试将文件从同一网络上的另一台PC(没有网页)复制到我的Web服务器上时,它的工作正常(15秒内传输80Mb).

但是,当我尝试从同一网络上的PC从Web服务器上托管的网页上载相同文件时,则需要10分钟.

这是什么问题?

iis会使网站变慢吗?
iis和.Net框架版本是否对加快网站速度具有重要作用?
我想知道过程,以及加快上传文件的作用.

dear all....

i have web page that hosted on my server, when i try to coppy files to my web server from another pc on the same network (without web page) its work good (80Mb trasfers in 15 secounds).

but when i try to upload the same file from the web page which hosted on my web server from the pc on the same network its take 10 minutes.

what is the problem here??

is the iis slow the website?
is the iis and .Net framework version an important role to speed the website?
i want to know the process, and what is the roles to speed upload files.

best regards.

推荐答案

HTTP不是文件传输协议,因此在分块"数据并将其通过Web服务器移动时存在大量开销. />
您所指的速度差异也会受到以下因素的影响:
-机器之间的驱动器性能差异
-其他操作因素的差异(系统负载,可用内存,网络活动)
-Rx线对不良,NIC正在补偿且工作更努力
-您使用的IIS版本

但是,最重要的是,磁盘-> OS-> OS->磁盘将始终快于磁盘-> OS-> http-> http-> OS->磁盘.
干杯.
HTTP is not a file transfer protocol and there is significant overhead in ''chunking'' the data and moving it through a web server.

The speed difference you''re referring to can also be affected by these factors:
- difference in drive performance between the machines
- difference in other operating factors (system load, available memory, network activity)
- bad Rx wire pair, NIC is compensating and working harder
- the version of IIS you are using

But, bottom line, disk->OS->OS->disk will always be faster than disk->OS->http->http->OS->disk.

Cheers.


这篇关于在Web服务器上上传文件的速度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆