forked from mtusi2026/mtusi2026lab3
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>
20 lines
465 B
JSON
20 lines
465 B
JSON
{
|
|
"base_url": "http://127.0.0.1:8080",
|
|
"clients": 10,
|
|
"messages_per_client": 10,
|
|
"sent": 100,
|
|
"accepted_201": 100,
|
|
"history_total": 100,
|
|
"history_unique_ids": 100,
|
|
"history_unique_texts": 100,
|
|
"history_matches_accepted": true,
|
|
"senders_in_history": 10,
|
|
"min_messages_per_sender": 10,
|
|
"max_messages_per_sender": 10,
|
|
"ordered_by_created_at_and_id": true,
|
|
"pages_read": 15,
|
|
"page_size": 7,
|
|
"send_elapsed_seconds": 0.647,
|
|
"ok": true
|
|
}
|