4 ms·
Exactly, that's how some not very bright people were tricked into thinking that Node.js is actually fast.
by ldev 10y ago
Exactly, that's how some not very bright people were tricked into thinking that Node.js is actually fast.
- Zach_the_Lizard 10y agoAnd at work, we're now rewriting all those NodeJS services in Go or Java. We hired some Node maintainer(s) a long time ago, rumor has it, who got us on the Node train.
- kazagistar 10y agoHow do you do async in java? While it does have CompletableFutures now, none of the libraries (specifically databard drivers) seem to support it, so I always end up with a blocked thread per request.
- tynpeddler 10y agoJava has had non-blocking IO for some time. https://en.wikipedia.org/wiki/Non-blocking_I/O_(Java) https://en.wikipedia.org/wiki/Non-blocking_I/O_(Java) Unfortunately it seems difficult to use (to me at least), but frameworks like netty are build on top of it to provide incredible performance. However, the fact that Java provides real threading means that a blocking io is not a performance problem if you use the correct patterns.