23 Star 57 Fork 15

hotmocha / sbalance

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ReadMe 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
hotmocha 提交于 2015-07-01 22:34 . Update ReadMe
透明的负载均衡器&http正向代理(依赖ares)
1. 灵活的配置
2. 使用红黑树超时管理
3. 全异步模型(双缓存,实现双向同时转发)
4. 多进程工作组
5. 可配置的负载均衡的算法
6. 可以多个分组同时负载
7. 独立的全异步dns
8. 在线工作中配置文件
9. 应用级缓冲池
10. 高性能,低内存消耗
环境(vmware虚拟机(1G内存-1个处理器)-3.13.0-24-generic #46-Ubuntu SMP)
【物理主机:8G内存 i5-3代处理器-低级SSD】下面是100000次请求本地apache主页面
Server Software: Apache/2.4.7
Server Hostname: 127.0.0.1
Server Port: 8881
Document Path: /
Document Length: 11510 bytes
Concurrency Level: 1000
Time taken for tests: 657.695 seconds
Complete requests: 100000
Failed requests: 729
(Connect: 0, Receive: 0, Length: 729, Exceptions: 0)
Total transferred: 1169710193 bytes
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 205 507.1 1 7046
Processing: 559 5896 12287.0 2909 221220
Waiting: 0 5025 7728.9 2813 79240
Total: 721 6101 12329.1 3276 221220
Percentage of the requests served within a certain time (ms)
50% 3276
66% 4301
75% 5057
80% 5618
90% 9518
95% 17135
98% 36382
99% 65213
100% 221220 (longest request)
作为http proxy时,可以同时开多个视频,以及同时访问20几个页面没有问题!
C
1
https://gitee.com/hotmocha/sbalance.git
git@gitee.com:hotmocha/sbalance.git
hotmocha
sbalance
sbalance
master

搜索帮助