Philipp Jardas
Philipp Jardas

Reputation: 3302

Client-side load-balancing with Apache HTTP Client

We are building a scalable point-to-point microservice architecture with client-side load-balancing and fail-over. The base idea is to manage service discovery with DNS SRV records, just as HashiCorps' Consul does.

As HTTP client we use Apache http-components.

The algorithm I envision looks something like this:

Constraints:

Is there a pretty way to configure Apache's http-components this way that I haven't found yet? Is there any better library for this kind of requirements?

Thanks a lot for input and ideas.

Upvotes: 1

Views: 4168

Answers (1)

Philipp Jardas
Philipp Jardas

Reputation: 3302

I found Ribbon by Netflix which does exactly what I need.

Upvotes: 2

Related Questions