Lab3: final implementation, evidence and report

This commit is contained in:
Ivan Melnikov
2026-12-02 19:38:52 +03:00
parent 1a7f31e7e5
commit deca60c859
3 changed files with 316 additions and 5 deletions
+31
View File
@@ -0,0 +1,31 @@
Lab3 final verification
=======================
timestamp_utc: 2026-12-02T16:38:47Z
branch: solution/bvt2301-melnikov
head_before_final_docs_commit: 1a7f31e7e5ee25e5f34b7b851d068c5cce77ed43
worktree_status_lines_before_this_file: 3
image: mtusi-messenger-lab3-melnikov:local
image_id: sha256:c999351dd1ef2d2199d0bfeb73f057d80cee077afef267e97c3de9a10ef7ed48
api_containers:
mtusi-lab3-melnikov-api-2 mtusi-messenger-lab3-melnikov:local Up 31 seconds (healthy)
mtusi-lab3-melnikov-api-1 mtusi-messenger-lab3-melnikov:local Up 31 seconds (healthy)
Commands and results:
make test PASS (public smoke through LB 127.0.0.1:8083)
make test-student PASS (Go tests + 141 black-box checks)
make failover-each PASS (2 distinct API containers stopped/restored, 0 errors)
make test-container PASS (limits, no API host ports, no container_name, shared session)
make test-db PASS (migrations 1,2,3; 509k messages/idempotency; 0 duplicates/orphans; Argon2id)
make test-failure PASS (direct live 200, ready/protected/login/write 503, LB exclusion, recovery 5.4 s)
make rolling PASS (183848 requests, 0 errors, both 1.0.0/2.0.0 versions, migrate no-op)
scripts/track1.py PASS (24 runs; see evidence/track1/summary.json)
scripts/clean-clone-check.sh PASS (users=0, migrations=1,2,3; public/student/persistence; purge clean)
Track 1 medians (fixed total API 0.8 vCPU / 512 MiB):
1 replica: 1228.8 RPS, DB util 0.960, pool waits 0.997
2 replicas: 1542.0 RPS, DB util 0.978, pool waits 0.900
4 replicas: 1585.9 RPS, DB util 0.982, pool waits 0.159
improvement (one atomic CTE vs baseline): +46.9% RPS median (paired +96.1/+48.3/+9.1%)
Clean clone source revision: 1a7f31e7e5ee25e5f34b7b851d068c5cce77ed43
Main stand after clean-clone check: two api-1/api-2 local-image containers serving; same named volumes.