'Round robin with failover with Apache http client

Looking the Apache HTTP components HttpClientBuilder and seeing that it has

  • retry handler
  • route planner
  • backoff strategy

I am wondering whether these are intended and feasible to be combined into a round-robin client-side load balancer with failover. The tutorial for the route planner looks like pointing to arbitrary failover addresses is maybe not the intended usage.

Can someone shed some light on this? Would the load balancer be a supported use case or would I be bending the API too much and breaking it if I tried?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source