preview

The Advantages And Disadvantages And Disadvantages Of The Lighttpd Web Server

Decent Essays

Lighttpd Web Server
Introduction
Lighttpd web server is a free, open-source web server software that distributed with the Free BSD operating system. It is easy to set up and it runs on Windows, Linux, Mac OS X and Solaris operating system. It is fast, reliable, secure and flexible and it consume lesser CPU power. Lighttpd is also an asynchronous server that runs as single process with a single thread and non-blocking input or output (I/O). Asynchronous server give the advantage of web applications that written in any programming language to run on the Lighttpd server.
Lighttpd is also an ideal server for embedded system. As an example, Raspberry Pi, one of the popular embedded system on the market is a good candidate for Lighttpd web server. …show more content…

As a conclusion, Lighttpd is a high-quality web server that suitable for any websites with dynamic content. It is also an alternative web server which is easy to configure and efficient than the resource limited web servers.
Advantages
There are some advantages of the Lighttpd web server. The first advantage is Lighttpd has many interesting features that can server a lots of static content to multiple user even it is running on the environment with limited resources. It can be a reasonably decent web server even if it put into a resource-constrained device such as network-attached storage (NAS). As an example, user with a limited RAM amount in their device prefer Lighttpd instead of using others heavy server.
Secondly, Lighttpd web server has low RAM usage. It can upload to thousands or more users at a high speed and it just consume several MB of RAM in this single process. Lighttpd can serve a lots of users on hardware with the limited CPU power and RAM …show more content…

In other system, it will be expensive operation in RAM usage and CPU load if starting a new process or threads. In Lighttpd, expensive operation in RAM usage and CPU load will not happen since Lighttpd does not need to start a new process or thread on per-user or per-connection basis. Therefore, it is really light in RAM usage and CPU load. Lighttpd also normally use the I/O bound rather than the CPU-bound. This means that Lighttpd always serve static files by speed of disk device or network interface instead of CPU speed.
Disadvantages
There also some disadvantages of Lighttpd web server. Lighttpd web server’s design has faced some problem when it comes to the hardware with large number of CPU cores (CPUs). This is because Lighttpd only uses several threads and it will not gain too much from increasing more CPUs. However, Lighttpd is really light and never bound by lack of CPU power. There is also one weakness of the Lighttpd server which is Lighttpd buffer output from CGI server process in internal buffers. This will leads to less RAM memory consumption. It is a weak design that using Lighttpd to send iso-sized files which obtained as data stream from the CGI process. This issue may limit the use of Lighttpd web server. However, this issue not really cause any big problem in the real

Get Access