26.5 Summary
In this chapter, you’ve learned that you must be economical with the resources you have. The architecture of Node.js is basically designed in such a way that it makes an application performant. The platform swaps out all operations it doesn’t need to perform itself to other services or the operating system. Its nonblocking input/output (I/O) approach also ensures that the Node.js process isn’t significantly blocked by read and write operations. The memory footprint of Node.js is also comparatively small. On this basis, it’s up to you to develop a lightweight and performant application.
Node.js provides you with a lot of help for analyzing CPU and memory issues with the debugger, Chrome DevTools, and some onboard tools.
In general, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access