Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple different backends to receive the same request at the same time #3503

Closed
yangm97 opened this issue Jun 15, 2018 · 2 comments
Closed

Comments

@yangm97
Copy link

yangm97 commented Jun 15, 2018

Do you want to request a feature or report a bug?

Feature

What did you expect to see?

Kind like pub/sub but for HTTP. While we could use nginx with this config:

upstream  multiple_upstream  {
    server   host1
    server   host2
    server   host3
}
server {
    location / {
        proxy_pass http://multiple_upstream;
}

There are several drawbacks, like the fact nginx does the dns resolving once and only on the startup, so if one of the upstream servers is down nginx will refuse to start. Even worse, if you update the docker container of one of the upstreams and they do change the ip, nginx won’t be able to redirect requests to this new container, nor can it handle multiple containers/machines like treaefik does.

@ldez
Copy link
Contributor

ldez commented Jun 15, 2018

Maybe related to #3040

@mmatur
Copy link
Member

mmatur commented Jun 18, 2018

Duplicate of #2989

@mmatur mmatur marked this as a duplicate of #2989 Jun 18, 2018
@mmatur mmatur closed this as completed Jun 18, 2018
@traefik traefik locked and limited conversation to collaborators Sep 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants