In-depth understanding of Node.js
  • README
  • Introduction to Node.js
    • Overview of the architecture
    • Why libuv?
    • V8 concepts
    • C++ and JS interaction
  • Starting with hello world
  • Module loading
  • Global object
  • Event loop
  • Timer interpretation
  • Yield magic
  • Buffer
  • Event
  • Domain
  • Stream
  • Net
    • Socket
    • Building applications
    • Encryption
  • HTTP
    • HTTP Server
    • HTTP Client
  • FS file system
    • File system
    • File abstraction
    • IO
    • libuv selection
    • File IO
    • Fs essence
  • Process
    • Process
    • Cluster
  • Node.js pitfalls
  • Others
    • Node.js & Android
    • Node.js & Docker
    • Node.js tuning
  • Appendix
Powered by GitBook
On this page
  • 《Deep into Node.js》: Core Concepts and Source Code Analysis
  • Table of content

README

NextIntroduction to Node.js

Last updated 1 year ago

《Deep into Node.js》: Core Concepts and Source Code Analysis

This book analyzes the source code of Node.js based on node v6.0.0.

The source code analysis includes (libuv, v8), and requires a certain level of C and C++ foundation. The source code of Node.js is full of developers' wisdom and the spirit of pursuing the ultimate, including but not limited to:

  • System architecture

  • Design patterns

  • Performance optimization

  • Tricks

This book explains the core concepts of node's asynchronous IO and event loop by analyzing the implementation of node's core modules, helping developers to better use Node.js.

By tracing the development issues of the node community, we can explore the changes and evolution of node and learn the design philosophy of node.js.

Table of content

This book is copyrighted by the author. Unauthorized reproduction in any form is prohibited.

  • Contact the author Weibo: http://weibo.com/yangjianghua

  • Email: yjhjstz#gmail.com

This book is still being written. Welcome readers to discuss https://github.com/yjhjstz/deep-into-node/issues

If you think it's good, please buy me a cup of coffee, welcome to Star, submit PR

Overview
Architecture Overview
Why libuv
V8 Concepts
C++ and JS Interaction
Starting from Hello World
Module Loading
Global Object
Event Loop
Timer Interpretation
Yield Magic
Buffer
Event
Domain
Stream
Net
Socket
Building Applications
Encryption
HTTP
HTTP Server
HTTP Client
FS File System
File System
File Abstraction
IO
libuv Selection
File IO
Fs Essence
Process
Child Process
Cluster
Node.js Pitfalls
Others
Node.js & Android
Node.js & Docker
Node.js Tuning
Appendix