One of my small projects runs Apache httpd as a load balancer in front of two web…
- User
One of my small projects runs Apache httpd as a load balancer in front of two web servers which produce XML. I got a new requirement that the load balancer should look for an element in the response XML and, when present, consider the web server that produced it as overloaded and throttle requests to it. Available options are augmenting httpd's configuration or replacing it with a new (open source) Linux software LB. Traffic is <100 reqs/sec and less than 2MB/sec, latency is not an issue. Having a software engineering background my instinct is to program an LB of my own and be done, but supporting that would require upskilling my team (who are not software engineers). With respect to existing LBs/API gateways, what are my options?
Assistant
For your use case, there are several options available to you for load balancing your Apache httpd servers:
-
Apache Traffic Server (ATS): This is a high-performance HTTP proxy and load balancer that can be used to distribute traffic between your web servers. It can be configured to monitor the health of your servers and route requests based on various criteria such as server load, response time, and more.
-
NGINX: This is a popular open-source load balancer that can be used to balance traffic between your web servers. It has a wide range of features, including support for HTTP/2, SSL termination, and health checks.
-
HAProxy: This is another popular open-source load balancer that is widely used in the Linux community. It is known for its high performance and reliability, and can be used to balance traffic between your web servers based on various criteria such as server load, response time, and more.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.