
Introduction
Three (3) years of writing is neither short nor long, and during that time I have written many articles revolving around the topic of Node.js. They range from the most basic to the in-depth ones about how Node.js works, as well as sharing experiences to use Node.js more effectively. Today, as I sat down and thought about it, I realized that if there are many articles like this scattered without being compiled somewhere, it would make it difficult for readers to have an overview or have difficulty in searching. Therefore, in this article, I will compile a list of articles by category to summarize the information, and hopefully this will be a useful source of documentation for many people.
Actually, this list includes some articles that were written a long time ago when I was still practicing my writing skills, so the sentences may be flawed or the content may be outdated. If you notice any issues, please leave a comment below this article so that I can revise the content better. Without further ado, let's get to the topics!
Introduction to Node.js
These are the articles introducing Node.js that I wrote right when I started my blog. The content mainly serves as an announcement and a check of the blog's functionality.
- Installing Node.js and Running the First Node.js Application.
- What is NPM? Why does NPM come with Node.js?.
- Understanding require in Node.js.
- Understanding Modules in Node.js. Why are there many types of modules?.
Node.js Architecture
These are the articles diving deep into the architecture of Node.js. They cover the components, how they work, and how they interact with each other to run your applications.
- Node.js Architecture - Introduction to Node.js.
- Node.js Architecture - Single Thread, Call Stack, Synchronous and Asynchronous I/O in Node.js.
- Node.js Architecture - How does Node.js handle asynchronous tasks? (Part 3).
- Node.js Architecture (Final Part).
Event Loop
Event Loop is an important concept in Node.js. Through Event Loop, we can handle events asynchronously. So let's learn more about Event Loop in Node.js.
- Understanding Event Loop in Node.js.
- Don't Block the Event Loop - Part 1.
- Don't Block the Event Loop - Part 2.
Improving Node.js Application Performance
Regardless of the programming language, there are always ways to optimize performance. Here are some articles on how to improve the performance of your Node.js applications.
- 5 Memory Leaks in Node.js and How to Fix Them.
- Two Techniques to Prevent Blocking the Event Loop when Handling CPU-Intensive Tasks.
- What is Cluster in Node.js? Using Cluster to Scale Node.js Applications.
- What are Worker Threads? When to Use Worker Threads in Node.js?.
- What is Child Process in Node.js? - When to Use Fork and Spawn?.
Other Useful Articles
Finally, a collection of some interesting articles about Node.js.
- Where to Start Learning Node.js? Is Learning Node.js Difficult?.
- 5 Things Ryan Dahl Regrets About Node.js.
- Logging Levels in Node.js Applications.
- Error Handling Methods in Node.js.
- Differentiating Between I/O Tasks and CPU-Intensive Tasks.
- How Do You React When I Say Node.js is Fast?.
- What Makes Bun.sh Stand Out in Node.js.
- "Dockerizing" a Node.js Application.