Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望增加带宽限制功能 #191

Open
beiaduo opened this issue Aug 31, 2024 · 3 comments
Open

希望增加带宽限制功能 #191

beiaduo opened this issue Aug 31, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@beiaduo
Copy link

beiaduo commented Aug 31, 2024

1G带宽 增加了10个入站 Socks 每个用户 下载/上传100M 这样就可以保证稳定;避免某个用户下载个文件 占满所有带宽 其他人无法使用 谢谢

@beiaduo beiaduo added the enhancement New feature or request label Aug 31, 2024
@qist
Copy link
Owner

qist commented Sep 1, 2024

xray 没提供限速功能,也没提供时时带宽的api要实现限速的话最简单就是前置一个nginx 去实现这边工具实现要转发流量性能可能受影响。

@beiaduo
Copy link
Author

beiaduo commented Sep 1, 2024

非常感谢您的回复。我看xboard可以限速,不知道如何实现的;因为我需要通过api 创建 删除 ,甚至我已经写好了 x-ui api 的实现 测试都ok了,结果上线测试发现不能限速 高峰期就废了;

@qist
Copy link
Owner

qist commented Sep 2, 2024

你可以参考https://github.com/XrayR-project/XrayR/tree/master/common/limiter 实现性能不知道咋样。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants