There are many web servers each has its own advantages, advantages, and objectives.

However, only a few of them use the lion’s share of the domains. Chief Apache is definitely. But there are at least 2 servers after Apache, which are good enough to be mentioned: Nginx and Lighttpd.

Scope of this article

Today, one of the most burning issues in discussions about web servers is “What is the best Lighttpd or Nginx? “ This article will attempt to help network administrators decide whether to use Lighttpd or Nginx.

Aim and Objectives

This article is not an attempt to prove the advantage of some servers, but only an example of actual comparison tests. The goal is to compare two Web servers without any performance tuning configuration. Everyone has to work from the box. For tests, we have two instances of Amazon m1.medium with 64 bits Ubuntu 12.04 with standard Nginx / Lighttpd, php5-FPM with default MySQL support configured Joomla (2.5.6) with a sample data it is Included with the Joomla installation package. You can hire freelancers online to help you install it.

This article discusses the comparison Nginx and Lighttpd: two lightweight and versatile web servers, which are designed to be very fast, lightweight and easy to configure. Apache and even less in this article but appear and talk about the king later, in one of the others. Some freelance jobs online is waiting for you.

LightHTTPD is small, singles on, so that their memory and CPU consumption are smaller, it is easy to set up, is fast to static HTML pages. It was designed to be massively scalable and solve the C10K problem.

Nginx is a web-based event server. As an asynchronous server offers scalability. In a server-based process, each simultaneous connection requires a wire that represents a significant overhead. An asynchronous server, such as Nginx, is event-driven and handles queries on a single thread (or at least very little) that allows Nginx to be very fast.

Nginx

In 2002, Igor Sysoev began working on Nginx as a response to a C10K problem, which was a challenge for web servers beginning to handle ten thousand simultaneous connections as a requirement for the modern web. The initial publication was made in 2004, to achieve this objective based on an asynchronous architecture, depending on the events.

Nginx has gained popularity since its launch due to its use of light resources and its ability to easily evolve over a minimum of hardware. Nginx is highlighted to the static content service quickly and is designed to pass dynamic requests to another software that is more suitable for these purposes.

Nginx is often chosen by administrators for resource efficiency and responsiveness in charge. Proponents welcome the emphasis on the main functions of the Nginx and proxy web server.

Lighttpd

Lighttpd is a secure, fast, flexible and flexible web server that has been optimized for high-performance environments. It has a very small memory footprint compared to other Web servers and manages the CPU load. Its advanced features includes (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many others) and it makes the web server. Lighttpd perfect for all servers suffering from load problems.

Main Difference between Lighttpd and Nginx

Lighttpd and Nginx are open source HTTP servers. Both Nginx Lighttpd as they are fast and lightweight. These are asynchronous servers in the Nginx only uses a few megabytes of RAM while Apache consumes hundreds of megabytes. Lighttpd supports IPv6 while Nginx IPv6 support is being processed. The separate error logging feature is compatible with Nginx but is not compatible with Lighttpd. Full Bug Tracking System is compatible with Lighttpd in Nginx has the bug tracking system of a poor man.

Lighttpd

Lighttpd web server is an open source environment optimized for critical speed while remaining compliant with security standards, and flexible. Lighttpd supports X-Sendfile since version 1.5. Apache 1 does not support X-Sendfile. Lighttpd is distributed under the terms of the revised BSD license, a variant of three clauses, no copy of the BSD license. While the static file service with single HTTP Lighttpd server provides a simple configuration

Nginx

Nginx was designed as a Web server and a proxy server. Nginx does not have the ability to handle dynamic content in native mode. Although Nginx does not allow additional parameters on a per-repertoire basis through the evaluation and interpretation of the guideline database. Applications are faster than Nginx. You will need to hire freelancers online to help you designed your web if you can’t do it. It’s part of freelance jobs.

Main differences

  • Lighttpd works as a single process while Nginx functions as a master process.
  • In a fragmented file system works better compared to Nginx Lighttpd.
  • The CPU used by Nginx is much less Lighttpd.
  • Lighttpd supports IPv6 while Nginx IPv6 support is being processed.
  • The separate error logging feature is compatible with Nginx but is not compatible with Lighttpd.
  • While the static file service with single HTTP server Lighttpd provides a simple configuration, but Nginx is ​​more difficult in the case.
  • US Lighttpd was popular Nginx.
  • Full Bug Tracking System is compatible with Lighttpd in Nginx has the bug tracking system of a poor man.
  • IRC channels are compatible with Lighttpd like Nginx, but Nginx channels are very quiet and have long delays in answering user questions.

Conclusion

As the two servers behave fairly similar, but it seems that Nginx works better and has better community support. So if someone asks me what I elected, I say “NGINX” because it is more popular and always have more information about Nginx with only googling your request. If the business user and need commercial support will be provided in www.nginx.com NGINX LightHTTPD will not (yet could not find any reference to LightHTTPD of commercial support). And indeed, we see that Nginx develops more actively and progresses much faster than LightHTTPD. However, the fact that the giant Wikipedia and YouTube uses LightHTTPD make us believe that this server is good enough to be used for a large number of website owners

Why is nginx more popular than lightpad?

I am a current user of Nginx and Lighttpd previous user and I can only repeat the problem of stability. In addition, nginx has an active development and is often seen released a new version every two weeks with new features and minor bug fixes. The configuration file is also very clear and very powerful once you learn the Nginx way of doing things.