So I was trying to simulate a large number of clients(concurrent connections) using Paho-mqtt . My server is running on node using Aedes js. I am able to go upto 340 concurrent connection per python script that I am running , by which I mean to say that if I run my python script for more than 340 connections , I fail to receive connack for the connections requests beyond request number #338-340.
This seems to be a limitation on the client-side scripts that I am trying to connect to my server. My server is able to hold about 25k concurrent connections when I am running the script multiple times with different ranges ( example : client 1-320 , client 321-640... (n-320)-n ).
Is this a limitation of the python script which apparently is failing to maintain more than 320 on_connect event handlers.