Skip to content

feat: balanceia origins com health e circuit breaker - #10

Merged
DenisCDev merged 1 commit into
mainfrom
feat/origin-load-balancing
Sep 11, 2026
Merged

DenisCDev merged 1 commit into
mainfrom
feat/origin-load-balancing

Conversation

@DenisCDev

Copy link
Copy Markdown
Owner

Vários origins por site, health ativo/passivo e circuit breaker. Retry só em GET/HEAD/OPTIONS. Overload vira 503; WAF/DLP não desligam.

Um backend string continua o comportamento de um origin só. OTel, Helm e OIDC ficam de fora.

Um site com backend string continua um HttpPeer só. Array de URLs
passa a usar pingora-load-balancing: health GET (default /health/ready),
5xx/timeout tira do pool, circuit aberto não envia. GET/HEAD/OPTIONS
retentam se o origin resetar antes de responder; POST não. mTLS do
origin é opt-in no TOML. Os dois origins down devolvem 503 depois do WAF.

cargo clippy --all-targets -- -D warnings limpo; cargo test --lib 330 ok;
cargo test --tests 392 ok
@DenisCDev
DenisCDev merged commit 28454f2 into main Sep 11, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant