netty-socketio icon indicating copy to clipboard operation
netty-socketio copied to clipboard

Max connections

Open SudoDios opened this issue 4 years ago • 3 comments

My question is how many people does this library have the power to support in chat? Depends on server power?

SudoDios avatar Jul 25 '21 19:07 SudoDios

yes

mrniko avatar Jul 26 '21 06:07 mrniko

@mrniko I started one socket server and tested in my local windows machine(cpu i78700, mem 40G). And I found that new connection can't be established after about 31000 connections.

I also did test in centos7 with 2C8G, connection can't be established after about 31000 connections.

Do I need to modify some configurations?

jmbkeyes avatar Jul 27 '21 05:07 jmbkeyes

That means you have to build a new server?

SudoDios avatar Aug 02 '21 08:08 SudoDios

@jmbkeyes Why is my socket.io service only able to support 64 client connections? I am using the default configuration, and this is the case both on the server and on my local computer. The server configuration is 4 CPUs and 8 GB of RAM. how did you configure the maximum number of connections?

asd375zxcvb avatar Dec 07 '23 12:12 asd375zxcvb

@asd375zxcvb I remember that I don't do extra configuration, just use Jmeber with websocket plugin to establish connections.

jmbkeyes avatar Dec 11 '23 01:12 jmbkeyes

you can refer to it https://socket.io/docs/v4/performance-tuning/ There are tuning instructions here ,In this chapter "At the OS level" @asd375zxcvb @SudoDios @jmbkeyes

yujuncai avatar Dec 12 '23 07:12 yujuncai

@SudoDios If it's helpful to you, please give a mark

yujuncai avatar Dec 12 '23 07:12 yujuncai

This issue has been resolved for a long time. I forgot to close this issue

SudoDios avatar Dec 12 '23 08:12 SudoDios