Implement lab2 PostgreSQL sessions and Redis cache

This commit is contained in:
Polusikkkk
2026-10-16 18:23:50 +03:00
parent 65003b6119
commit 083dc49564
25 changed files with 2782 additions and 29 deletions
+6
View File
@@ -0,0 +1,6 @@
PASS: Redis outage fallback; authenticated request took 0.296s
PASS: PostgreSQL outage fails closed; authenticated request took 3.005s
PASS: existing session recovered after PostgreSQL restart
PASS: short session expired; observed after 2.065s
RESTORED: services running; SESSION_TTL_SECONDS=3600
PASS: dependency outages and short session expiry