Apache Tomcat vs. HAProxy Community Edition

Overview
ProductRatingMost Used ByProduct SummaryStarting Price
Apache Tomcat
Score 8.2 out of 10
N/A
Tomcat is an open-source web server supported by Apache.N/A
HAProxy Community Edition
Score 9.4 out of 10
N/A
HAProxy Community Edition is a free, open source reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is presented as suited for very high traffic web sites.
$0
Pricing
Apache TomcatHAProxy Community Edition
Editions & Modules
No answers on this topic
No answers on this topic
Offerings
Pricing Offerings
Apache TomcatHAProxy Community Edition
Free Trial
NoNo
Free/Freemium Version
NoYes
Premium Consulting/Integration Services
NoNo
Entry-level Setup FeeNo setup feeNo setup fee
Additional Details
More Pricing Information
Community Pulse
Apache TomcatHAProxy Community Edition
Considered Both Products
Apache Tomcat
Chose Apache Tomcat
Tomcat's configuration is simpler because it's a plaintext file that anyone can read -- and a script can manage. It's easier to monitor via Grafana. And it integrates well with software load-balancers.
HAProxy Community Edition

No answer on this topic

Top Pros
Top Cons
Features
Apache TomcatHAProxy Community Edition
Application Servers
Comparison of Application Servers features of Product A and Product B
Apache Tomcat
9.2
24 Ratings
14% above category average
HAProxy Community Edition
-
Ratings
IDE support9.922 Ratings00 Ratings
Security management9.024 Ratings00 Ratings
Administration and management8.424 Ratings00 Ratings
Application server performance8.224 Ratings00 Ratings
Installation10.024 Ratings00 Ratings
Open-source standards compliance9.924 Ratings00 Ratings
Best Alternatives
Apache TomcatHAProxy Community Edition
Small Businesses
NGINX
NGINX
Score 9.2 out of 10
NGINX
NGINX
Score 9.2 out of 10
Medium-sized Companies
NGINX
NGINX
Score 9.2 out of 10
NGINX
NGINX
Score 9.2 out of 10
Enterprises
NGINX
NGINX
Score 9.2 out of 10
NGINX
NGINX
Score 9.2 out of 10
All AlternativesView all alternativesView all alternatives
User Ratings
Apache TomcatHAProxy Community Edition
Likelihood to Recommend
9.0
(24 ratings)
9.0
(7 ratings)
Likelihood to Renew
10.0
(1 ratings)
-
(0 ratings)
Usability
8.0
(3 ratings)
9.1
(2 ratings)
Availability
6.0
(1 ratings)
-
(0 ratings)
Performance
9.0
(2 ratings)
-
(0 ratings)
Support Rating
9.1
(3 ratings)
9.7
(2 ratings)
Configurability
8.0
(1 ratings)
-
(0 ratings)
Ease of integration
9.0
(1 ratings)
-
(0 ratings)
Product Scalability
9.0
(1 ratings)
-
(0 ratings)
User Testimonials
Apache TomcatHAProxy Community Edition
Likelihood to Recommend
Apache
Excellent value for companies wishing to host Java applications in the cloud. Utilizing hosting tools such as load balancers and network and application firewalls, Tomcat can be part of a powerful system to host web applications to thousands of users. There has been consistency in the development and support of Tomcat since its initial release in the late '90s and the best commonalities have been carried forward. If you host Java web applications, Tomcat is as good as any for an application server.
Read full review
Open Source
It prevents a single server failure from being a downtime event by adding redundancy to every layer of your architecture. A load balancer facilitates redundancy for the backend layer (web/app servers), but for a true high availability setup, you need to have redundant load balancers as well. So it is well suited for all production related servers and less suited for individual servers that do not require redundancy.
Read full review
Pros
Apache
  • 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
Open Source
  • Low-Cost Load Balancer
  • Intelligent Request Routing based on URL and/or URI
  • Extremely flexible load balancing and healthchecks, can do almost anything including HTTP, HTTPS, PostgreSQL, etc.
  • SSL Termination
Read full review
Cons
Apache
  • Using tomcat manager to troubleshoot is not very informative. Error messages are vague, you have to dig into log files for more information about the problems.
  • Is great for simple web applications, but may not work for heavy development which may require a full J2EE stack, might like JBoss better.
  • Security in tomcat is not straightforward, as I discovered that you have to understand how to set up realms in tomcat in order to hash passwords, which I was not overly familiar with, which is a big deal when setting up users in the tomcat-users.xml file.
Read full review
Open Source
  • A few, rare times each year, HAProxy CPU utilization spikes to 100% and server has to be rebooted - this may be related to HAProxy OR it could be an external factor causing this.
Read full review
Likelihood to Renew
Apache
We have a huge knowledge of the product within our company and we're satisfied with the performance.
Read full review
Open Source
No answers on this topic
Usability
Apache
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
Open Source
It is very easy to use. I was able to find a lot of documents for it on the internet. Very good community support. There are lots of examples available to try. We mostly use a command-line user interface to interact with it. The CLI is also super easy to use and very easy to interact with
Read full review
Reliability and Availability
Apache
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
Open Source
No answers on this topic
Performance
Apache
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
Open Source
No answers on this topic
Support Rating
Apache
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
Open Source
We haven't used customer support. We mostly used the community version. We build a multi-node HAProxy cluster with HA to the proxy itself using opensource plugins available. With the support available on the internet and the documents available we don't need to use much customer support.
Read full review
Alternatives Considered
Apache
Eclipse Jetty is the best alternative for Apache Tomcat because which is also an open-source and lightweight servlet container like Tomcat. A major advantage of this over Tomcat is that Jetty server can easily be embedded with the source code of web applications. Since it requires less memory to operate, you may realize that it is very efficient.
Read full review
Open Source
We chose HA Proxy because it is cheaper than a hardware balancer, it is an open-source solution with a large community behind it and with constant updates. It also allows custom scripts according to needs.HA Proxy is a solution used in many internet sites like GitHub, Reddit, Twitter, and Tuenti.
Read full review
Scalability
Apache
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
Open Source
No answers on this topic
Return on Investment
Apache
  • Tomcat is cheap and very quick to deploy, so it has benefited much when situation needs applications to be deployed quickly without wasting time on licensing and installations.
  • Plenty of documentation available so no vendor training is required. Support contract is not needed as well.
Read full review
Open Source
  • Significantly lower investment vs competitors. In the case of F5s we have Virtual Editions so we're paying for the hardware to run it on top of the several thousand dollar licenses that are required for each pair and we currently have a pair of F5s per client so there's a huge potential for cost savings there.
  • Requires our network engineers to learn a new skill or our Systems engineers to take on the responsibility of managing the load balancers. It's not a huge difference either way, but it does impact the way we have done business in the past.
Read full review
ScreenShots