67 articles
Knowledge Base
Load Balancing
67 articles in the Load Balancing category · page 2 of 3.
- Traefik with Let's Encrypt — HTTP-01, TLS-ALPN, and DNS-01 in production Configure Traefik certificate resolvers for Let's Encrypt — pick the right challenge, persist acme.json safely, and rotate when the API token expires.
- Caddy as a reverse proxy in production Setting up Caddy as a reverse proxy for upstream applications — health checks, headers, transport, retries, and the production knobs an MSP tunes before launch.
- Active-active vs active-passive load balancers — choosing the HA pattern that fits Decision guide for LB high availability — when active-active doubles capacity and when it doubles your problems, and when active-passive is the boring right answer.
- HAProxy GeoIP routing Route by client country in HAProxy — MaxMind GeoLite2 via map files, the GeoIP module, refresh strategy, and the production cautions around accuracy and privacy.
- Traefik providers — choosing between file, Docker, Kubernetes, and KV stores Decide which Traefik provider fits your environment — file, Docker, Kubernetes CRD, Consul, etcd — and how to mix static and dynamic sources without drift.
- HAProxy SSL termination Terminating TLS at HAProxy — PEM bundles, ssl-default-bind options, ALPN for HTTP/2, OCSP stapling, and the production checks before you flip the switch.
- Traefik multi-tenant patterns — namespace isolation, route ownership, and shared platform middleware Run one Traefik to front many tenants — namespace isolation, route ownership boundaries, and a platform-middleware library every team consumes.
- HAProxy runtime API Talk to HAProxy live via the admin socket — disable servers, swap certificates, query stats, and the safety pattern we wrap around it for shared operator access.
- Caddy Brotli compression — when and how to enable it Adding Brotli compression to Caddy via the caddy-brotli plugin — when it helps, when it does not, and the operational notes an MSP records about CPU cost and pre-compression.
- Building custom Caddy binaries with xcaddy How to compile a Caddy binary with the exact plugin set a deployment needs — xcaddy mechanics, reproducible builds in CI, version pinning, and the operational practice an MSP applies to custom binaries.
- HAProxy frontend and backend basics The four-section layout of haproxy.cfg explained — global, defaults, frontend, backend — with a real config you can drop on a box and reload safely.
- Caddy vs Nginx — the decision an MSP actually makes The trade-offs between Caddy and Nginx for production edges — configuration model, automatic HTTPS, module ecosystem, observability, and the workloads each suits.
- Traefik + oauth2-proxy — SSO for any app via forwardAuth Front any app with SSO using Traefik and oauth2-proxy — full forwardAuth flow, cookie handling, session token forwarding to backends.
- Caddy ACME DNS-01 challenge for wildcard certificates How to set up DNS-01 challenges in Caddy for wildcard and internal-only certificates — DNS provider plugins, API token scope, propagation timeouts, and the operational notes from production.
- HAProxy hot reload How HAProxy hot-reload actually works — master-worker, the in-flight socket handover, what survives and what does not, and the systemd unit semantics you must understand.
- Traefik sticky sessions — cookie-based affinity, secure attributes, and the limits Enable sticky sessions in Traefik — cookie name, secure attributes, when stickiness is correct, and the failure modes when a backend disappears.
- HAProxy health checks TCP, HTTP, and external health checks in HAProxy — inter, fall, rise, expect rules, and the production patterns that catch sick backends without flapping.
- Caddy as a static file server, the production setup Serving static sites and assets with Caddy — file_server directive, indexes, MIME, cache headers, hidden files, and the operational details an MSP locks down before launch.
- Traefik routers, services, and middlewares — the request flow explained Mental model for how a request flows through Traefik — entrypoint to router to middleware chain to service — and how the pieces compose without surprise.
- Caddy error handling and custom error pages Configuring custom error pages, error matchers, and the handle_errors directive — how Caddy maps upstream failures to user-friendly responses without leaking detail.
- HAProxy stats page Configure the HAProxy stats page safely — bind, auth, scope, CSV export, and the operational view we expose to engineers without exposing it to the internet.
- Caddy load balancing policies in depth Picking the right Caddy load balancing policy — round_robin, least_conn, ip_hash, header, cookie, random — and the active and passive health checks an MSP wires in production.
- HAProxy vs Nginx vs Traefik Choosing between HAProxy, Nginx, and Traefik — what each is genuinely best at, where they overlap, and the decision criteria we apply for client deployments.
- Caddy modules and plugins, how the ecosystem works A practical map of the Caddy plugin landscape — DNS providers, storage backends, auth modules, handlers — and how an MSP picks which to install for a given workload.