Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
We have connected around 20000 device with connection server we can see number of connections on connection server ( using netstat) but we cannot see same amount of connection on Platform.
How we can check this same on platform specially on WSS ( Web Socket)
Look like we can see multiple thread on connection server (Based on connected agents) but this is transferring data on platform in single thread?
Please suggest
That sounds like everything is working as designed, what problems are you seeing?
The Connection Server offloads work from the platform server by acting as a multiplexer for edge devices. It handles many connections to edge devices then sends and receives the messages for the edge devices with one connection to the platform.
I'm not sure what the "tomcat console" is. The connections are standard websocket connections, but there will only be a small number (5) of them from each connection-server. Does the tomcat console handle websocket, or only HTTP?
The connection-server offloads connection management from the platform. The connection-server itself will maintain a small number of connections (5, by default) to the platform. All messages arriving on the 20K devices are sent over those five connections to the platform.
As mentioned previously, the protocol does not have any head-of-line blocking which would require queuing of the incoming messages at the connection-server.
Wow this I want to know that we allow 5 connection to platform. Do you know that this is control by below configuration in cxserver.conf.
connections.pipe-count = 5
Yes, that's the configuration entry; it's unlikely that you need to change that value, however. Unless the volume of messages is large enough to saturate those five TCP connections, increasing the value won't provide any benefit.