[GH-ISSUE #2700] 压力测试 #2156

Closed
opened 2026-05-05 13:23:16 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @One-people-world on GitHub (Dec 14, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2700

Bug Description

怎么进行压力测试呢?
如果在服务器上挂载多个客户端的web服务,
那么挂载的客户端数量最高数量是多少?支持的最大访问量能达多少?

frpc Version

0.34.2

frps Version

0.34.2

System Architecture

linux/amd64

Configurations

1

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @One-people-world on GitHub (Dec 14, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2700 ### Bug Description 怎么进行压力测试呢? 如果在服务器上挂载多个客户端的web服务, 那么挂载的客户端数量最高数量是多少?支持的最大访问量能达多少? ### frpc Version 0.34.2 ### frps Version 0.34.2 ### System Architecture linux/amd64 ### Configurations 1 ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [X] Security - [ ] User Experience - [X] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:23:16 -06:00
Author
Owner

@Becods commented on GitHub (Jan 5, 2022):

https://github.com/fatedier/frp/issues/1289

现在我用 Swoole 重写了后端业务代码,回到了 HTTP/1.0(因为对应软件是轮询,没有必要做长连接),再进行了一次高并发请求测试,在 2000 线程 + 512 连接的情况下 Frps 依然毫无压力,可以证明就是因为连接数过多导致的这个错误了。

试试ab,wrk等http压力测试工具
或者用jmeter进行tcp压力测试

<!-- gh-comment-id:1005553795 --> @Becods commented on GitHub (Jan 5, 2022): https://github.com/fatedier/frp/issues/1289 > 现在我用 Swoole 重写了后端业务代码,回到了 HTTP/1.0(因为对应软件是轮询,没有必要做长连接),再进行了一次高并发请求测试,在 2000 线程 + 512 连接的情况下 Frps 依然毫无压力,可以证明就是因为连接数过多导致的这个错误了。 试试ab,wrk等http压力测试工具 或者用jmeter进行tcp压力测试
Author
Owner

@github-actions[bot] commented on GitHub (Feb 5, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1030463588 --> @github-actions[bot] commented on GitHub (Feb 5, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2156
No description provided.