GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mushang8923/netty-benchmark

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
netty-client
netty-client
 
 
single-test
single-test
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

netty-benchmark

主要用作单机测试netty性能测试 服务端打成jar包后执行脚本 nohup /opt/jdk1.8.0_144/bin/java -jar -server -Xmx4G -Xms4G -Xmn1G ./netty-server-benchmark.jar >server.out 2>&1 &

4核8g的主机跑10w并发完全没有问题,内存使用量大概在1.5g,cpu使用情况在150%

客户端打成jar包后执行脚本 /opt/jdk1.8.0_144/bin/java -jar netty-client-benchmark.jar 服务器IP

客户端的情况根据机器的性能来确定,默认设置的是单台15000个连接+心跳(windows主机),4核8g的,感觉会有点点卡

还增加了业务处理线程,每次停100ms,模拟业务场景

About

No description or website provided.

Topics

benchmarknetty

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.