Git Product home page Git Product logo

Comments (6)

YeautyYE avatar YeautyYE commented on May 18, 2024 1

该项目使用在一个股票实时行情推送项目中,并在生产环境稳定运行了超过1年。

性能的话,以我们生产中的数据作为回答吧。
单台服务器
CPU:4核 平均使用10%以内 峰值40%左右
内存:8G 堆内存2.5G 堆外内存限制2G 也就是不超过4.5G
连接数: 10000+
每秒推送量: 100000+

连接数没有太大参考意义,毕竟空连接的话百万级别也是没压力的。
推送量的话,正常使用是妥妥的,如果对Netty有一定的了解,可以进行调优。

这个框架其实仅仅是对Netty进行了简单的封装,使其更好的整合进SpringBoot中。在项目运行时,其性能和Netty是一样的

from netty-websocket-spring-boot-starter.

cherrishccl avatar cherrishccl commented on May 18, 2024

好的,多谢,我再测一下

from netty-websocket-spring-boot-starter.

I2finance-AxinJL avatar I2finance-AxinJL commented on May 18, 2024

你好,我是直接拿下来的starter,在自己本地电脑测试,只能实现256个连接,如果需要扩大连接数的话,需要配置哪些参数?

from netty-websocket-spring-boot-starter.

YeautyYE avatar YeautyYE commented on May 18, 2024

你好,我是直接拿下来的starter,在自己本地电脑测试,只能实现256个连接,如果需要扩大连接数的话,需要配置哪些参数?

查看下系统的最大打开文件描述符数是多少

from netty-websocket-spring-boot-starter.

caimingshi avatar caimingshi commented on May 18, 2024

你好,请问你们生产的配置是啥样的,我这边4核16g的服务器只能接受4000左右链接 就不行了

from netty-websocket-spring-boot-starter.

YeautyYE avatar YeautyYE commented on May 18, 2024

你好,请问你们生产的配置是啥样的,我这边4核16g的服务器只能接受4000左右链接 就不行了

1.检查客户端是否不行了
2.检查最大打开文件描述符是多少

from netty-websocket-spring-boot-starter.

Related Issues (20)

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.