akka / akka/akka-http

Try several IP addresses for one host if one fails

Open
#236 4 comments 0 reactions 0 assignees View on GitHub
1 - triaged help wanted nice-to-have (low-prio) t:client
Dominant language
Scala
Stars
1.4k
Forks
584
Avg merge
14h 33m
Merged PRs (30d)
24

Description

**Issue by [jrudolph](https://github.com/jrudolph)**
_Tuesday Feb 10, 2015 at 15:19 GMT_
_Originally opened as https://github.com/akka/akka/issues/16827_

---

From spray/spray#746:

> The easiest strategy would be to try all the available addresses in a round-robin fashion on failed connection attempts and probably make the strategy configurable.

See https://groups.google.com/d/msg/spray-user/d6XNRVfjGpo/Y3UURzz4mewJ

/cc @sirthias

Contributor guide

Open the contributing guide

Research direction

Start by tracing the HTTP client's connection-failure handling and how it selects a host's available IP addresses. Use the linked spray/spray#746 discussion for the intended round-robin and configurability requirements; done means failed connections try alternate addresses according to a configurable strategy.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
backend, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.