4 ms·
Before switching to node 3 years ago I was using C# since 2004. Main reason to switch was npm vs nuget. Second reason was performance! Yes node is multithreade
by js4ever 6y ago
Before switching to node 3 years ago I was using C# since 2004.
Main reason to switch was npm vs nuget. Second reason was performance!
Yes node is multithreaded and faster than C#. I was not able to go above 25k rps with C#, check where I am with Node here: https://vms2.terasp.net/ https://vms2.terasp.net/
- richajak 6y agoVisited your github page. Still not sure, what makes yours faster than vanilla nodejs? do u use standard nodejs api or binding with code written in others? enlighten me :-) can i use it for standard json rest api?
- js4ever 6y agoI'm using uWebsocket C++ library in nodejs to make it a lot faster than vanilla nodejs. Of course you can use it to create REST API, but also websocket and even serve static files all in the same process. Please check here: https://github.com/elestio/cloudgate/blob/master/apps/CatchAll/appconfig.json https://github.com/elestio/cloudgate/blob/master/apps/CatchA... https://github.com/elestio/cloudgate/blob/master/apps/CatchAll/API/tests/simple.js https://github.com/elestio/cloudgate/blob/master/apps/CatchA... https://github.com/elestio/cloudgate/blob/master/apps/CatchAll/API/websocket/Chat.js https://github.com/elestio/cloudgate/blob/master/apps/CatchA...