Evidence from a freshly recreated stand at the current code: the four detection cases with their declared maxima, failover-each for both replicas under k6 at 100 rps (no errors, no balancer retries, the stopped replica never served during its outage), the 20 round same-key race, the limits and isolation check with a run against deliberate violations, and two rolling updates under load: from the level 3 image, where the old replicas without a drain window caused 54 redispatches and 2 response errors that the balancer retried, and between two current builds with all counters at zero. Level 3 runs are refreshed on the new code: smoke, stack view, both failovers with the drain sequence in the replica log, hooks with the longer stop, persistence, stack fault tests and own tests with the shutdown and timeout chain output. The report gains the shutdown order, the check period and worst detection per failure with measurements, the timeout chain, rows 4.1 to 4.4, level 4 rows of the failure table, the k6 role, the new variables and the updated limitations; AGENTS.md lists the commands. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
22 lines
1.7 KiB
Plaintext
22 lines
1.7 KiB
Plaintext
date: 2026-10-28T16:53:57Z
|
|
$ docker compose --profile bench config --format json (declared)
|
|
service cpus/mem ports secrets volumes networks ro
|
|
-------- ---------- ------------------------------- ------------------------------------ ---------- ---------------------- -----
|
|
api 1/512MiB - cache_url,cursor_secret,database_url - backend(internal) true
|
|
k6 2/512MiB - - - edge false
|
|
lb 1/128MiB 127.0.0.1:18083,127.0.0.1:23083 - - backend(internal),edge true
|
|
migrate 0.5/256MiB - database_url - backend(internal) false
|
|
postgres 2/1024MiB - postgres_password pgdata backend(internal) false
|
|
valkey 0.5/128MiB - valkey.conf valkeydata backend(internal) false
|
|
|
|
$ docker inspect (running containers: hostname = X-Instance-Id, applied limits)
|
|
service hostname cpus memory published
|
|
-------- ------------ ---- ------- ---------------------------------------------------
|
|
api 27de23496b0f 1 512MiB
|
|
api a3536e394b3f 1 512MiB
|
|
lb 0b152ec25c09 1 128MiB 127.0.0.1:18083->8080/tcp,127.0.0.1:23083->8404/tcp
|
|
postgres 67fe9b43b70b 2 1024MiB
|
|
valkey e4c5a748222e 0.5 128MiB
|
|
|
|
PASS: limits, ports, secrets, volumes and networks match the policy
|