ЛР2: PostgreSQL + Valkey, сессии Basic/Bearer, миграции, compose, тесты, отчёт

This commit is contained in:
2026-10-15 19:17:22 +03:00
parent 65003b6119
commit 6808ed8c98
44 changed files with 2370 additions and 19 deletions
+16
View File
@@ -0,0 +1,16 @@
Container mtusi2026lab2-valkey-1 Stopping
Container mtusi2026lab2-valkey-1 Stopped
Container mtusi2026lab2-valkey-1 Starting
Container mtusi2026lab2-valkey-1 Started
Container mtusi2026lab2-postgres-1 Stopping
Container mtusi2026lab2-postgres-1 Stopped
Container mtusi2026lab2-postgres-1 Starting
Container mtusi2026lab2-postgres-1 Started
baseline: /users/me = 200
stopping valkey ...
valkey down: /health/ready = 200, /users/me = 200 (cache bypassed)
valkey restored: /users/me = 200
stopping postgres ...
postgres down: /health/ready = 503, /users/me = 503, anonymous = 503
postgres restored: /users/me = 200 (session survived)
PASS: graceful degradation and recovery without trusting the cache/anonymous user