Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think you disagreed at all with rjbwork at all, it's just you're using words differently.

The article, and rjbwork, use slower to mean "slower when the CPU isn't regularly idling". In this context, Node.js async is slower as well, that's why the library better-sqlite3 for NodeJS is synchronous (because you're rarely going to be using sqlite in a context where the CPU/memory isn't very busy).



Yes, I don't disagree with rjbwork.

I may have read the article a bit differently, it sounded like "don't bother too much with async, it's slower, even for realistic web servers".

In your I/O-bound Node.js server, if you would exchange all async calls with synchronous ones, your performance would get a big hit.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: