4 Star 11 Fork 9

HServer / HServer-GateWay

加入 Gitee
与超过 800 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README.md

HServer-GateWay

flat

如果对您有帮助,您可以点右上角 "Star" 支持一下 谢谢!

介绍

基于Netty的高性能网关

代理性能测试,Win10,8h 8W QPS
代理性能测试,Linux,8h 18W QPS

代理逻辑。80端口(网关)->9999(后台服务HServer可达23QPS) /test

[root@localhost ~]# ab -c100 -n100000 -k http://127.0.0.1/test
This is ApacheBench, Version 2.3 <$Revision: 1430300 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking 127.0.0.1 (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests
Completed 60000 requests
Completed 70000 requests
Completed 80000 requests
Completed 90000 requests
Completed 100000 requests
Finished 100000 requests


Server Software:        2.9.21
Server Hostname:        127.0.0.1
Server Port:            80

Document Path:          /test
Document Length:        33 bytes

Concurrency Level:      100
Time taken for tests:   0.552 seconds
Complete requests:      100000
Failed requests:        0
Write errors:           0
Keep-Alive requests:    100000
Total transferred:      17600000 bytes
HTML transferred:       3300000 bytes
Requests per second:    181206.36 [#/sec] (mean)
Time per request:       0.552 [ms] (mean)
Time per request:       0.006 [ms] (mean, across all concurrent requests)
Transfer rate:          31144.84 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       2
Processing:     0    1   1.1      0      38
Waiting:        0    1   1.1      0      38
Total:          0    1   1.1      0      38

Percentage of the requests served within a certain time (ms)
  50%      0
  66%      0
  75%      1
  80%      1
  90%      1
  95%      1
  98%      1
  99%      2
 100%     38 (longest request)

效果图

仓库评论 ( 4 )

你可以在登录后,发表评论

简介

基于Netty的高性能HTTP网关.开发中... 展开 收起
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Java
1
https://gitee.com/HServer/HServer-GateWay.git
git@gitee.com:HServer/HServer-GateWay.git
HServer
HServer-GateWay
HServer-GateWay
master

搜索帮助

113223 674803ea 1850385 170725 2838fb2a 1850385