testing the speed and maximum of websockets in node.js and PHP
//May be changed for testingvarCONNECTIONS=200;varCONCURRENT=50;varINTERVAL=1000;NodeServerNodetestphpServer.phpNodetestIf the Server crashes when you try a couple hundred connections then its most likely because of a limitation of your OS. Most of the times it is the file-descriptor or open-files max.