Companies can solve significant scaling issues thanks to switching their web platforms to Nginx. A popular web server for building web infrastructure, Nginx transparently and effectively enables the growth of the largest sites on the Internet today, on top of being free and open source.
This book is a practical reference providing you with everything you need to know about Nginx module extensions. You will learn how to write powerful and flexible configuration files and your own modules, as well as gaining knowledge about Nginx’s modular architecture, available modules, and their intricate details.
Nginx Module Extension starts by teaching you to compile the Nginx source on multiple platforms. Then you will learn the synopsis, directives, and practical examples of the core, optional, and third party Nginx modules before familiarizing yourself with Nginx internals, enabling you to write custom modules.
You will learn about the flexibility of the Nginx configuration and how to enable and disable various options while building from the source. You will learn to customize the Main and Events module to fine-tune the web server performance, and you will also learn about standard and optional HTTP modules like GeoIP, Gzip, Access Control, and using SSL, along with an exploration of PostgreSQL, MySQL, and Memcached modules. Finally you will learn internals like module chaining and will see sample code and a line-by-line walkthrough demonstrating how to write your own module.
|Product dimensions:||7.50(w) x 9.25(h) x 0.27(d)|
About the Author
Usama Dar has over 13 years of experience working with software systems. During this period he has not only worked with large companies like Nortel Networks, Ericsson, and Huawei, but has also been involved with successful startups like EnterpriseDB. He has worked with systems with mission critical requirements of scalability and high availability. He writes actively on his websitehttp://usamadar.com. These days Usama is working at the Huawei Research Centre in Munich where he spends most of his time researching highly scalable and high performing infrastructure software like operating systems, databases, and web and application servers.
Most Helpful Customer Reviews
I have just finished reading this book and I could not be less satisfied. I picked up this book because I am getting into Nginx module development and I expected this book to offer some guidance in this. What I found was that the first 4 chapters of this book were just covering the basic compiling and configuring of core and basic 3rd-party modules. The last chapter finally gets into actually writing an nginx handler module and is where you'll find the real atrocities. The last chapter very loosely combines the work of Joshua Zhu as found at http://blog.zhuzhaoyuan.com/2009/08/creating-a-hello-world-nginx-module/ and Evan Miller's work as found at http://www.evanmiller.org/nginx-modules-guide.html The author does give credit to the the author of the hello world module but doesn't give a single mention about Evan Miller's guide that is obviously the basis/foundation of the chapter, in which he plagiarizes Emiller's guide to explain Joshua's hello world module. If you want to compare yourself find chapter 5 on http://packtlib.packtpub.com/library/9781782163046 and section 2 in Evan's guide. This book does not dabble at all in the other major types of nginx modules such as load balancing or filtering. Considering this book offers only a subset of information from the works the author plagiarizes, I highly recommend you save your money and visit the links above that are much more helpful and available free of charge