Home / Networking / ​When to use NGINX instead of Apache

​When to use NGINX instead of Apache


web-server-popularity-october-2016.png

Apache is the top web server, but NGINX continues to gain and Microsoft IIS falls below 10 percent for the first time in decades.

NGINX has risen to become the number two web server. It surpassed Microsoft Internet Information Services (IIS) long ago and has been creeping up on long-time top web server Apache. But, NGINX CEO Gus Roberston said in an interview, Apache and NGINX are not after the same audiences.

“I think Apache is a great web server. NGINX is different use case,” said Robertson. “We don’t see Apache as a rival. Our customers use NGINX to replace hardware load balancers and build micro-services neither of which is Apache.”

Indeed, Robertson finds that many customers use both open-source web services. “Customers will use NGINX in front of Apache for load balancing and applications. Our architecture is quite different and we can do better concurrent web services.” He also said NGINX works better in cloud configurations.

He concluded, “We’re the only web server still growing, everyone else is still shrinking.”

That’s not quite true. According to the October Netcraft web server survey, Apache saw the largest increase of active sites this month, gaining 1.8 million, while NGINX gained 400,000, the second-largest growth.

These gains, coupled with Microsoft’s loss of 1.2 million active sites, led to Microsoft’s share of active sites dropping to 9.27 percent, the first time that it has fallen below 10 percent. Apache increased its market share by 0.19 percentage points and continues to dominate, now with 46.30 percent of active sites. Still, it is true that over the years Apache has been slowly declining, while NGINX is now at 19 percent.

NGINX’s developers are seeking to make their open-core commercial web server, NGINX Plus, more competitive by continuing to improve it. With the latest release, NGINX Plus Release 11 (R11), the server is both easier to extend and customize, and support a broader range of deployments.

The biggest addition is binary compatibility for dynamic modules. This means that dynamic modules that have been compiled against the open-source NGINX software can be loaded into NGINX Plus.

This means you can leverage the large number of third‑party NGINX modules to extend and add functionality to NGINX Plus, drawing from a range of open-source and commercially produced modules. Developers can create custom extensions, add‑ons, and new products based on the supported NGINX Plus core.

NGINX Plus R11 also added other enhancements:

  • Improved TCP/UDP load balancing — New features include SSL server name routing, new logging functionality, additional variables, and improved PROXY protocol support. These new features enhance debugging capabilities and enable you to support a broader range of enterprise applications.
  • Better geolocation by IP address — The third‑party GeoIP2 module is now certified and provided to NGINX Plus customers. This new version provides localized and richer location detail than the original GeoIP module.
  • Enhanced nginScript module — nginScript is the next‑generation configuration language for NGINX Plus, based on JavaScript. New features enable you to modify request and response data on the fly in the Stream (TCP/UDP) module.

The end result? NGINX is poised to continue to make the race for the top web server a two-horse race. Microsoft IIS? It continues to slowly fade away.

Related Stories:

.



Source link

About admin

Check Also

Poland's big broadband test: Getting firms to fight over high-speed links for rural areas

Video: Microsoft bets on white spaces to bring broadband internet to rural America Poland is ...

Leave a Reply

Your email address will not be published. Required fields are marked *