Software Alternatives & Reviews

OpenResty VS Haproxy

Compare OpenResty VS Haproxy and see what are their differences

OpenResty logo OpenResty

Turning Nginx into a Full-fledged Web App Server

Haproxy logo Haproxy

Reliable, High Performance TCP/HTTP Load Balancer
  • OpenResty Landing page
    Landing page //
    2023-03-16
  • Haproxy Landing page
    Landing page //
    2023-03-19

OpenResty videos

Why and how I built my CMS based on ArangoDB & openresty

More videos:

  • Review - OpenResty Edge 2 Admin Intro: Episode 3: Applications - Cache & Req Rewrite

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

Category Popularity

0-100% (relative to OpenResty and Haproxy)
Web And Application Servers
Web Servers
62 62%
38% 38
Application Server
100 100%
0% 0
Load Balancer / Reverse Proxy

User comments

Share your experience with using OpenResty and Haproxy. 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 OpenResty and Haproxy

OpenResty Reviews

We have no reviews of OpenResty yet.
Be the first one to post

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

Social recommendations and mentions

Based on our record, OpenResty seems to be a lot more popular than Haproxy. While we know about 21 links to OpenResty, we've tracked only 2 mentions of Haproxy. 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.

OpenResty mentions (21)

  • Scriptable Operating Systems with Lua [pdf]
    It's maybe deprecated by the official Nginx support, but there are other projects and organizations that are offering Lua scripting with Nginx with all kinds of extensions and libraries. See OpenResty website[0] and Github repo[1]. [0] - https://openresty.org/en/. - Source: Hacker News / 17 days ago
  • Ask HN: The C10M Problem
    Have you seen https://openresty.org/en/ before? To share a quote directly taken from their website: > By taking advantage of various well-designed Nginx modules (most of which are developed by the OpenResty team themselves), OpenResty® effectively turns the nginx server into a powerful web app server, in which the web developers can use the Lua programming language to script various existing nginx C modules and... - Source: Hacker News / 18 days ago
  • Show HN: Lockbox: forward proxy for making third party API calls
    Nginx is quite extendable, there are tons of nginx plugins to help you add more customizations. There is OpenResty, a version of nginx [0]. It allows you to script all sorts of stuff with Lua inside nginx itself. Tools like lockbox are not necessary, nginx, caddy, etc or heck even a normal 70 line python3 fastapi based script works just fine and should be more extendable than lockbox. [0](https://openresty.org/en/). - Source: Hacker News / 3 months ago
  • Five Apache projects you probably didn't know about
    APISIX is an API Gateway. It builds upon OpenResty, a Lua layer built on top of the famous nginx reverse-proxy. APISIX adds abstractions to the mix, e.g., Route, Service, Upstream, and offers a plugin-based architecture. - Source: dev.to / 5 months ago
  • Apache APISIX plugin priority, a leaky abstraction?
    Apache APISIX is an API Gateway, which builds upon the OpenResty reverse-proxy to offer a plugin-based architecture. The main benefit of such an architecture is that it brings structure to the configuration of routes. It's a help at scale, when managing hundreds or thousands of routes. - Source: dev.to / 5 months ago
View more

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

What are some alternatives?

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

Apache Tomcat - An open source software implementation of the Java Servlet and JavaServer Pages technologies

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

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

Traefik - Load Balancer / Reverse Proxy

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

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