Inside Nginx
Tags
Summary
Editor's review
Who it's for
A good fit for
- 希望从源码层面理解Nginx架构的中高级后端与系统程序员
- 需要开发Nginx模块或做二次开发的C语言工程师
- 负责高并发站点、遇到疑难问题想弄懂底层机理的运维工程师
- 计算机相关专业、具备C语言与操作系统基础的高年级学生
Not a good fit for
- 只想学习Nginx配置写法、快速上手的初学者
- 完全没有C语言和Linux系统编程经验的读者
- 期望书中提供现成配置模板或运维案例手册的人
Reading tips
- 先对照源码目录与官方文档读第1、2章,把gdb、日志、strace等跟踪环境搭好,再进入后续章节。
- 按“进程模型—数据结构—配置解析—模块—事件机制—请求流程”的顺序读,避免跳读造成断层。
- 每读一章就对照相应版本的Nginx源码打桩、加日志并单步跟踪,以代码亲自验证书中结论。
- 注意本书写作于2013年前后,个别函数与结构体在新版本中已有调整,阅读时以自己使用的源码版本为准。
About the publisher
Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.
Contents
- Chapter 1 Preparations for Source Code Analysis
- Chapter 2 Tracing and Debugging
- Chapter 3 Process Model
- Chapter 4 Data Structures
- Chapter 5 Configuration Parsing
- Chapter 6 Module Overview
- Chapter 7 Event Management Mechanism
- Chapter 8 Variable Mechanism
- Chapter 9 Request Processing and Response
- Chapter 10 Request Location
- Chapter 11 Dynamic Page Request Handling
- Chapter 12 Filter Modules
- Chapter 13 Load Balancing
- Chapter 14 Access Control
- Appendix A
- Appendix B
- Appendix C
FAQ
这本书是讲Nginx配置怎麼写的吗?
读这本书需要什么基础?
书中的源码基于哪个Nginx版本?
附录讲了什么内容?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.
About the author
Gao Qunkai is an author of computer technology books about whom little public information is available; the library currently holds only one work by him, Deep Analysis of Nginx. Judging from the title and the common category of General Computing, the book is a technical study of the Nginx server software, aimed at developers and operations personnel who want to understand its internal mechanisms and implementation principles. The author's approach, signaled by "deep analysis," suggests a focus on source-level structural explanation and principle-oriented discussion rather than a general beginner's guide or a list of configurations. Because the library lacks reliable information about the author's life, education, or professional experience, no further introduction to the person is possible; readers should treat the book as a technical monograph centered on Nginx's internal implementation, using its analysis to deepen their understanding of server architecture and runtime behavior.