Software Alternatives & Reviews

Haproxy VS Apache Tomcat

Compare Haproxy VS Apache Tomcat and see what are their differences

Haproxy logo Haproxy

Reliable, High Performance TCP/HTTP Load Balancer

Apache Tomcat logo Apache Tomcat

An open source software implementation of the Java Servlet and JavaServer Pages technologies
  • Haproxy Landing page
    Landing page //
    2023-03-19
  • Apache Tomcat Landing page
    Landing page //
    2023-01-24

Haproxy videos

HAProxy Crash Course (TLS 1.3, HTTPS, HTTP/2 and more)

More videos:

  • Review - HAPROXY vs NGINX - 10,000 requests while killing servers
  • Tutorial - How To Setup ACME, Let's Encrypt, and HAProxy HTTPS offloading on pfsense

Apache Tomcat videos

Introducing Apache Tomcat 8.5

More videos:

  • Review - Webinar: Introduction to Apache Tomcat 8
  • Review - Tcat - The Leading Enterprise Apache Tomcat Application Server

Category Popularity

0-100% (relative to Haproxy and Apache Tomcat)
Web Servers
23 23%
77% 77
Web And Application Servers
Application Server
0 0%
100% 100
Load Balancer / Reverse Proxy

User comments

Share your experience with using Haproxy and Apache Tomcat. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Haproxy and Apache Tomcat

Haproxy Reviews

10 Awesome Open Source Load Balancers
HAProxy is an L4 and L7 load balancer supporting TCP and UDP traffic. It’s a well-established, open source solution used by companies such as Airbnb and GitHub. HAProxy is also a very capable L7 load balancer, supporting HTTP/2 and gRPC backends. Thanks to its long history, large community, and reliable nature, HAProxy has become the de facto open source load balancer—it...
10 Open Source Load Balancer for HA and Improved Performance
One of the popular ones out there in the market is to provide high availability, proxy, TCP/HTTP load-balancing. HAProxy is used by some of the reputed brands in the world, like below.
Source: geekflare.com
Top 5 Open-Source Load Balancers 2021
HAProxy provides many distinct features such as it processes an enormous number of tasks in a millisecond, offers minimal cost for context switch and memory usage, ability to instantly detect a threat or event on tens of thousands of connections, efficient use of the CPU cycles, and memory bandwidth, optimized timer queue, optimized HTTP header analysis, GZip Compression,...
Source: linuxways.net
The 5 Best Open Source Load Balancers
HAProxy is another common name in the web ecosystem. HAProxy offers reverse proxying and load balancing of TCP and HTTP traffic. When you choose HAProxy, you’re choosing a high-performance, well-established solution.
Source: logz.io

Apache Tomcat Reviews

FOSS | Top 15 Web Servers 2021
Java programs are run using Apache Tomcat. To be more precise, it is a Java servlet – a Java software component that expands the functionality of a web server. Apache Tomcat, released under the Apache License version 2, is used by 0.1% of websites worldwide.
Source: www.zentao.pm
4 Open Source Application Servers (Comparison and Review)
Apache Tomcat is an open-source implementation of several Java technologies. It is the result of a collaboration of the finest developers worldwide. You can get involved with the development in a number of ways.
Source: shadow-soft.com
Top 5 open source web servers
Apache Tomcat is an open source Java servlet container that functions as a web server. A Java servlet is a Java program that extends the capabilities of a server. Although servlets can respond to any types of requests, they most commonly implement applications hosted on Web servers. Such web servlets are the Java counterpart to other dynamic web content technologies such as...
Source: opensource.com
Top 10 Open Source Java and JavaEE Application Servers
It is built upon a modular kernel powered by OSGi, and runs straight on top of the Apache Felix implementation. It is also capable of running with Equinox OSGi or Knopflerfish OSGi runtimes. HK2 abstracts the OSGi module system to provide components, which can also be viewed as services and injected into the run time and uses a derivative of Apache Tomcat as the servlet...

Social recommendations and mentions

Based on our record, Apache Tomcat should be more popular than Haproxy. It has been mentiond 14 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Haproxy mentions (2)

  • HA Proxy For MySQL Master – Slave
    Root@haproxy01:~# haproxy -v HA-Proxy version 2.0.13-2ubuntu0.3 2021/08/27 - https://haproxy.org/ How to Install it? You simply use yum or apt commands to install it Sudo apt install -y haproxy. - Source: dev.to / almost 2 years ago
  • cannot get haproxy / mjpeg streamer to play nice together
    HA-Proxy version 2.2.9-2+deb11u3 2022/03/10 - https://haproxy.org/ maxconn 4096 user haproxy group haproxy daemon log 127.0.0.1 local0 debug Defaults log global mode http option httplog option dontlognull retries 3 option redispatch option http-server-close option forwardfor maxconn 2000 ... Source: almost 2 years ago

Apache Tomcat mentions (14)

  • Spring Boot Monitoring with Open-Source Tools
    Manual instrumentation allows you to define your Spans within the code itself rather than relying on automatic instrumentation finding the entry point for a trace. Manual instrumentation is especially helpful for applications that don’t use an application server such as Tomcat, JBoss, or Jetty. - Source: dev.to / 5 months ago
  • Issue with chatgpy
    99% is a huge exaggeration. Two essential deployment tools off the top of my head: Https://tomcat.apache.org/ Https://docs.jboss.org/author/display/AS71/Developer%20Guide.html. Source: about 1 year ago
  • 7 years with Vaadin in production. Do we still enjoy it?
    Do we still enjoy it? We are running many Vaadin apps in production since that first one. If there are not any specific requirements we use a “modular monolith” concept, which fits our stack best. We pack applications as WAR and deploy them under Apache Tomcat. And yes, we enjoy the development process. It’s very straightforward and Vaadin and SpringBoot fit together well. - Source: dev.to / about 1 year ago
  • TIBCO Jaspersoft Studio tutorial: Creating templates and integration with JasperReports Server
    JasperReports Server Community requires a Java application server and a database to create a repository in order to work properly. After downloading JRS, the installation process can install Tomcat server and PostgreSQL database automatically for us and the services will run depending on the Jasper server. It's also possible to connect JRS to services already installed on the server. Moreover, while the free... - Source: dev.to / over 1 year ago
  • I wish to learn web development with java and while configuring apache tomcat 10.0.26 into Eclipse, I encountered this problem. Can anyone help me? Thank you.
    Don't use an installed copy of Tomcat. The layout can be different than expected and permission problems can appear at the worst time. For one, it needs to be able to write to that conf directory. Download a non-platform-specific "core" zip file from tomcat.apache.org instead. Source: over 1 year ago
View more

What are some alternatives?

When comparing Haproxy and Apache Tomcat, you can also consider the following products

nginx - A high performance free open source web server powering busiest sites on the Internet.

Microsoft IIS - Internet Information Services is a web server for Microsoft Windows

Traefik - Load Balancer / Reverse Proxy

Apache HTTP Server - Apache httpd has been the most popular web server on the Internet since April 1996

AWS Elastic Load Balancing - Amazon ELB automatically distributes incoming application traffic across multiple Amazon EC2 instances in the cloud.

LiteSpeed Web Server - LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.