Nginx Module Extension (Anglais) Broché – 26 décembre 2013
|Neuf à partir de||Occasion à partir de|
- Choisissez parmi 17 000 points de collecte en France
- Les membres du programme Amazon Premium bénéficient de livraison gratuites illimitées
- Trouvez votre point de collecte et ajoutez-le à votre carnet d’adresses
- Sélectionnez cette adresse lors de votre commande
Descriptions du produit
Présentation de l'éditeur
Customize and regulate the robust Nginx web server, and write your own Nginx modules efficiently
- Install Nginx from its source on multiple platforms
- Become acquainted with core Nginx modules and their configuration options
- Explore optional and third party module extensions along with configuration directives
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.
What you will learn from this book
- Install Nginx from its source on various platforms with instructions on various platform specific options
- Configure error logging, processes, and permissions
- Learn how Nginx handles events and how to configure epoll, kqueue, select, and poll
- Utilize standard and optional HTTP modules, and combine many of these modules to achieve various system admin tasks
- Acquaint yourself with available third party Nginx modules
- Employ LUA as a programming language to write Nginx configuration files
- Familiarize yourself with modules like PostgreSQL and Memcached and learn how to optimally configure them
- Understand the internals on Nginx and write your own modules
- Gain knowledge about core Nginx concepts like module chaining and also different types of modules like handlers, filters, and load balancers
This book is a step-by-step, example-oriented tutorial that will teach you to implement Nginx modules, as well as how to extend Nginx with core and third party modules.
Who this book is written for
Nginx Module Extension is intended for advanced users, system administrators, and developers of Nginx modules. You need to have prior experience with using Nginx as a web server and basic Nginx configuration changes. You also need basic understanding of GNU tools like configure and make, in order to be able to compile the source code. Proficiency in C programming and advanced operating system knowledge on Linux kernel, for example, would also come in handy.
Biographie de l'auteur
Usama Dar has over 13 years' experience working with software systems. During this period, he has not only worked with large companies such as Nortel Networks, Ericsson, and Huawei, but has also been involved with successful startups such as EnterpriseDB. He has worked with systems with mission-critical requirements of scalability and high availability. He writes actively on this website: www.usamadar.com. These days, Usama works at the Huawei Research Centre in Munich, where he spends most of his time researching highly scalable, high-performing infrastructure software (such as operating systems), databases, and web and application servers.
Aucun appareil Kindle n'est requis. Téléchargez l'une des applis Kindle gratuites et commencez à lire les livres Kindle sur votre smartphone, tablette ou ordinateur.
Pour obtenir l'appli gratuite, saisissez votre numéro de téléphone mobile.
Détails sur le produit
Si vous vendez ce produit, souhaitez-vous suggérer des mises à jour par l'intermédiaire du support vendeur ?
Commentaires en ligne
Commentaires client les plus utiles sur Amazon.com (beta)
First of all, this book contains just around 100 pages. You cannot fit a lot in that space, especially when you are trying to cover a complex thing like Nginx Module Extension.
The first 14 pages are about Nginx installation. The next pages to page 82 are all about Nginx configuration directives. Both core, and some hand picked extension modules. I thought that I would gain some knowledge beyond what is already documented online. Well, I don't think this one nailed it as it's barely just reformatted copy-paste from online documentation that is already publicly available (no educated opinions about how you should configure things in real world, just descriptions of each directive). If you are a total nginx newbie, this book may be a good introduction to what Nginx (and extension modules provide). Just sit comfortably on a chair and read or browse thought this book. It should take you an hour or two, and you will gain some basic knowledge about Nginx.
The pages from 83 to 104 are about making your own Nginx module with C programming language. Again, this is just on a level of "Hello World". I'm not sure that whom this book is written for. You will get an overall feeling on what Nginx provides, but I'm not sure you are looking for a book with title like "Nginx Module Extension" when you are starting with the basics. The name of this book is also misleading in my opinion. Something like "Basic Nginx Configuration Directives, and Modules" would serve as a more descriptive title.
On the other hand, this book doesn't cost you a lot (you should buy an e-book version), and it doesn't take too much of your time to read. Read, and throw it away. Technically there aren't problems with the content of this book. I think that you will learn a lot more if you just play around with Nginx, and its modules (but that would take you more time too).
In my opinion a review should start with any statement about what the book is for and who it is aimed at. So, let us examine what the intention of the book is in it's own words:
"This book is for advanced users such as system administrators and developers who want to extend Nginx's functionality using its (sic) highly flexible add-on system."
It further states it "goes beyond what is available off the shelf". With this in mind, how does the book rate? On a scale of 1 to anything with the traditional higher is better approach, I'd say a -1.
If the book is aimed at advanced people, there is no value in wasting the advanced user's time by telling them basics such as how to install and perform basic configuration of the software. This book has five chapters, three of which are devoted to basics. It should go without saying these basics are readily available at the Nginx documentation site and consist of standard sequences common to most server software in the UNIX and Linux world.
Indeed, right form beginning of chapter one it states "Therefore we will not spend much time discussing the basics". I'd say 60% of the book is "much time".
Now, let us move on to chapter 4: installing third-party modules. This section consists of two paragraphs and a command line to input. And the command line is wrong. It does absolutely nothing to explain why you run the command line and why this method is different from most plugins in other software. What follows is little more than minimum verbiage around several module's included documentation - even when the information is obvious to even a mid-level user by parameter naming convention. Any advanced user already knows the contents of this chapter from knowing to read the included documentation of the module, and learned nothing from the chapter. Indeed, even a quick read the basic information on modules included in the documentation for Nginx provides more useful and detailed information than this chapter. Contrary to claims made otherwise, there is nothing in these first several chapters that isn't explained in the server's documentation.
Now, on to what should be the meat of the book: how to write your own module. Admittedly this was the reason for reading the book. It was here I became more than merely disappointed. Here is where it gets truly bad.
Using a basic search on Google will net you better information. The less than 20% of the book devoted to writing an nginx module is less than useful and is as another reviewer commented a blatant rip-off of existing work on the Internet not of the author's creation, nor is credit given. Of this 20% I estimate about half to be simply copy-paste of source code.
Not only is the source taken and slightly edited, but so is the explanatory text. from section headings to the order it is a clear copy for anyone who follows the links in the other negative review here. I find this worse than simply unacceptable, this is bordering on, if not outright plagiarism. If this is the type of book Packt is in the market for publishing, I am certainly not in the market for Packt books or anything by the author (or the reviewer who let this through for that matter).
Regarding the feel of the book, the flow is halting and key information is glossed over at best and entirely omitted far too often. The grammar is also substandard for a technical book. More specifically it doesn't read as if it were written to be read. Essentially it appears the author was given an outline and added the absolute bare minimum text he could get away with. For example, many of what should be textual transitions are essentially "I am now about to give you a list of things".
As a result in many places it reads at best as if it were simply an expanded outline with no thought to walking the 'advanced user" down a path which leads them from one level of difficulty and knowledge to the next. What should have been the meat of the book was little more than copied introductory work from online without acknowledgement.
And finally, it is dubious that within two days of the first review appearing, and it being a 1-star result with detailed criticisms, suddenly three more vaguely written reviews with virtually no details as to what the book is about suddenly appear. Frankly, it smacks of astro-turfing. While that does not affect my review, it does serve as a something to consider regarding the publisher and author. It makes me wonder if other books from this Publisher would show this pattern.
I'm reviewing this book after reading 2 good book about Nginx, which are "Mastering Nginx" and "Nginx HTTP Server - Second Edition".
The book is divided into 5 chapters: first 3 are just about installing and configuring core and HTTP modules.
Those 3 chapters are a good recap, but I do think they are not necessary for the audience of this book.
If I'm getting this book is to deal with modules and how to extend them and how to write my own modules.
Chapter number 4 is about third-party libraries.
More precisely: PostgreSQL, MySQL (aka drizzle-server), Digest Authentication, Page Speed, Lua scripting, GeoIP, Healthcheck Module, Loadbalancing.
Every module is described with its directives
The Lua scripting module was quite interesting and surprising. I didn't test it, but I'll give a try ASAP.
Finally, in chapter 5, last one, you will learn how to write a Nginx Module Extension. Bear in mind, you may don't know but C background is needed to fully understand and test the examples.
Having that said, the book overall wasn't that bad, but as the title is very specific, I would have preferred a book just about how to write modules. The number of pages do not matter if contents are clear, focused and you get what you expect.
not far from a simple concatenation. I was hoping to see the author's own thoughts, experiments, analyzing tools, and findings, but I fail to see any highlights. Just as dull and boring as many other NGINX books out there.
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 [...] and Evan Miller's work as found at [...]
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 copies Emiller's guide to explain Joshua's hello world module. If you want to compare yourself find chapter 5 on [...] 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 copies, I highly recommend you save your money and visit the links above that are much more helpful and available free of charge
Rechercher des articles similaires par rubrique