feat(lab3): HAProxy LB, stateless API replicas, X-Instance-Id, Idempotency-Key, Grade 5 Track 1

This commit is contained in:
2026-11-17 02:34:05 +03:00
parent 0ab3a341aa
commit 40fa0fe23f
29 changed files with 6835 additions and 21 deletions
+14
View File
@@ -0,0 +1,14 @@
# Redis 7.4 configuration for MTUCI Lab 3 (Shared Sessions + History Cache)
bind 0.0.0.0
port 6379
protected-mode no
# Durable persistence (AOF + RDB snapshot) so cached sessions survive container restarts
appendonly yes
appendfilename "appendonly.aof"
appendfsync everysec
save 60 1
# Memory limits
maxmemory 128mb
maxmemory-policy volatile-lru