Nginx Internals (Slides & Video)

Last Saturday I gave the talk “Nginx Internals” in Guangzhou. Here are the presentation slides and the video of the talk.

Nginx Internals Video part 1 (in Chinese):

Nginx Internals Video part 2 (in Chinese):
UPDATE: This part is lost, saddly, and I have no backup :(

Nginx Internals Video part 3 (in Chinese):


  1. litaocheng said,

    September 27, 2009 @ 9:53 am


  2. zn123 said,

    November 30, 2009 @ 11:40 am

    part 2 lost

  3. guest said,

    December 30, 2009 @ 3:04 pm

    need part 2, thank you!

  4. newnginx said,

    January 1, 2010 @ 4:54 pm

    thank you very much! where is the part 2

  5. codeblocker said,

    January 19, 2010 @ 7:54 pm

    need part 2???

  6. Joshua said,

    January 23, 2010 @ 9:41 pm

    抱歉视频被sina删掉一个。不过好在视频的原文件还在。到时候会重新上传到一个靠谱的站点的。请大家谅解 :)

  7. beenchaos said,

    February 21, 2010 @ 11:27 pm

    hi 帅哥…找到文件赶紧上传啊…nginx还是不好啃…期待啊….

  8. kenshinxf said,

    March 23, 2010 @ 3:57 pm


  9. Rogério Schneider said,

    May 17, 2010 @ 1:10 pm

    Joshua, thanks for the amazing content on Nginx internals.

    Now I have a question:
    - How could I write a module that returns a chunked encoding response without cliosing the users connection, ever?
    I would like to respond in little chunks to the user, and, as the time passes, updating this connection with new chunks of data. The connection would not be closed, ever.

    Thanks again.

  10. Joshua said,

    May 17, 2010 @ 1:31 pm

    Hi, I guess you are looking for something similar to Leo Ponomarev’s push module (


  11. Rogério Schneider said,

    May 17, 2010 @ 10:23 pm

    Joshua, yes, I am looking for a comet implementation, BUT I need it to be streaming, not long polling :)
    Do you know if this is possible to achieve, and how? Updating the output chain in chunks, gradually, as they become available by publishing new messages?

    Rogério Schneider

  12. Joshua said,

    May 18, 2010 @ 3:12 pm

    Hey Rogério, this is feasible, I think. Please give a look at agentzh’s ngx_echo module implementation which might give you a hint (, especially the “echo_sleep” and “echo_flush” directives.

  13. Rogério Schneider said,

    May 18, 2010 @ 8:56 pm

    Great joshua, thanks for the hints.

  14. Tank said,

    July 17, 2010 @ 2:54 am

    看了Velocity 2010 Highlights,科幻一把:种一亩地的效益比不上种十亩地,10亩比不上1000亩…………………………………………最后,世界上只有几个巨头农场主——嗯,云计算的成熟阶段。那一天快点到吧!

  15. bhjren said,

    January 3, 2011 @ 2:31 pm


  16. terrence said,

    September 17, 2011 @ 4:56 pm


  17. Mohammad said,

    September 28, 2011 @ 2:07 am

    Joshua, thanks for sharing these valuable contents

    I’m learning about nginx module development, and have developed a simple one. Now i need to load at run-time (dynamically) some shared libraries whose path is specified in location config directives, but i’m not sure about where i should get a handle of these shared libraries and also where to close them. Closing probably could be done in master process exist callback.

    Best regards,
    Mohammad Yeganehfar

  18. Joshua said,

    October 12, 2011 @ 11:25 am

    I think the ngx_module_t’s init_process() and exit_process() hooks are the right places to go.

  19. dicer319 said,

    November 9, 2011 @ 4:30 pm


  20. evermean said,

    November 10, 2011 @ 8:11 pm

    Is there an english version of the talk?

  21. jdie said,

    November 12, 2011 @ 4:02 pm


  22. KELL said,

    November 14, 2011 @ 9:12 pm


  23. sky said,

    November 19, 2011 @ 7:43 pm


  24. Joshua said,

    November 21, 2011 @ 11:36 pm


  25. 缤纷涯 said,

    December 5, 2011 @ 10:38 am


  26. Sunglasses Sale said,

    August 6, 2012 @ 5:28 pm


  27. Celine Luggage said,

    August 8, 2012 @ 3:58 am

    One of the best sites for relevant facts on this niche !?!

  28. Coach Factory said,

    August 10, 2012 @ 8:42 pm

    Many thanks for your good publish. I’ll take the notes you’ve written.

  29. Goyard Purses said,

    August 22, 2012 @ 8:41 pm

    I wants to thank you with the endeavors you have produced in publishing this article. I am trusting the same greatest work from you within the future as well. In fact your fanciful writing abilities has inspired me to start my own weblog now. Truly the blogging is spreading its wings rapidly. Your generate up is a fine example of it.Thanks yet again for discussing this cost-free on the web!

  30. Supra Shoes For Sale said,

    August 24, 2012 @ 2:33 pm

    I will advise my terrific remarkable exceptional buddies to evaluation this. I will bookmark your weblog and have my youngsters validate up finest suited fabulous most most ideal suited proper most perfect proper right here often. I am instead terrific they will comprehend an extraordinary provide of new stuff finest fabulous most most ideal suited proper most perfect proper right here than anybody else!

  31. Louis Vuitton Purses Outlet said,

    August 31, 2012 @ 1:54 am

    This article may possibly be mentioned on Twitter by someone. genuinely?

  32. Michael Kors Outlet Sale said,

    August 31, 2012 @ 8:21 am

    i genuinely like your world-wide-web internet site. Its really informative. Goodbye!

  33. Louis Vuitton Purses Outlet said,

    September 2, 2012 @ 4:17 am

    I found your blog site on google and check several of the early posts. Continue to keep up the good work. I just added up your RSS feed to my MSN News Reader. Looking forward to reading through far more from you later on!

  34. Cheap Louis Vuitton Purse said,

    September 2, 2012 @ 11:33 am

    That is some inspirational stuff. Never knew that thoughts might be this varied. Many thanks for all of the enthusiasm to offer such beneficial data right here.

  35. michael kors väskor said,

    September 24, 2012 @ 10:47 am

    True excellent data are available about weblog .

  36. ray ban sunglasses said,

    September 25, 2012 @ 9:32 am

    Gleam Prohibition sun shades, having a the “Wayfarer” series plus the “Aviator” structure transpire to remain named both antiques of recent design as well as the best ray ban nz long lasting type symbols out of them all. Sunglass Stockroom, with its extensive variety reduced total price Jimmy Suspend eyeglasses, will be happy to have to your ray ban sunglasses convention of people legendary eyeglasses styles.

  37. longchamp pas cher said,

    September 28, 2012 @ 3:14 pm

    I truly fully grasp this write-up. I have been shopping all over just for this! Thank goodness I discovered the idea upon Msn. You’ve made my morning! Thx yet again

  38. jeremy scott shop said,

    September 28, 2012 @ 4:57 pm

    Interested to find out which all that you intellectuals should point out about it

  39. Converse Sko said,

    October 11, 2012 @ 10:18 am

    I always had been interested in this topic and also inventory nonetheless ‘m, enjoy it with regard to putting up.

  40. ray ban australia said,

    March 25, 2013 @ 5:04 pm

    Thanks for finally writing about >Joshua Zhus Blog Nginx Internals (Slides & Video) <Liked it!

  41. tomcat nginx said,

    July 10, 2013 @ 10:37 am

    did i miss part 2?

  42. 特価 ラウンドトゥ 心細く制作 said,

    December 8, 2013 @ 2:49 pm

    Greetings! Very helpful advice in this particular article!
    It is the little changes that make the biggest changes.
    Thanks a lot for sharing!

  43. audio transcription services said,

    January 7, 2014 @ 4:01 pm

    The profits inferred from translation administrations are constantly investigated with a specific end goal to liken their significance to their fiscal quality. Individuals need to realize that they are getting quality for their cash; this information starts with comprehension the importance of sound translation administrations.

  44. crypt said,

    March 9, 2014 @ 5:43 pm

    Oh man! Looking at the slides it’s a great lecture! So sad there is no an english version of the video.:(((

RSS feed for comments on this post · TrackBack URI

Leave a Comment

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word