https://github.com/y123456yz/reading-and-annotate-nghttp2
HTTP/2库nghttp2源码中文注释分析, 后期不在更新,。停止分析nghttp2库主要原因:冗余代码太多,可读性差。如果想了解HTTP2代码实现过程,可以参考工程: reading-code-of-nginx-1.9.2;如果想学习quic实现过程,可以参考工程:reading-and-annotate-quic
https://github.com/y123456yz/reading-and-annotate-nghttp2
h2load http2 nghttp2 nghttpd nghttpx
Last synced: 6 months ago
JSON representation
HTTP/2库nghttp2源码中文注释分析, 后期不在更新,。停止分析nghttp2库主要原因:冗余代码太多,可读性差。如果想了解HTTP2代码实现过程,可以参考工程: reading-code-of-nginx-1.9.2;如果想学习quic实现过程,可以参考工程:reading-and-annotate-quic
- Host: GitHub
- URL: https://github.com/y123456yz/reading-and-annotate-nghttp2
- Owner: y123456yz
- License: gpl-3.0
- Created: 2017-04-10T12:30:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-24T03:05:08.000Z (almost 5 years ago)
- Last Synced: 2025-03-24T17:01:58.748Z (7 months ago)
- Topics: h2load, http2, nghttp2, nghttpd, nghttpx
- Language: C++
- Homepage:
- Size: 2.03 MB
- Stars: 43
- Watchers: 7
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# reading-and-annotate-nghttp2
HTTP/2 库nghttp2源码分析、注释
nginx高性能特性应用于其他项目,效果明显
===================================
Nginx多进程高并发、低时延、高可靠机制在缓存代理中的应用:
https://github.com/y123456yz/reading-code-of-nginx-1.9.2/blob/master/%E5%80%9F%E9%89%B4nginx%E7%89%B9%E6%80%A7%E5%BA%94%E7%94%A8%E4%BA%8E%E5%85%B6%E4%BB%96%E9%A1%B9%E7%9B%AE-Nginx%E5%A4%9A%E8%BF%9B%E7%A8%8B%E9%AB%98%E5%B9%B6%E5%8F%91%E3%80%81%E4%BD%8E%E6%97%B6%E5%BB%B6%E3%80%81%E9%AB%98%E5%8F%AF%E9%9D%A0%E6%9C%BA%E5%88%B6%E5%9C%A8%E7%BC%93%E5%AD%98%E4%BB%A3%E7%90%86%E4%B8%AD%E7%9A%84%E5%BA%94%E7%94%A8.docx
nginx多进程、高性能、低时延机制应用于缓存中间件twemproxy,对twemproxy进行多进程优化改造,提升TPS,降低时延:
http://blog.itpub.net/69908606/viewspace-2565161/nginx高并发设计优秀思想应用于其他高并发代理中间件:
===================================
* [高性能 -Nginx 多进程高并发、低时延、高可靠机制在百万级缓存 (redis、memcache) 代理中间件中的应用](https://xie.infoq.cn/article/2ee961483c66a146709e7e861)redis、nginx、memcache、twemproxy、mongodb等更多中间件,分布式系统,高性能服务端核心思想实现博客:
===================================
* [中间件、高性能服务器、分布式存储等(redis、memcache、pika、rocksdb、mongodb、wiredtiger、高性能代理中间件)二次开发、性能优化,逐步整理文档说明并配合demo指导](https://github.com/y123456yz/middleware_development_learning)
阅读进度:
===================================
17.4.11
调试日志增加函数名和行号,这样有利于阅读代码
nghttp启动过程、连接建立过程、网络读写事件处理流程注释分析
17.4.18
各种帧组包发送流程分析
相关参考资料:
===================================
HTTP/2协议部分资料和tcpdump抓包分析可以参考:
https://github.com/y123456yz/reading-code-of-nginx-1.9.2/tree/master/nginx-1.9.2/http2%E7%9B%B8%E5%85%B3
nginx http2模块源码分析可以参考:https://github.com/y123456yz/reading-code-of-nginx-1.9.2放弃分析nghttp2:
===================================
后期不在继续分析nghttp2,原因如下:
1. 冗余代码太多,代码可读性实在是差
2. HTTP2主要功能代码在nginx中已经分析,没必要再次分析。有兴趣学习http2源码实现过程的可以参考:https://github.com/y123456yz/reading-code-of-nginx-1.9.2
对quic源码实现有兴趣的可以参考:https://github.com/y123456yz/reading-and-annotate-quic
nginx http2 quic学习参考:
===================================
nginx源码中文详细分析注释参考:https://github.com/y123456yz/reading-code-of-nginx-1.9.2
libquic goquic编译安装,源码分析注释:https://github.com/y123456yz/reading-and-annotate-quic
nghttp2相关参考:https://github.com/y123456yz/reading-and-annotate-nghttp2