mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #620] frp能不能实现多线程访问的情况? #482
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#482
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dgrenti on GitHub (Jan 25, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/620
例如我想开启http这个服务,想下载一个大文件,用idm这样的多线程下载程序下载,最后发现,只能开启一个端口进行下载,也只是单线程,然后发现单线程最大的速度只能达到10Mb/s,有没有办法让客户端多个端口对应服务端的一个端口如:7000,这样就可以达到多线程的速度了!
@dgrenti commented on GitHub (Jan 25, 2018):
一开始以为是软件限速了,最后发现用了几个软件也是最快也是10Mb/s,无论是下载多个文件,还是一个大文件,最大也只能去到10Mb/s,请问有没有方法解决多线程的问题?
@sesky4 commented on GitHub (Feb 22, 2018):
除非人为软件限制,个人感觉是没有端口限速这个机制的。
你说的限速可能是因为tcp窗口大小限制了单个连接的传输速度,多线程下载貌似是通过HTTP头的accept range,起多个连接,每个连接给不同的range然后再拼接成一个文件,你试一试nginx来提供下载应该就可以。
总之我个人认为这应该不是多线程导致的问题。
@fatedier commented on GitHub (Feb 26, 2018):
是不是多线程下载取决于下载客户端软件。