Skip to content

add egress infrastructure#1

Open
ILW8 wants to merge 41 commits into
masterfrom
feat/egress-infrastructure
Open

add egress infrastructure#1
ILW8 wants to merge 41 commits into
masterfrom
feat/egress-infrastructure

Conversation

@ILW8
Copy link
Copy Markdown
Owner

@ILW8 ILW8 commented Apr 14, 2026

No description provided.

ILW8 and others added 30 commits April 12, 2026 07:00
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…_SECRET env vars

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
forces docker swarm's IPVS to load-balance across workers, otherwise connections are kept persistent
Without --force, docker service update skips recreation when the
image tag hasn't changed, so pushing a new :latest image didn't
actually roll out to running containers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Uses increase() instead of rate() so the bars show the number of
responses per 15s window rather than a per-second rate.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
increase() extrapolates across sample boundaries, producing fractional
values on integer counters. Simple offset subtraction gives clean results.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
TSDB holds an exclusive lock on the data directory, so start-first
causes the new container to crash when it can't acquire the lock.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
ILW8 and others added 11 commits April 14, 2026 03:40
Consumers with poor retry/backoff logic cause storms when denied with
429. Instead of rejecting, progressively delay requests via HAProxy Lua
when per-token rate exceeds 60 req/60s sustained limit (burst zone up
to 90, then aggressive ramp capped at 10s). Adds mtail metrics and
Grafana panels for throttle rate and delay distribution.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
core.sleep() requires an integer (whole seconds). Switch to
core.msleep() which takes integer milliseconds, fixing the runtime
error and providing better granularity.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The -db flag and the entry resolvers section were added while
debugging a container restart loop that turned out to be caused
by healthchecks using "localhost" (no /etc/hosts entry in Alpine).
Neither change was needed once the healthcheck was fixed to use
127.0.0.1.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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