Giter Club home page Giter Club logo

annotated_nginx's Introduction

annotated_nginx

Annotated Nginx Source(中文)

简介

Nginx源码分析,注解代码,帮助学习Nginx。

Nginx1.10增加了动态模块、http2、reuseport。

Nginx1.11.x里的stream模块的变动较大,完善了阶段处理。

请参考:

当前状态

nginx 1.12.2

Git分支

分支 说明 注释
master nginx稳定版1.12.2
upgrade nginx稳定版1.12.2
mainline nginx开发版1.13.9

已注解

源码目录快捷入口

  • src - nginx源码目录
  • core - 60%,md5/sha1/crc等较简单的功能不关注
  • event - 90%,只注解核心模块和epoll,select/kqueue/ssl等不关注
  • http - 50%,modules目录里的具体功能模块暂不关注
  • os/unix - 80%,bsd/darwin/solaris等系统不关注
  • stream - 70%

UML图解

UML图示

部分关键源码(目录分类)

core目录
event目录
http目录
os/unix目录
stream目录

部分关键源码(功能分类)

数据结构
进程机制
事件机制
多线程机制
tcp(stream)处理
http处理

不注解

  • auto
  • mail
  • misc

annotated_nginx's People

Contributors

chronolaw avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.