kimitoboku / ha_lb_test

OSS Load Balancer Active-Standby configration test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Load Balancer OSS Active Standby Configration test

I want to use Active Standby configration mulit backends servers.

HAProxy + wieght

HAProxy can handle weight for backend selections. But, when use weight 0, if other backends down, HAProxy don’t send any backends. Ipn normaly, HAProxy can not handle Act-Stb archtecture.

backend apps
  server web1 web1:5000 check weight 100
  server web2 web2:5000 check weight 1

HAproxy + backup

backup option is mainly used for Active Standby configration.

backend apps
  server web1 web1:5000 check
  server web2 web2:5000 check backup

And, if you want multi backup server, you need to enable allbackups options.

backend apps
  option allbackups
  server web1 web1:5000 check
  server web2 web1:5000 check
  server web3 web2:5000 check backup
  server web4 web2:5000 check backup

Envoy

About

OSS Load Balancer Active-Standby configration test

License:MIT License


Languages

Language:Dockerfile 52.7%Language:Python 47.3%