Code Monkey home page Code Monkey logo

tcp-gateway's Introduction

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 &

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.