ЛР 3 — БВТ2304 — Черников

HAProxy перед двумя репликами API, X-Instance-Id, общая идемпотентность отправки
сообщения в PostgreSQL, двухшаговая остановка реплики по SIGTERM, лимиты CPU/RAM,
хуки stop-one и restart. Проверки отказов, эксперимент и поочерёдное обновление
в scripts/lab3_checks.py, отчёт в REPORT.md, результаты в evidence/, команды для
показа в DEMO.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-21 18:08:30 +03:00
co-authored by Claude Opus 5.5
parent 0ab3a341aa
commit 54ee33352d
48 changed files with 4967 additions and 24 deletions
+20
View File
@@ -18,3 +18,23 @@ __pycache__
node_modules
evidence
.DS_Store
# В образ копируются только requirements.txt, migrations/ и src/.
**/__pycache__
**/*.pyc
contracts
examples
scripts
tests
student-tests
infra
*.md
Makefile
lab.json
requirements-dev.txt
requirements.in
compose*.yaml
.gitignore
.gitattributes
.vscode
.idea
*.log