Git Product home page Git Product logo

Comments (3)

ojarjur avatar ojarjur commented on May 3, 2024 1

Hi @SachinHg, thanks for reaching out.

The agent expects a single target address for it to forward requests to. However, that does not mean you have to have a single agent per backend server. Instead, the target can be a reverse proxy that knows how to forward requests to various backends running behind it.

Essentially, the agent only tries to do one thing: provide a controlled pathway into an otherwise isolated part of your network. Any functionality beyond that should be provided by a separate proxy that is tailored to your particular needs. By composing those two proxies together, you can achieve very sophisticated network architectures without any of the individual pieces being overly complex.

My general guideline for setting this up is to run one agent per-network-isolation-boundary.

For example, if you have multiple servers running in different networks (or, that in general should not be able to communicate with each other), then each backend should get its own agent.

In contrast, if you are running multiple servers on a single VM or running them in multiple VMs that can communicate with each other, then you should probably just run a single agent with a second layer of reverse proxy.

from inverting-proxy.

ojarjur avatar ojarjur commented on May 3, 2024

Closing this out on the assumption that my answer above was sufficient.

@SachinHg if you have any follow up questions or something in my answer did not clarify things enough, then please feel free to reopen this issue.

from inverting-proxy.

SachinHg avatar SachinHg commented on May 3, 2024

Thanks for the detailed explanation @ojarjur . This was really helpful. I will reach out to you in case I have more questions regarding this.

from inverting-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.