Score:0

nginx load balancing without proxying trafic

in flag

I want to use nginx to load balance http traffic, but without proxying the traffic.

Like this user > lb > server > user

And not a standard proxy like

user > lb > server > lb > user

Is this possible or maybe I should look at another application?

jp flag
What you mean by the `server > user` part? Typically it is `user > lb > multiple servers sharing the load`.
Freedo avatar
in flag
I meant that the backend server will send traffic directly to the user, and not going back to the lb. That onces the load balancer redirect the user, the user will talk directly to the server
jp flag
Could a simple *Round Robin DNS* be the solution you are looking for?
Freedo avatar
in flag
I'm already using round robin dns with cloudflare but the traffic is not really balanced at all, like right now i have servers with 0 load and one with 4
djdomi avatar
za flag
round Robin does not work well as I have my knowledge about. a load balance is the most effective way to solve this.
Freedo avatar
in flag
Yes i want to load balance but not proxy the traffic after the redirect
I sit in a Tesla and translated this thread with Ai:

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.