Files
mtusi2026lab3/evidence/grade4.json
T
vika 59f8c55f93 Поставить несколько реплик API за общий балансировщик.
Сессия и ключ идемпотентности общие для реплик, миграция выполняется один раз, остановка одной реплики не теряет подтверждённые сообщения.
2026-10-30 01:15:28 +03:00

56 lines
1.7 KiB
JSON

{
"instances_before": [
"836017c62a61",
"a0f9a69d71e5"
],
"parallel_same_key": {
"attempts": 16,
"successes": 16,
"errors": 0,
"distinct_message_ids": 1,
"history_copies": 1,
"instances": [
"836017c62a61",
"a0f9a69d71e5"
]
},
"parallel_different_body": {
"created": 1,
"conflicts": 7,
"other": []
},
"stop_each_replica": [
{
"stopped_instance": "836017c62a61",
"container": "mtusi-lab3-api-1",
"successful_writes_before_stop": 324,
"successful_writes_after_stop_call": 615,
"failed_attempts_after_stop_call": 27,
"docker_stop_seconds": 2.422,
"first_other_instance_seconds": 0.015,
"target_seen_again_after_start": true
},
{
"stopped_instance": "a0f9a69d71e5",
"container": "mtusi-lab3-api-2",
"successful_writes_before_stop": 372,
"successful_writes_after_stop_call": 586,
"failed_attempts_after_stop_call": 33,
"docker_stop_seconds": 2.39,
"first_other_instance_seconds": 0.0,
"target_seen_again_after_start": true
}
],
"rolling_replace": {
"script_exit": 0,
"elapsed_seconds": 7.219,
"successful_reads": 1341,
"failed_reads": 401,
"instances_after": [
"53e109b08cae",
"b0e0a9d3ce35"
],
"stderr_tail": " Container mtusi-lab3-api-2 Running \n Container mtusi-lab3-api-3 Creating \n Container mtusi-lab3-api-3 Created \n Container mtusi-lab3-api-3 Starting \n Container mtusi-lab3-api-3 Started \n Container mtusi-lab3-api-3 Running \n Container mtusi-lab3-api-4 Creating \n Container mtusi-lab3-api-4 Created \n Container mtusi-lab3-api-4 Starting \n Container mtusi-lab3-api-4 Started \n"
}
}