Need advice about which tool to choose?Ask the StackShare community!
lighttpd vs Apache Tomcat: What are the differences?
What is lighttpd? 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.
What is Apache Tomcat? An open source software implementation of the Java Servlet and JavaServer Pages technologies. Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
lighttpd and Apache Tomcat can be categorized as "Web Servers" tools.
"Lightweight" is the top reason why over 6 developers like lighttpd, while over 76 developers mention "Easy" as the leading cause for choosing Apache Tomcat.
Apache Tomcat is an open source tool with 3.51K GitHub stars and 2.4K GitHub forks. Here's a link to Apache Tomcat's open source repository on GitHub.
According to the StackShare community, Apache Tomcat has a broader approval, being mentioned in 566 company stacks & 430 developers stacks; compared to lighttpd, which is listed in 15 company stacks and 4 developer stacks.
I was in a situation where I have to configure 40 RHEL servers 20 each for Apache HTTP Server and Tomcat server. My task was to 1. configure LVM with required logical volumes, format and mount for HTTP and Tomcat servers accordingly. 2. Install apache and tomcat. 3. Generate and apply selfsigned certs to http server. 4. Modify default ports on Tomcat to different ports. 5. Create users on RHEL for application support team. 6. other administrative tasks like, start, stop and restart HTTP and Tomcat services.
I have utilized the power of ansible for all these tasks, which made it easy and manageable.
Pros of lighttpd
- Lightweight7
- Easy setup6
- Simplicity2
- Full featured2
- Proxy2
- Virtal hosting2
- Open source2
- Available modules1
- Fast1
- Security1
- Ssl support1
Pros of Apache Tomcat
- Easy79
- Java72
- Popular49
- Spring web1
Sign up to add or upvote prosMake informed product decisions
Cons of lighttpd
Cons of Apache Tomcat
- Blocking - each http request block a thread2
- Easy to set up1