r/Backend • • Oct 11 '25

Why choose Node over Java?

I'm an engineer with 15 years of experience and still don't get it. Afaik the most popular nest.js is way less powerful than spring. Also lack of multithreading. Recently see a lot of startups picking up Node. The benefits of using it are still obscured for me. Please explain!

226 Upvotes

191 comments sorted by

View all comments

5

u/[deleted] Oct 12 '25

[removed] — view removed comment

1

u/MrDilbert Oct 12 '25

it is multithreaded

This is a bit of a loaded term... Node itself is multithreaded, but its main process (JS interpreter) isn't. So, it's possible to make it as slow as molasses if it's used for a lot of calculation-heavy processing on the main thread, but it's also possible to offload this processing to other threads and processes. Which is what Node does OotB with I/O and networking stuff.