forked from mtusi2026/mtusi2026lab3
Implement Lab 3 grade 4 messenger balancing
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
Lab 3 checks and runtime evidence
|
||||
|
||||
Offline checks:
|
||||
- python scripts/check_contract.py: PASS (structure, local references and Python syntax; does not run the application).
|
||||
- python -m compileall -q src tests scripts: PASS, exit code 0.
|
||||
- python scripts/validate_openapi.py: PASS, full OpenAPI 3.1 / JSON Schema validation.
|
||||
- docker compose --env-file .env config --quiet: PASS.
|
||||
- Configuration inspection: two API replicas; only loopback LB port is published; API ports are private; all five services have CPU/RAM limits.
|
||||
|
||||
Runtime checks:
|
||||
- Public smoke: PASS after the final persistence restart; see evidence/smoke.txt.
|
||||
- Concurrent idempotency: PASS; 24 requests, 12 workers, 2 replicas, one stored message; see evidence/idempotency.txt.
|
||||
- Persistence: PASS; confirmed data and existing session survived full-store restart; action scope is logged in evidence/persistence-hook.log.
|
||||
- Failover: PASS for distinct API instance IDs 46c9e552d0a0 and 3375d99fba8b. The later repeated run selected 74e4faa7a0f1 twice and is not counted as second-replica evidence.
|
||||
- Rolling update: PASS, with two new healthy replicas at completion. Latest 60-second concurrent workload recorded 1 failed request out of 1,055 total; see evidence/rolling-update-load.json.
|
||||
|
||||
Make targets must run in WSL/Ubuntu, where python3 and a POSIX shell are available. Windows PowerShell make attempts are not application test failures.
|
||||
Load tests are small closed-loop demonstrations. Host hardware and Docker Desktop allocation were not recorded; no capacity guarantee is claimed.
|
||||
Reference in New Issue
Block a user