Skip to content

Tooi6/tcp-gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tcp-Gateway

基于Netty实现的高并发、高可用的TCP物联网网关

代码地址:https://gitee.com/Tooi/tcp-gateway

核心依赖

依赖 版本
SpringBoot 2.4.0
Netty 4.1.25.Final
zookeeper 3.6.2
ProtocolBuf 3.14.0
Redis 5.0.10

架构图

性能测试

开源测试工具: Orion-Stress-Tester

  • 启动程序
nohup java -jar  -server \
 -Xmx3000M \
 -Xms3000M \
 -Xmn600M \
 -Xss256K \
 -XX:+DisableExplicitGC \
 -XX:SurvivorRatio=1 \
 -XX:+UseConcMarkSweepGC \
 -XX:+UseParNewGC \
 -XX:+CMSParallelRemarkEnabled \
 -XX:+UseCMSCompactAtFullCollection \
 -XX:CMSFullGCsBeforeCompaction=0 \
 -XX:+CMSClassUnloadingEnabled \
 -XX:LargePageSizeInBytes=128M \
 -XX:+UseFastAccessorMethods \
 -XX:+UseCMSInitiatingOccupancyOnly \
 -XX:CMSInitiatingOccupancyFraction=70 \
 -XX:SoftRefLRUPolicyMSPerMB=0 \
 -XX:+PrintClassHistogram \
 -XX:+PrintGCDetails \
 -XX:+PrintGCTimeStamps \
 -XX:+PrintHeapAtGC \
 -Xloggc:log/gc.log tcp-gateway-1.0-SNAPSHOT.jar \
 > log/out.file 2>&1 &

About

基于Netty实现的Tcp物联网网关

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages