Why does nginx




















Nginx is built to offer low memory usage and high concurrency. Rather than creating new processes for each web request, Nginx uses an asynchronous, event-driven approach where requests are handled in a single thread. With Nginx, one master process can control multiple worker processes.

The master maintains the worker processes, while the workers do the actual processing. Because Nginx is asynchronous, each request can be executed by the worker concurrently without blocking other requests. Apache is another popular open-source web server. In terms of raw numbers, Apache is the most popular web server in existence and is used by Nginx comes in a close second at Netcraft ran a survey across million domains and found Apache usage at Web server developers: market share of domains Image source: Netcraft.

While Apache is the most popular overall option, Nginx is actually the most popular web server among high-traffic websites. It powers:. Check out our more in-depth comparison of Nginx vs Apache. Or you can check headers in a tool like Pingdom or GTmetrix.

However, the HTTP header might not always reveal the underlying web server. For example, if your WordPress site is behind a proxy service such as Cloudflare, the server HTTP header will then say cloudflare instead. All of that and much more, in one plan with no long-term contracts, assisted migrations, and a day-money-back-guarantee.

Here are some of the success stories: Dropbox , Netflix , Wordpress. The sources and documentation are distributed under the 2-clause BSD-like license. Learn 97 site reliability tips and best practices in this new O'Reilly ebook.

Download for free at nginx. Commercial support is available from Nginx, Inc.



0コメント

  • 1000 / 1000