r/linuxadmin • • Aug 25 '26

Aralez: Reverse proxy/ Load balancer

Post image

Hello Folks.

I have create a new Reverse Proxy/ Load Balancer for Linux on Cloudflare's proxy lib : Pingora. The project is till on 0.x.x version, but I'm working on standardizing everything.

It have fantastic proxy performance, even beats nginx in performance/stability tests with many thousands of concurrent connections.

It would be great to have a human review and suggestions .

This is the link for ingress documentation : https://aralez.rs/docs/quickstart/

An the link to main project in GitHUB: https://github.com/sadoyan/aralez

Thanks

0 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/sadoyan Aug 26 '26 edited Aug 26 '26

hi u/CynepMyx . Thanks for you time and detailed response. Here are my comments :

Passive health checks. Health checks works exactly as you have described. Connection refused and 5xx responses returned by upstreams, make it dead and no traffic will be forwarded to it. If on next check it will give normal response (from 100 to 499 codes) it will be back on pool.

Graceful binary upgrade. This is supported by PIngora and of course supported by Aralez. Will document the procedure and update. The procedure is almost exactly the same as in Pingora's official documentation here : https://github.com/cloudflare/pingora/blob/main/docs/user_guide/graceful.md Of course I will make some helper scripts to make the procedure more easy.

ACME looks like HTTP-01 only. Yes at this moment only HTTP-01 is supported. Need to do to DNS as well . It's on my road-map. But as there are quite many DNS providers, each of which have it's own API, I'll need time to deal with different APIs.

Metrics. Prometheus. Rewrote documentation to make it looks more informative and nicer . https://aralez.rs/docs/metrics/

On the benchmark. I put all raw results and config files in documentation. https://aralez.rs/docs/perf/

Regarding different log formats, we are working on it . The biggest challenge here is to make robust and structured logging without affecting performance. This is a serious challenge ad logs should be generated on each request, so in 10-20-30k requests per second, this will become a huge performance bottleneck .

1

u/CynepMyx Aug 26 '26

Good, that clears up most of it. The passive behaviour was the one I got wrong: ejecting on refused connections and 5xx is exactly what I meant, it just was not visible in the docs, which is now fixed. The benchmark repo with raw results and configs is the part that changes the conversation, that is what makes the numbers arguable in a good way.

On logging: agreed it is the hard one. Worth looking at how nginx handles it, buffered writes plus a flush interval, so the request path only touches memory. Structured output does not have to be per-request synchronous.

Nice work, and thanks for taking review seriously.