Files
mtusi2026lab2/evidence/limits.txt
T
ArtyomandClaude Opus 5.5 a55bc716c4 Record level 3 evidence and fill in the report
Every grade 3 item of lab 5 is proven on a stand raised from empty
volumes at fe26938: the public smoke passes with 202 queued and a real
256x160 JPEG thumbnail; the suite runs its six grade 3 scenarios and
eight invariants green, including worker down with both API replicas,
the relay and the broker restarted while the job stays in the queue,
a redelivered finished job that changes nothing, an S3 outage that
recovers on attempt 2 and five transient failures that end in
retry_exhausted; the stand evidence shows the queued job with
delivery mode 2, the job id as message id and exactly the contract
fields, 409 before ready and a clean SIGTERM of the relay and the
worker; persistence restarts all eight services with their volumes,
failover keeps 134 writes without errors, and the lab 4 scenarios,
S3 checks, upload faults and container policy still pass.

The report describes the clean clone start, the processes and the
source of truth, what is stored at the moment of 202, the outbox and
relay, the claim, fencing and ack order of the worker, the retry
policy, the failure windows, the broker topology and permissions, the
roles table and the mapping of .env.example.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-29 01:31:07 +03:00

32 lines
3.8 KiB
Plaintext

date: 2026-10-28T22:22:59Z
$ docker compose --profile bench --profile tools config --format json (declared)
service cpus/mem ports secrets volumes networks ro
-------- ---------- ------------------------------- ----------------------------------------------------------------------------------------------------------------------- ----------- ---------------------- -----
api 1/512MiB - cache_url,cursor_secret,database_url,s3_access_key_id,s3_secret_access_key - backend(internal) true
broker 1/512MiB 127.0.0.1:25672 rabbitmq_ops_password,rabbitmq_users broker-data backend(internal),edge true
k6 2/512MiB - - - edge false
lb 1/128MiB 127.0.0.1:18085,127.0.0.1:25085 - - backend(internal),edge true
migrate 0.5/256MiB - database_url - backend(internal) false
postgres 2/1024MiB - postgres_password pgdata backend(internal) false
relay 0.5/192MiB - broker_url_api,database_url,s3_access_key_id,s3_secret_access_key - backend(internal) true
s3 1/512MiB - s3_root_password,s3_root_user s3data backend(internal) true
s3-cli 0.5/64MiB - s3_access_key_id,s3_root_password,s3_root_user,s3_secret_access_key,s3_worker_access_key_id,s3_worker_secret_access_key - backend(internal) true
s3-init 0.5/64MiB - s3_access_key_id,s3_root_password,s3_root_user,s3_secret_access_key,s3_worker_access_key_id,s3_worker_secret_access_key - backend(internal) true
valkey 0.5/128MiB - valkey.conf valkeydata backend(internal) false
worker 2/768MiB - broker_url_worker,database_url,s3_worker_access_key_id,s3_worker_secret_access_key - backend(internal) true
$ docker inspect (running containers: hostname = X-Instance-Id, applied limits)
service hostname cpus memory published
-------- ------------ ---- ------- ---------------------------------------------------
api 6f688eb249b1 1 512MiB
api db66b246dcf8 1 512MiB
broker broker 1 512MiB 127.0.0.1:25672->15672/tcp
lb d708a0029059 1 128MiB 127.0.0.1:18085->8080/tcp,127.0.0.1:25085->8404/tcp
postgres e7a6e449eabf 2 1024MiB
relay 0885d6359cd9 0.5 192MiB
s3 b4c9e833e654 1 512MiB
valkey 49888ec3e02e 0.5 128MiB
worker 7ad814af7027 2 768MiB
PASS: limits, ports, secrets, volumes and networks match the policy