67 articles
Knowledge Base
Load Balancing
67 articles in the Load Balancing category · page 3 of 3.
- Caddy automatic HTTPS, end to end How Caddy provisions, renews, and rotates TLS certificates automatically — the mechanism, the state on disk, and the operational levers an MSP wants on hand.
- HAProxy sticky sessions When and how to pin a client to a backend in HAProxy — cookie insertion, appsession-style stick rules, source IP affinity, and the failure modes we plan around.
- Blue-green and canary with Traefik — weighted services, header-based routing, and rollback Run blue-green and canary deployments through Traefik — weighted services for traffic split, header-based routing for opt-in testers, and the rollback flow.
- HAProxy performance tuning Tune HAProxy for the load it will actually carry — nbthread, cpu-map, maxconn, kernel sysctls, and the measurement discipline behind every knob.
- Caddy snippets and imports for reusable configuration Using snippets, imports, and named matchers to factor out repetition in a Caddyfile — patterns an MSP keeps in the kitbag for clean, maintainable configs.
- Caddy admin API for runtime configuration Driving Caddy via its admin API for dynamic configuration — endpoints, granular PATCH/PUT, security, and the operational pattern an MSP applies for orchestrator-driven deployments.
- HAProxy custom log format Move past httplog to a structured HAProxy log — log-format fields, JSON output, the variables we capture, and how to wire it to Loki, Elastic, or CloudWatch.
- HAProxy rate limiting and tarpit Stick-table-based rate limits in HAProxy — per-IP and per-key rules, the tarpit action to slow abusers, and the production policy we deploy in front of public APIs.
- Traefik IP allow-list — ipAllowList middleware, X-Forwarded-For depth, and the spoofing trap Restrict a Traefik route to specific IP ranges — ipAllowList middleware semantics, ipStrategy depth, and trusting forwarded headers correctly.
- Caddy observability — metrics, logs, and traces Wiring Caddy into a production observability pipeline — Prometheus metrics, structured access logs, OpenTelemetry traces, and the alert thresholds an MSP actually pages on.
- Traefik observability — Prometheus metrics, access logs, and OpenTelemetry tracing Wire Traefik for production observability — Prometheus on a private entrypoint, JSON access logs to Loki, OTel traces to a collector, with the dashboards that matter.
- Installing Traefik v3 with Docker Compose Stand up Traefik v3 on a single Docker host with the Docker provider, ACME storage, and a dashboard that is not exposed to the public internet.
- Caddy on-demand TLS for multi-tenant hostnames How to use Caddy on-demand TLS to issue certificates lazily for thousands of customer domains — the ask-endpoint pattern, rate-limit safety, and the storage backed by an MSP.
- Securing the Traefik dashboard — basic-auth, IP allow-list, and forwardAuth Put the Traefik v3 dashboard behind real authentication — basic-auth for quick wins, IP allow-list for office access, forwardAuth for SSO and audit logs.
- Traefik IngressRoute CRD on Kubernetes — the canonical way to express routes Author Traefik IngressRoute objects on Kubernetes — match rules, middleware references, TLS, services — and the differences from plain Ingress.
- Traefik custom plugins — writing, building locally, and the Plugin Catalog trade-off Build a Traefik v3 middleware plugin in Go — local development workflow, plugin manifest, and what you give up by using the Plugin Catalog instead.
- HAProxy troubleshooting A diagnostic playbook for HAProxy in production — 503s, SSL handshake failures, slow backends, runaway connections, and the logs/commands that tell you why.
- Caddyfile vs JSON config — which to use and when The trade-offs between the Caddyfile DSL and Caddy native JSON config — what each is for, where each falls short, and the operational pattern an MSP picks for production.
- Traefik headers middleware — security headers, CORS, and rewriting request/response Use the Traefik headers middleware for HSTS, CSP, CORS, and request rewriting — and the cases where each setting actually does what you expect.