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
Here are some options for load balancing traffic to your XML-producing web servers:
-
Apache LoadBalancer Module: You can use the Apache LoadBalancer module to configure load balancing for your web servers. This module provides a number of load balancing algorithms, including round-robin, least-connections, and weighted-round-robin. You can also configure health checks to monitor the status of your web servers and remove any that are offline or unresponsive.
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.