Comments (4)
支持tcp层面的多路复用,公司的另外一个项目也是这种RPC模式,在4C8G的服务器上可以跑到7k+的qps。目前只保留了vnc和shell功能,应该没有什么性能方面的要求吧。
from natpass.
刚刚写了一个专门做benchmark的接口,从发起连接到等到连接返回,在4C2G的虚拟机里做了all in one的测试,大约能跑到8300+的qps,并且p99在30ms
from natpass.
另外发现增加虚拟连接数量反而会降低qps,可能是因为在做连接分配时的锁导致的,因此下版本中将会去除连接池的支持。
from natpass.
v0.8.2版本已去除连接池功能,在4C2G的机器上已达到了上万+的qps,详见README
from natpass.
Related Issues (20)
- vnc界面是空的,帧率和传输数据都是0 HOT 5
- 请问反向shell的规则要怎么配置 HOT 3
- 关于预共享密钥 HOT 9
- 编译报错
- 2022/11/27 15:53:22 [ERROR]invalid handshake from 172.16.17.136:50278 + (/github/home/go/pkg/mod/github.com/lwch/[email protected]/log.go:30) github.com/lwch/logging.Error + (/github/workspace/code/server/handler/handler.go:64) github.com/lwch/natpass/code/server/handler.(*Handler).Handle HOT 5
- 配合noVNC 使用 HOT 1
- [ERROR]invalid handshake from X.X.X.X:XXXXX + (/github/home/go/pkg/mod/github.com/lwch/[email protected]/log.go:30) github.com/lwch/logging.Error + (/github/workspace/code/server/handler/handler.go:64) github.com/lwch/natpass/code/server/handler.(*Handler).Handle HOT 2
- natpass 被用于黑客攻击,如何侦测 ? HOT 3
- 功能特性支持 HOT 1
- 建议把不同的链接方式区分一下 同时反馈几个问题 HOT 5
- 如何使用API的方式进行web远程桌面控制嵌入到别的web页面上 HOT 1
- natpass_0.12.2_linux_amd64解压后在linux系统中启动报错 HOT 2
- 关于windows多用户问题 HOT 3
- 客户端开发计划 HOT 1
- 在rule.d/shell.yaml的local_port能不指定,然后随机使用一个没被占用的端口吗? HOT 2
- 增加port转发的规则 HOT 1
- docker版本能增加下参数说明吗 HOT 1
- web vnc 无法支持键盘鼠标操作 HOT 2
- 请教一下,window下开启服务端,报这个错 HOT 3
- 锁屏时被控服务崩溃
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from natpass.