deep-into-node icon indicating copy to clipboard operation
deep-into-node copied to clipboard

In-depth understanding of Node.js: Core Ideas and Source Code Analysis

《深入理解Node.js:核心思想与源码分析》

Node.js 的源码分析,基于node v6.0.0。

源码分析包括(libuv, v8), 需要有一定的 C、C++基础。 Node.js 的源码到处闪烁着开发者的智慧和追求极致的精神。 包括但不限于:

  • 系统架构

  • 设计模式

  • 性能优化

  • 奇技淫巧

本书通过分析 node 核心模块的实现,向读者阐述 node 异步 IO,事件循环的核心思想。帮助开发者更好的使用 Node.js。

通过追溯 node 社区开发issue, 探讨 node 的变迁和演进,学习 node.js 的设计哲学。

Table of content

  • 惊鸿一瞥
    • 架构一览
    • 为啥是libuv
    • V8 概念
    • C++和JS 交互
  • 从「hello world」讲起
  • 模块加载
  • Global对象
  • 事件循环
  • Timer 解读
  • Yield 魔法
  • Buffer
  • Event
  • Domain
  • Stream 流
  • Net 网络
    • Socket
    • 构建应用
    • 加密
  • HTTP
    • HTTP Server
    • HTTP Client
  • FS 文件系统
    • 文件系统
    • 文件抽象
    • IO 那些事儿
    • libuv的选型
    • 文件 IO
    • Fs 精粹
  • 进程
    • 子进程
    • Cluster
  • Node.js 的坑
  • 其他
    • Node.js & Android
    • Node.js & Docker
    • Node.js 调优
  • 附录

本书版权归作者所有,未经作者授权,禁止一切方式转载。

  • 联系作者 @江凌 微博:http://weibo.com/yangjianghua

  • 邮箱:yjhjstz#gmail.com, 博客:http://alinode.aliyun.com

本书尚在撰写中,欢迎读者讨论https://github.com/yjhjstz/deep-into-node/issues

如果您觉得还不错, 请我喝杯咖啡,欢迎Star, 提交PR

zhi