nginx学习资料收集,补充中....

由于自己对C的不熟悉,和平时学习时间安排过少,在学习nginx过程中遇到了很多问题。

在agentzh的耐心指导下,我还是有所进步的。

为了促进自己学习,也尽量不麻烦别人,我把学习过程中认为有帮助的学习资料记录在此,也希望同学们补充分享。

学习nginx模块开发资料:

agentzh的两份PPT

http://agentzh.org/misc/slides/nginx-conf-scripting/#1

http://agentzh.org/misc/slides/recent-dev-nginx-conf/#1

园子里T2噬菌体 写的模块开发

简单模块开发,注释很详细 http://wendal.net/230.html

nginx测试,test::nginx使用:

我认为在学习模块开发前,最好是先学会测试nginx,该测试模块是agentzh开发的,采用perl的test::base为基础

实际环境中使用,除了用C写核心的nginx模块,其他简单灵活的处理最好使用lua开发,可以采用agentzh开发的lua-nginx模块

nginx-openresty,中的tt模板:

Template,Jemplate。用于后台生成html文件使用,不是系统运行过程中使用。

nginx-openresty,中的demo配置:

http://yichunzhang.wordpress.com/2010/03/19/setting-up-our-pure-js-blog-app-atop-ngx_openresty/

nginx-openresty学习资料,章亦春的。

http://openresty.org/#Presentations

重要:

nginx的性能,主要是因为采用了linux中的epoll,所有在使用nginx的过程中,一定要注意IO非阻塞。