mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4689] [Feature Request] frp方案求建议 #3705
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#3705
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 @pkxutao on GitHub (Mar 3, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4689
Describe the feature request
没找到合适的issue母版,见谅
非常感谢frp作者,我们用于生产环境,目前现状如下,现在想做一个10000个客户端的方案,不知道目前这个服务器配置是否能撑得住?有没有压力测试的办法?是否需要升级?(客户端升级成本稍微有点高),目前的版本功能完全能满足要求,就是不知道后续的版本是否在性能方面有所提升(看了所有版本更新信息,没看到这方面的更新),再次感谢作者
服务器现状
8H24G
CPU占用:8.2%
内存占用:16%
带宽占用: 上下行: 55KB/s
frp现状
使用版本:0.31.2 (发布时间:2020/02/04)
客户端数量:2554
连接数:6436
CPU占用:21.3%
内存占用:1.5%(400MB)
Describe alternatives you've considered
No response
Affected area
@xqzr commented on GitHub (Mar 4, 2025):
应该更关心操作系统的内核参数
@pkxutao commented on GitHub (Mar 5, 2025):
请问具体是哪方面呢?可以详细描述下么
@xqzr commented on GitHub (Mar 5, 2025):
例如,可能会遇到
too many open files、nf_conntrack table full之类的上限@zhumeichun commented on GitHub (Mar 18, 2025):
我更关心的是,你们是怎么保存这上万个客户端的连接信息的?还是使用自带的这种toml来保存吗?
@pkxutao commented on GitHub (Mar 19, 2025):
数据库呗,frp新特性我都没用到,因为现在的版本太旧了
@wuai1024 commented on GitHub (Mar 25, 2025):
数据库保存了之后如何运行呢,生成 配置文件后,调用 shell 运行吗? 还有没有更优雅的方法
@zhumeichun commented on GitHub (Mar 26, 2025):
实际上你们基于这个是改过的嘛,把用户信息啥的存储到数据库去了?我们也有这样的需求,但公司没goer,太难受。
@wuai1024 commented on GitHub (Mar 26, 2025):
存数据库这个简单的,frps 有插件,可以鉴权的。
@pkxutao commented on GitHub (Mar 27, 2025):
监控了frp的日志,把客户端上下线的状态实时同步了到数据库,数据库保存了所有客户端的连接信息,因为客户端前面肯定需要在别的服务认证的嘛,现在准备自己开发个frps插件,用来对客户端做全生命周期的管理,最近看了下插件就是rpc的接口,挺简单的
@github-actions[bot] commented on GitHub (Apr 11, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.