infrared icon indicating copy to clipboard operation
infrared copied to clipboard

Suggestion: load balancer

Open cube-builder opened this issue 3 years ago • 5 comments

Sorry if I keep making issues but I am wondering if you will ever had a load balancing to this proxy just like NGINX does

cube-builder avatar Jan 24 '21 23:01 cube-builder

Yes, ... well maybe. Depends on what you mean. We could add a Kubernetes configuration if you need something like that. If you want to balance your players across multiple Minecraft server however then you have to wait for at least Infrared's upcoming release later this year.

haveachin avatar Jan 25 '21 01:01 haveachin

I don't believe that this would be something that should be implemented at this level of the proxy. Load balancing can be handled with another service or application such as NGINX first before Infrared.

DoubleCheck0001 avatar Jan 26 '21 01:01 DoubleCheck0001

Just need load balancing for my server mostly but thanks I'll give it a try

cube-builder avatar Jan 26 '21 03:01 cube-builder

Both NGINX and HAProxy have TCP load balancing. Infrared can easily be modified to accept the incoming PROXY protocol from HAProxy so you have IP passthrough all the way to your backend if that's important.

DoubleCheck0001 avatar Jan 26 '21 03:01 DoubleCheck0001

alright thanks

cube-builder avatar Jan 26 '21 13:01 cube-builder