fresh to nginx
crk_world at yahoo.com.cn
Fri Dec 14 03:39:24 UTC 2012
I recommend this article to you
as you are analysising nginx pool
On Wed, Dec 12, 2012 at 4:09 PM, 王志明 <wangzhiming1757 at gmail.com> wrote:
> hi Matthieu,
> Thanks for your suggestion and guideline, and now i am analysising the
> Nginx memory pool, it is a little more complicated, maybe i should take
> more time on it, hope enjoy it.
> brgs\ thanks
> 2012/12/12 Matthieu Tourne <matthieu.tourne at gmail.com>
>> Hi Zhiming!
>> On Tue, Dec 11, 2012 at 10:55 PM, 王志明 <wangzhiming1757 at gmail.com> wrote:
>>> hi all,
>>> I am a fresh man to nginx, who can tell me how to read the nginx source
>>> code in general, i just trace the source from main() entry, if this is the
>>> right manner.
>>> and any related documents are welcomed.
>> There are some great guides on the web to get started :
>> Evan Miller Guide To Nginx Module Development  and advanced topics 
>> A bit old, but definitely not dated if you want to learn how it works
>> Nginx Guts  also has quite a few articles on the core of Nginx.
>> If you're interested in adding new features, you can find many Nginx 
>> or 3rd-party modules ,
>> they all add new extensions and capabilities to the core of Nginx.
>> As for the main() I think it parses the command line options, reads the
>> configuration and spawn the worker processes.
>> Then each worker process will start accepting and processing HTTP
>> Hope that helps,
>>  http://www.evanmiller.org/nginx-modules-guide.html
>>  http://www.evanmiller.org/nginx-modules-guide-advanced.html
>>  http://www.nginxguts.com/2011/01/phases/
>>  http://wiki.nginx.org/Modules
>>  http://wiki.nginx.org/3rdPartyModules
>> nginx-devel mailing list
>> nginx-devel at nginx.org
> nginx-devel mailing list
> nginx-devel at nginx.org
Server Platforms Team at Taobao.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel