Redian新闻
>
why ftp use random multi-ports to transfer data.
avatar
L*t
2
For concurrency on the server side.

【在 r******y 的大作中提到】
: for efficency?
: thanks.

avatar
r*y
3
using one (logic) port can't transfer several files at same time?
I guess server side may have several physics ports. so that
can transfer data at same time.
also don't know if mulitip processes can improve IO efficency.

【在 L******t 的大作中提到】
: For concurrency on the server side.
avatar
L*t
4
It depends on server implementation as well. But generally a FTP server has
a set of open ports for file transmission. If it uses one dynamic port to
transfer multiple files to one client, it's not fair to other clients. One
port can only transfer one file at a time.
IO efficiency may not necessarily be higher from multi-tasking.

【在 r******y 的大作中提到】
: using one (logic) port can't transfer several files at same time?
: I guess server side may have several physics ports. so that
: can transfer data at same time.
: also don't know if mulitip processes can improve IO efficency.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。