Score:0

Load-balancing per network port?

br flag

Theoretically there are:

  • client
  • LB
  • SERVER A
  • SERVER B

Question: Is there a load-balancer solution (either by software or payed in the cloud) that can redirect the "clients" to "SERVER A" or "SERVER B" based on what network port did they connect to to the LB?

If software, probably there is a solution to have firewall rules on the LB, but I am mainly searching for a payed solution, ex.: AWS, GCP or Azure can do this kind of LBing to a SERVER which is not in their DCs?

Score:0
st flag

What you mean calls reverse proxy. Both AWS and Google Cloud offer similar features in their Load Balancer services.

Anyway, bear in mind that technically speaking, Load Balancer and path-based or port-base routing are different things, although it's been implemented as a Load Balancer feature.

Load Balancer aims to monitor targets and redirect requests only to healthy ones.

Path-based or port-based routing aims to redirect different kinds of requests to different groups of targets.

jim7475 avatar
br flag
many thanks for the answer! But I think I will buy the cheapest VM somewhere that has a good SLA and create a firewall rule :D and update the firewall rule with a script if health probes say
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.