Apache Tomcat vs. NGINX

Overview
ProductRatingMost Used ByProduct SummaryStarting Price
Apache Tomcat
Score 7.9 out of 10
N/A
Tomcat is an open-source web server supported by Apache.N/A
NGINX
Score 9.2 out of 10
Enterprise companies (1,001+ employees)
NGINX, a business unit of F5 Networks, powers over 65% of the world's busiest websites and web applications. NGINX started out as an open source web server and reverse proxy, built to be faster and more efficient than Apache. Over the years, NGINX has built a suite of infrastructure software products o tackle some of the biggest challenges in managing high-transaction applications. NGINX offers a suite of products to form the core of what organizations need to create…N/A
Pricing
Apache TomcatNGINX
Editions & Modules
No answers on this topic
No answers on this topic
Offerings
Pricing Offerings
Apache TomcatNGINX
Free Trial
NoYes
Free/Freemium Version
NoYes
Premium Consulting/Integration Services
NoNo
Entry-level Setup FeeNo setup feeOptional
Additional Details
More Pricing Information
Community Pulse
Apache TomcatNGINX
Features
Apache TomcatNGINX
Application Servers
Comparison of Application Servers features of Product A and Product B
Apache Tomcat
9.2
Ratings
15% above category average
NGINX
7.8
Ratings
2% below category average
IDE support10.00 Ratings7.20 Ratings
Security management9.00 Ratings8.00 Ratings
Administration and management8.20 Ratings7.00 Ratings
Application server performance8.10 Ratings8.00 Ratings
Installation10.00 Ratings9.70 Ratings
Open-source standards compliance10.00 Ratings7.00 Ratings
Best Alternatives
Apache TomcatNGINX
Small Businesses
NGINX
NGINX
Score 9.2 out of 10
Apache HTTP Server
Apache HTTP Server
Score 8.4 out of 10
Medium-sized Companies
NGINX
NGINX
Score 9.2 out of 10
Apache Tomcat
Apache Tomcat
Score 7.9 out of 10
Enterprises
NGINX
NGINX
Score 9.2 out of 10
Apache Tomcat
Apache Tomcat
Score 7.9 out of 10
All AlternativesView all alternativesView all alternatives
User Ratings
Apache TomcatNGINX
Likelihood to Recommend
9.0
(0 ratings)
8.8
(0 ratings)
Likelihood to Renew
10.0
(0 ratings)
9.1
(0 ratings)
Usability
8.0
(0 ratings)
9.0
(0 ratings)
Availability
6.0
(0 ratings)
-
(0 ratings)
Performance
9.0
(0 ratings)
-
(0 ratings)
Support Rating
9.1
(0 ratings)
8.1
(0 ratings)
Configurability
8.0
(0 ratings)
-
(0 ratings)
Ease of integration
9.0
(0 ratings)
-
(0 ratings)
Product Scalability
9.0
(0 ratings)
-
(0 ratings)
User Testimonials
Apache TomcatNGINX
Likelihood to Recommend
Tomcat is more than enough to deploy most of the mid-end web applications without any problem but for the high-end applications which require high scalability and high availability, which might need some tune-ups with the support of expertise in this regard. Otherwise, you may realize numerous performance issues, memory leaks, server crashes etc.
Read full review
Nginx is well suited for serving any static content - whether that be images, JS files, HTML files, CSS files, videos, etc. If you have a high-traffic website, Nginx will be a great fit because it handles large number of requests extremely efficiently. Nginx has full support on Unix systems, but only has limited support on Microsoft Windows machines.
Read full review
Pros
  • Fast to start up, which is useful when we need to just check that our changes are working correctly.
  • Free, which allows us to not be involved with the finance/legal team about using it.
  • Bundled with Spring Boot, which makes it even more convenient for our testing.
Read full review
  • Straight-forward configuration format that users of all skill levels can learn, and yet is powerful enough for the huge breadth of features that Nginx provides.
  • Massive scale right out the box. We've never had a Nginx instance overwhelmed by requests, and if we did it would be trivial to spin up more Nginx instances to handle the load.
  • SSL termination means that we can deliver content over HTTPS without needing our individual services to require TLS support. This saves us a lot of time and headache while keeping us secure.
  • Nginx is open-source and free, meaning that anyone can use it to power their services, from individual projects to billion-dollar websites.
Read full review
Cons
  • tomcat is just part of the J2EE specification implementation, majorly focusing on the servlet (front-end) part. If you requires the full J2ee stack, like EJB support, you need consider other containers like Weblogic
  • tomcat's cluster level support is very limited
  • tomcat's admin/configuration is not so intuitive, and default logging needs a lot of improvement
