Comments (8)
确实需要一个压力测试,正在考虑物联网设备前置上位机服务,有了性能指标用的就安心了。
from tao.
你好!这个项目其实是为我司的一个小的物联网服务器集群构建的,目前还在努力完成业务需求,暂时还没做性能优化,不过已经提上日程安排了,谢谢关注!
from tao.
对了,顺便问一下,对于压力测试,有没有系统的方法论和工具?我还没搞过压力测试,不太懂,谢谢!
from tao.
这么巧啊,我也是做着方面的,物联网服务器集群构建?做成集群还是挺复杂的啊
from tao.
慢慢来呗,我司目前架构还算简单了……我要先解决当下问题才行,哈哈哈
from tao.
楼上两位,要不我们仨协作一下,一起做个压力测试如何?因为这方面我不太熟悉。我自己公司的远程控制系统也用了这套框架,之前有写过模拟客户端模拟发送接收数据,所以代码中有个metrics.go已经统计了以下几个数据指标:
- 总共有多少个客户端连接C;
- 总共处理了多少次请求H;
- 处理这些请求累计使用的时间T;
- 然后计算QPS = H / (C * T / W),其中W为工作者线程数量。
from tao.
最近没有跟进这个框架,我是自己写了远程控制的小框架
from tao.
最近没有跟进这个框架,我是自己写了远程控制的小框架
from tao.
Related Issues (20)
- 1.9没有sync.Map了 HOT 1
- 请教一下client的问题 HOT 3
- 请教一下“应用层心跳” HOT 1
- 代码中对TLV结构的拆包异常处理 HOT 1
- 几个疑点麻烦解答 HOT 5
- 有udp模式的吗 HOT 1
- 散列分配任务给worker不均匀 HOT 3
- 粘包、半包有处理么 HOT 1
- 限速 HOT 3
- server上如何获取worker list HOT 2
- 服务端如何针对每个client 保存临时数据,比如token\session等.自己实现? HOT 3
- 设置run
- 设置runAt
- 设置runAt或者runEvery会hang住read loop吗? HOT 6
- 请问tao还维护吗 HOT 1
- 请教一下,服务器是怎么检测客户端断开连接的? HOT 1
- writeLoop 可能写不完整 HOT 2
- Client连接异常情况,发包失败 HOT 1
- 简书上的设计文档打不开了,提示文章正在审核中
- Close()时reconnect()会导致ClientConn的Race问题
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 tao.