Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fzxa/NodeJS-Nucleus-Plus-Internals
NodeJS源码分析-由浅入深解析架构以及运行原理
https://github.com/fzxa/NodeJS-Nucleus-Plus-Internals
nodejs source-code
Last synced: 16 days ago
JSON representation
NodeJS源码分析-由浅入深解析架构以及运行原理
- Host: GitHub
- URL: https://github.com/fzxa/NodeJS-Nucleus-Plus-Internals
- Owner: fzxa
- Created: 2018-02-13T05:24:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-27T06:47:19.000Z (over 4 years ago)
- Last Synced: 2024-08-02T02:13:51.895Z (4 months ago)
- Topics: nodejs, source-code
- Homepage:
- Size: 444 KB
- Stars: 164
- Watchers: 12
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJS-Nucleus-Plus-Internals
NodeJS源码分析-由浅入深了解架构运行原理Node版本基于v8.9.3
从运行入口开始深入源码分析,由浅入深,共同学习。
[1-0 NodeJS源码分析-1 Hello World](https://github.com/fzxa/NodeJS-Nucleus-Plus-Internals/blob/master/chapter1/chapter1-0.md)
[1-1 NodeJS源码解析 - HTTP Server模块](https://github.com/fzxa/NodeJS-Nucleus-Plus-Internals/blob/master/chapter1/chapter1-1.md)
[1-2 NodeJS源码分析 - Stream模块](https://github.com/fzxa/NodeJS-Nucleus-Plus-Internals/blob/master/chapter1/chapter1-2.md)
持续更新..
### NodeJS系统架构图:
![image](node-system.png)
- Javascript V8 Engine: Nodejs javascript运行引擎
- Libuv 是专门为Node.js开发的一个封装库,提供跨平台的异步I/O能力.
- C-ares:提供了异步处理 DNS 相关的能力。
- http_parser、OpenSSL、zlib 等:提供包括 http 解析、SSL、数据压缩等其他的能力。
### NodeJS流程图
![image](https://github.com/fzxa/NodeJS-Nucleus-Plus-Internals/blob/master/chapter1/images/node-loop.png)