[GH-ISSUE #1755] The best way to reduce server network traffic ? #1389

Closed
opened 2026-05-05 12:52:48 -06:00 by gitea-mirror · 8 comments
Owner

Originally created by @tineprogramming on GitHub (Apr 15, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1755

First I though p2p mode will establish connection between client to client and will not take any server resources but why data still transfer though the server ?

Originally created by @tineprogramming on GitHub (Apr 15, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1755 First I though p2p mode will establish connection between client to client and will not take any server resources but why data still transfer though the server ?
gitea-mirror 2026-05-05 12:52:48 -06:00
Author
Owner

@qiaoliangXgamemode commented on GitHub (Apr 15, 2020):

Try to optimize the server core, including Google ’s BBR to achieve better results. The system ’s TCP congestion control has a relatively large delay, and why the data is transmitted through the server. Is it an anti-proxy data or should it be transferred through the server To the client

<!-- gh-comment-id:613771641 --> @qiaoliangXgamemode commented on GitHub (Apr 15, 2020): Try to optimize the server core, including Google ’s BBR to achieve better results. The system ’s TCP congestion control has a relatively large delay, and why the data is transmitted through the server. Is it an anti-proxy data or should it be transferred through the server To the client
Author
Owner

@tineprogramming commented on GitHub (Apr 15, 2020):

anti-proxy data ? What is it ? My server has BBR enable for a long time. I was thinking to use this as a solution for ip camera. If there is alot of camera will it take alot of bandwidth ? How is ip camera handle p2p traffic for people around the world ?

<!-- gh-comment-id:613772699 --> @tineprogramming commented on GitHub (Apr 15, 2020): anti-proxy data ? What is it ? My server has BBR enable for a long time. I was thinking to use this as a solution for ip camera. If there is alot of camera will it take alot of bandwidth ? How is ip camera handle p2p traffic for people around the world ?
Author
Owner

@qiaoliangXgamemode commented on GitHub (Apr 15, 2020):

I'm look wrong, I'm not very familiar with P2p, sorry

<!-- gh-comment-id:613803371 --> @qiaoliangXgamemode commented on GitHub (Apr 15, 2020): I'm look wrong, I'm not very familiar with P2p, sorry
Author
Owner

@fatedier commented on GitHub (Apr 16, 2020):

xtcp only cost a little network traffic before connections have been established.

<!-- gh-comment-id:614422345 --> @fatedier commented on GitHub (Apr 16, 2020): xtcp only cost a little network traffic before connections have been established.
Author
Owner

@tineprogramming commented on GitHub (Apr 16, 2020):

xtcp only cost a little network traffic before connections have been established.

xtcp usually not working but stcp works. stcp use bandwidth on the server too.

<!-- gh-comment-id:614437647 --> @tineprogramming commented on GitHub (Apr 16, 2020): > xtcp only cost a little network traffic before connections have been established. xtcp usually not working but stcp works. stcp use bandwidth on the server too.
Author
Owner

@tineprogramming commented on GitHub (Apr 16, 2020):

Screenshot (384)
Even in the admin page show the stat

<!-- gh-comment-id:614441905 --> @tineprogramming commented on GitHub (Apr 16, 2020): ![Screenshot (384)](https://user-images.githubusercontent.com/18547587/79421956-23ea8880-7fe6-11ea-8801-03cf421341b8.png) Even in the admin page show the stat
Author
Owner

@fatedier commented on GitHub (Apr 16, 2020):

Read documents first.

<!-- gh-comment-id:614444406 --> @fatedier commented on GitHub (Apr 16, 2020): Read documents first.
Author
Owner

@tineprogramming commented on GitHub (Apr 16, 2020):

Read documents first.

I read it here is how I did it. Frps run on vps. Frpc on the client 1 at the office forward the local port. Frpc on the client 2 at my house then bind the local port. Then I try to iperf the local port of client 2 that it bind. The bandwidth taken from the server as the traffic run though the server

<!-- gh-comment-id:614465685 --> @tineprogramming commented on GitHub (Apr 16, 2020): > Read documents first. I read it here is how I did it. Frps run on vps. Frpc on the client 1 at the office forward the local port. Frpc on the client 2 at my house then bind the local port. Then I try to iperf the local port of client 2 that it bind. The bandwidth taken from the server as the traffic run though the server
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1389
No description provided.