ЛР2: PostgreSQL, сессии, Redis-кэш, трек 5.2

This commit is contained in:
2026-10-26 21:20:34 +03:00
parent 65003b6119
commit cf4a7ad142
56 changed files with 4209 additions and 14 deletions
+7
View File
@@ -0,0 +1,7 @@
# 2026-10-26T17:32:19Z native stand; Linux 6.18.44-fc-v153 x86_64; nproc=2; mem=8027MiB
$ python3 student-tests/test_failures.py
## dependency failures (http://localhost:8080)
PASS Redis down: API bypasses cache via PostgreSQL, no anonymous trust 4.75s fallback latency 0.005s; outbox rows during outage=1, drained after recovery
PASS PostgreSQL down: bounded 503 in error format; anonymous still 401 14.31s latency(s)={'ready': 1.5, 'post_message': 2.0, 'history': 2.0, 'login': 2.0, 'register': 2.0}; ready again in 2.5s
summary: 2 passed, 0 failed
exit=0