Top of Page
June 26, 2012
(Original Japanese article translated on December 19, 2012)
In the first and second parts of this article, we examined the role of cache servers, and gave an overview of cache servers and cache engines. We also discussed the results of comparative tests that IIJ carried out, with a focus on Varnish Cache and Apache Traffic Server. In this final part, we cover nginx.
In addition to those we have already introduced, nginx has the following features.
Like the other cache engines we have introduced here, nginx processes connections using an asynchronous, event-driven model, but it features higher processing ability that gives it a big advantage over the others when it comes to operating site with heavy traffic.
Additionally, the main nginx worker process that processes connections and the master process that manages them are designed to accept a range of process signals. One example of this is on-the-fly binary updates. Many products around the world do not require processes to be restarted when reloading a configuration file, but as far as the author is aware, nginx is the only product that does not requires processes to be restarted when updating a binary. The on-the-fly binary update function in nginx works as follows.
This means binaries can be switched while continuing to handle connections, making it possible to apply updates flexibly, such as when a security fix is released during operation. Furthermore, nginx benefits from a wide range of third party modules that supplement its existing functions, so it is easy to expand functionality as necessary. Additional modules can be added effortlessly using the on-the-fly upgrades mentioned above.
The comparative chart in the second part of this article may appear to indicate that nginx has poor functionality as a cache proxy server, but these features more than make up for its disadvantages.
As demonstrated here, IIJ continues to release new services and enhance our existing ones, by constantly following new products in existing fields, and incorporating our own distinctive flair. The information presented here is the result of studies on peripheral technologies aimed at enhancing our existing services. We look forward to providing even better services in the future.
Author Profile
Michikazu Watanabe
Content Delivery Engineering Section, Core Product Development Department, Product Division, IIJ
Mr. Watanabe joined IIJ in 2011. He is involved in operations and development for the IIJ Contents Delivery Service, and lives by the motto, "do a lot with a little."
Related Links
End of the page.