Hey everyone,I'm just getting into Node.js. I've read that Node.js took the world by surprise a few years ago, by doing some non-blocking / asynchronous I/O magic, which allows a Node.js-powered server to be able to handle a large number of requests.I've read several articles about this, but I just want to make sure: in order to get the benefits, you actually have to write async code, correct? (using promises or async/await).If your API has to access the DB, you'd have to make sure Node.js isn't holding its breath for the read/write to complete, right?Thanks!
Submitted February 19, 2018 at 09:32AM by tehnologie
No comments:
Post a Comment