Useful Links
Computer Science
Web Development
Node.js Runtime Environment
1. Introduction to Node.js
2. Setting Up the Development Environment
3. Core Architectural Concepts
4. Node.js Module Systems
5. NPM Package Manager
6. Asynchronous Programming in Node.js
7. Core Node.js Modules
8. Buffers and Streams
9. Building Web Applications with Express.js
10. Working with Databases
11. Advanced Topics
12. Testing and Debugging
13. Security Best Practices
Core Architectural Concepts
The Event Loop
Overview of the Event Loop
Single-Threaded Nature
Phases of the Event Loop
Timers Phase
Pending Callbacks Phase
Idle and Prepare Phase
Poll Phase
Check Phase
Close Callbacks Phase
process.nextTick
Use Cases and Behavior
Priority in Event Loop
Microtasks vs Macrotasks
Microtask Queue
Macrotask Queue
Execution Order
Promise Resolution
The Libuv Library
Role in Node.js Architecture
Thread Pool Management
Handling File System Operations
Handling Network Operations
Cross-Platform Abstraction
The V8 Engine Integration
Compilation and Execution of JavaScript
Memory Management
Garbage Collection
Performance Optimizations
Heap and Stack Management
Previous
2. Setting Up the Development Environment
Go to top
Next
4. Node.js Module Systems