Read full review
  • Nginx often requires some initial configuration. It's worth doing, because you'll end up with great results, but it can be slightly daunting for someone to get started using it. Apache might have a leg up in that regard--When you install Apache, typically it's just about ready to do what you want already. But the issue with Apache is that most people skip the extensive tuning phase required after that, and with nginx it becomes more just a part of the configuration process.
  • Sometimes, the configuration syntax, even though it's powerful and terse, isn't the most intuitive. Luckily there's plenty of documentation about what things mean and how to accomplish certain things. There may not be much that can be done about this--to have a powerful web server, you need a powerful-enough configuration language.
  • The nginx brand is somewhat fragmented, and it can be confusing. There's the open source nginx web server, which I've primarily been referring to. But then there's NGINX Plus, a premium subscription-based service which works with a range of other NGINX products (NGINX WAF, NGINX Amplify, NGINX Controller). I've met a number of people who weren't very familiar with nginx, and instinctively went to nginx.com first, and from there it seems like everything costs money. It's only when they realize there's a different site, nginx.org, that they find what they went looking for.
Read full review
Likelihood to Renew
We have a huge knowledge of the product within our company and we're satisfied with the performance.
Read full review
Great value for the product
Read full review
Usability
Tomcat has a very rich API set which allows us to implement our automation script to trigger the deployment, configure, stop and start Tomcat from the command line. In our projects, we embedded Tomcat in our Eclipse in all of the developer's machines so they could quickly verify their code with little effort, Azure Webapp has strong support for Tomcat so we could move our application to Azure cloud very easy. One drawback is Tomcat UI quite poorly features but we almost do not use it.
Read full review
Front end proxy and reverse proxy of Nginx is always useful. I always prefer to Nginx in overall usability when you have application server and database or multiple application servers and single database i.e. clustered application. Nginx provides really good features and flexibility which helps the system administrator in case of troubleshooting and also from the administration perspective. Also, Nginx doesn't delay any request because of internal performance issues.
Read full review
Reliability and Availability
Tomcat doesn't have a built-in watchdog that ensures restart upon failure, so you have to provide it externally. A very good solution is java service wrapper. The community edition is able to restart Tomcat upon out of memories exceptions.
Read full review
No answers on this topic
Performance
Tomcat support to customize memory used and allow us to define the Connection pool and thread pool to increase system performance and availability, Tomcat server itself consume very little memory and almost no footprint. We use Tomcat in our production environment which has up to thousands of concurrent users and it is stable and provides a quick response.
Read full review
No answers on this topic
Support Rating
Well, in actuality, I have never needed support for Apache Tomcat since it is configured and ready-to-go with no configuration needed on my end.
Read full review
Community support is great, and they've also had a presence at conferences. Overall, there is no shortage of documentation and community support. We're currently using it to serve up some WordPress sites, and configuring NGINX for this purpose is well documented.
Read full review
Alternatives Considered
Commercial application servers are available that support enterprise application needs, but many times this is overkill for most web applications running in the cloud, particularly for independent software vendors. The capabilities and management tools provided with these applications are superior to Tomcat, but most times unnecessary for the vast majority of web applications developed in Java.
Read full review
I have found that [NGINX] seems to perform better throughout the years with less issues although I've used Apache more. I would definitely recommend [NGINX] for any high volume site and I've seen this to usually be the case from most provided web hosts who will pick [NGINX] over alternatives
Read full review
Scalability
It's very easy to add instances to an existing deployment and, using apache with mod proxy balancer, to scale up the serving farm
Read full review
No answers on this topic
Return on Investment
  • It has simplified administration efforts, thus saving much time to focus on other projects and issues.
  • It saves us in costs, as there are no licensing requirements.
  • It gives us the ability to manage all of our java applets in one place, so as to be able to host both development and production systems on one server.
Read full review
  • When we first migrated our primary bidding environment architecture to Nginx, it was under duress due to Apache's inability to keep up when we consolidated away from an HAproxy model to a central HTTP proxy. So we even when we did not know what we were doing, we were able to make it work in a bad situation, and everyone was quite happy.
  • The biggest complaint I have is that I find the module compilation requirements for nginx+ rather burdensome. If we pay for Nginx+, I'd love to see then have pre-built modules for ready for each release of more modules. We are spending our own time engineering an in-house solution for module testing for nginx+ releases, which is disappointing.
  • I've also, as the primary Nginx person at my organization, inserted my expertise into other projects, and have saved our company lots of money getting rid of big $$$ appliances for general SSL proxying.
  • Speaking of Nginx replacing SSL appliances, we had an instance where we had to suddenly enable elliptic-curve SSL ciphers and our big $$$ appliances (you know who they are), were falling over. Even their SSL accelerator cards, after all, are just a few extra cores to process SSL. But in an environment of our size, we use DNS to spread the load to hundreds of frontend proxies with dozens of cores each to spread this load out, all at a lower price than ONE of the appliance pairs running Nginx. We couldn't even tell the change in load in our Nginx architecture when we enabled the ciphers.
Read full review
ScreenShots

NGINX Screenshots

Screenshot of Overview of the NGINX Application PlatformScreenshot of NGINX Controller - MonitoringScreenshot of NGINX Controller - Configuration