First thanks, and second, yes of course! Node.js if compared to HAproxy and nginx just uses more CPU cycles to do TLS/SSL, partly because it has to call back and forth between C++ and is not as tuned as HAproxy and Nginx.

Second, Node.js is only using a single thread, which means that the more time it uses on TLS/SSL, the less time it has for other things like rendering output and business logic.

That is why it is not good! :) You can of course fix those issues with other workarounds, but why not use something that already has those things top tuned?

Hope that makes sense, or if you know more, please correct me! :)

https://www.paypal-engineering.com/2014/04/01/outbound-ssl-performance-in-node-js/

Written by

I really like building stuff with React.js and Docker and also Meetups ❤

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store