lighttpd vs nginx

lighttpd
lighttpd

42
23
2
nginx
nginx

23.3K
5.4K
3.8K
Add tool

lighttpd vs nginx: What are the differences?

Developers describe lighttpd as "A secure, fast, compliant, and very flexible web-server that has been optimized for high-performance environments". lighttpd has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that suffers load problems. On the other hand, nginx is detailed as "A high performance free open source web server powering busiest sites on the Internet". nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.

lighttpd and nginx can be categorized as "Web Servers" tools.

"Lightweight" is the primary reason why developers consider lighttpd over the competitors, whereas "High-performance http server" was stated as the key factor in picking nginx.

nginx is an open source tool with 9K GitHub stars and 3.41K GitHub forks. Here's a link to nginx's open source repository on GitHub.

reddit, Instacart, and Lyft are some of the popular companies that use nginx, whereas lighttpd is used by WhatsApp, Frame, and Fusionbox. nginx has a broader approval, being mentioned in 8631 company stacks & 2494 developers stacks; compared to lighttpd, which is listed in 15 company stacks and 4 developer stacks.

- No public GitHub repository available -

What is lighttpd?

lighttpd has a very low memory footprint compared to other webservers and takes care of cpu-load. Its advanced feature-set (FastCGI, CGI, Auth, Output-Compression, URL-Rewriting and many more) make lighttpd the perfect webserver-software for every server that suffers load problems.

What is nginx?

nginx [engine x] is an HTTP and reverse proxy server, as well as a mail proxy server, written by Igor Sysoev. According to Netcraft nginx served or proxied 30.46% of the top million busiest sites in Jan 2018.

Want advice about which of these to choose?Ask the StackShare community!

Why do developers choose lighttpd?
Why do developers choose nginx?
What are the cons of using lighttpd?
What are the cons of using nginx?
    Be the first to leave a con
      Be the first to leave a con
      What companies use lighttpd?
      What companies use nginx?
      What are some alternatives to lighttpd and nginx?
      Apache HTTP Server
      The Apache HTTP Server is a powerful and flexible HTTP/1.1 compliant web server. Originally designed as a replacement for the NCSA HTTP Server, it has grown to be the most popular web server on the Internet.
      Microsoft IIS
      Internet Information Services (IIS) for Windows Server is a flexible, secure and manageable Web server for hosting anything on the Web. From media streaming to web applications, IIS's scalable and open architecture is ready to handle the most demanding tasks.
      Apache Tomcat
      Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
      Passenger
      Phusion Passenger is a web server and application server, designed to be fast, robust and lightweight. It takes a lot of complexity out of deploying web apps, adds powerful enterprise-grade features that are useful in production, and makes administration much easier and less complex.
      Gunicorn
      Gunicorn is a pre-fork worker model ported from Ruby's Unicorn project. The Gunicorn server is broadly compatible with various web frameworks, simply implemented, light on server resources, and fairly speedy.
      See all alternatives
      What tools integrate with lighttpd?
      What tools integrate with nginx?
        No integrations found
          No integrations found
          Decisions about lighttpd and nginx
          No stack decisions found
          Interest over time
          Reviews of lighttpd and nginx
          No reviews found
          How developers use lighttpd and nginx
          Avatar of MaxCDN
          MaxCDN uses nginxnginx

          The original API performed a synchronous Nginx reload after provisioning a zone, which often took up to 30 seconds or longer. While important, this step shouldn’t block the response to the user (or API) that a new zone has been created, or block subsequent requests to adjust the zone. With the new API, an independent worker reloads Nginx configurations based on zone modifications.It’s like ordering a product online: don’t pause the purchase process until the product’s been shipped. Say the order has been created, and you can still cancel or modify shipping information. Meanwhile, the remaining steps are being handled behind the scenes. In our case, the zone provision happens instantly, and you can see the result in your control panel or API. Behind the scenes, the zone will be serving traffic within a minute.

          Avatar of Cloudcraft
          Cloudcraft uses nginxnginx

          Nginx serves as the loadbalancer, router and SSL terminator of cloudcraft.co. As one of our app server nodes is spun up, an Ansible orchestration script adds the new node dynamically to the nginx loadbalancer config which is then reloaded for a zero downtime seamless rolling deployment. By putting nginx in front or whatever web and API servers you might have, you gain a ton of flexibility. While previously I've cobbled together HAProxy and Stun as a poor man's loadbalancer, nginx just does a much better job and is far simpler in the long run.

          Avatar of datapile
          datapile uses nginxnginx

          Used nginx as exactly what it is great for: serving static content in a cache-friendly, load balanced manner.

          It is exclusively for production web page hosting, we don't use nginx internally, only on the public-facing versions of static sites / Angular & Backbone/Marionette applications.

          Avatar of Pēteris Caune
          Pēteris Caune uses nginxnginx

          We use NGINX both as reverse HTTP proxy and also as a SMTP proxy, to handle incoming email.

          We previously handled incoming email with Mandrill, and then later with AWS SES. Handling incoming email yourself is not that much more difficult and saves quite a bit on operational costs.

          Avatar of Wirkn Inc.
          Wirkn Inc. uses nginxnginx

          NGINX sits in front of all of our web servers. It is fantastic at load balancing traffic as well as serving as a cache at times when under massive load. It's a robust tool that we're happy to have at the front lines of all Wirkn web apps.

          Avatar of Jan Hoekstra
          Jan Hoekstra uses lighttpdlighttpd

          Lightweight with built-in support for CGI scripts.

          How much does lighttpd cost?
          How much does nginx cost?
          Pricing unavailable
          Pricing unavailable
          News about lighttpd
          More news