Fluxheim/Doiciméid/Cothromóir ualaigh

Cothromóir ualaigh

Run several upstreams behind one public endpoint. Start simple, then add health checks and runtime controls.

Dhá upstream

[[vhosts.routes]]
name = "app"
path_prefix = "/"
action = "proxy"

[vhosts.routes.proxy]
upstreams = [
  "10.0.0.11:8080",
  "10.0.0.12:8080",
]
upstream_weights = [100, 50]
upstream_aliases = ["app-a", "app-b"]

Rialuithe cothromaithe

RialúÚsáid é nuair
upstream_weightsBa cheart go bhfaigheadh cúlchláir scaireanna tráchta éagsúla.
backup_upstreamsSome backends should be used amháin when primary choices fail.
drain_upstreamsBa chóir go gcríochnódh inneall an obair atá ann faoi láthair ach ní bhfaighidh sé aon trácht nua.
disabled_upstreamsNí mór inneall a choinneáil amach as an rothlú.
upstream_max_in_flightA backend needs a áitiúil concurrency cap.

Comhad upstream dinimiciúil

[vhosts.routes.proxy]
upstreams_file = "/run/fluxheim/backends/app.txt"
upstreams_file_refresh_secs = 5

Use static upstreams when you need weights, aliases, backup, drain, nó disabled state. File agus DNS refreshed pools intentionally keep the contract smaller.

Cad a thugann sé duit

  • Focused load-balancer release images are available.
  • Health seiceálacha can keep broken backends out of rotation.
  • Drain agus force-down operations help le maintenance windows.
  • Bainistithe-cookie affinity is available when sessions need a cobhsaí backend.
Gaeilge