Local server NodeJS performance and load limit


We are running 25 Particle Photon and connecting them to a single instance of local NodeJS server running on a 16GB 8 core machine. Each of the sensors send event and data to the local server (we added another protocol message) at 10HZ (so 2500 requests in total per second) that is received by the NodeJS server.

What we are seeing though is a lot of sensor disconnection happening from the NodeJS side. Also, the NodeJS server stops very frequently without throwing any exceptions.

  • Has anyone faced such issues before?
  • Also, is the NodeJS server multi-threaded for processing requests?
  • It would be great if someone can point out ways to increase NodeJS RAM usage (–max_old_space_size nodejs does not help)