A faster Web server: ripping out Apache for Nginx | Linux Today

A faster Web server: ripping out Apache for Nginx

Written By
Web Webster
Web Webster
Nov 14, 2011

“Nginx (pronounced ‘engine-ex’) is a lightweight Web server with
a reputation for speed, speed, speed. It differs from Apache in a
fundamental way—Apache is a process- and thread-driven
application, but Nginx is event-driven. The practical effect of
this design difference is that a small number of Nginx ‘worker’
processes can plow through enormous stacks of requests without
waiting on each other and without synchronizing; they just ‘close
their eyes’ and eat the proverbial elephant as fast as they can,
one bite at a time.

“Apache, by contrast, approaches large numbers of requests by
spinning off more processes to handle them, typically consuming a
lot of RAM as it does so. Apache looks at the elephant and thinks
about how big it is as it tucks into its meal, and sometimes Apache
gets a little anxious about the size of its repast. Nginx, on the
other hand, just starts chomping.

“The difference is summed up succinctly in a quote by Chris Lea
on the Why Use Nginx? page: ‘Apache is like Microsoft Word, it has
a million options but you only need six. Nginx does those six
things, and it does five of them 50 times faster than Apache.'”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.