Files
mtusi2026lab3/evidence/rolling-update-load.json

260 lines
3.0 KiB
JSON

{
"profile": "closed loop, 8 workers, each: POST message (retry same key) + GET history; client timeout 2 s",
"action": "scripts/rolling-update.sh",
"action_started_s": 5.02,
"action_finished_s": 23.01,
"action_returncode": 0,
"action_output": [
"#13 DONE 0.0s",
"11:52:12 new /messenger-lab3-api-3 healthy; stopping old /messenger-lab3-api-1",
"11:52:20 new /messenger-lab3-api-4 healthy; stopping old /messenger-lab3-api-2",
"NAME IMAGE STATUS",
"messenger-lab3-api-3 mtusi-messenger:lab3 Up 16 seconds (healthy)",
"messenger-lab3-api-4 mtusi-messenger:lab3 Up 8 seconds (healthy)"
],
"elapsed_s": 50.01,
"requests": 41154,
"successful": 41154,
"errors": 0,
"error_ratio": 0.0,
"successful_rps": 822.9,
"latency_ms_success": {
"p50": 7.4,
"p95": 16.3,
"p99": 53.7,
"max": 1022.8
},
"slow_over_500ms_after_action": 24,
"error_window_s": null,
"recovery_s_after_action": 19.86,
"instances_before": {
"api-85c04c87": 2165,
"api-e53b9e96": 2165
},
"instances_last_5s": {
"api-57303f43": 1991,
"api-aef30e7d": 1991
},
"timeline_ok_err_per_s": {
"0": [
688,
0
],
"1": [
790,
0
],
"2": [
968,
0
],
"3": [
976,
0
],
"4": [
889,
0
],
"5": [
693,
0
],
"6": [
592,
0
],
"7": [
754,
0
],
"8": [
1146,
0
],
"9": [
1063,
0
],
"10": [
841,
0
],
"11": [
848,
0
],
"12": [
907,
0
],
"13": [
1028,
0
],
"14": [
473,
0
],
"15": [
274,
0
],
"16": [
953,
0
],
"17": [
877,
0
],
"18": [
898,
0
],
"19": [
917,
0
],
"20": [
1006,
0
],
"21": [
988,
0
],
"22": [
627,
0
],
"23": [
22,
0
],
"24": [
153,
0
],
"25": [
901,
0
],
"26": [
935,
0
],
"27": [
861,
0
],
"28": [
924,
0
],
"29": [
987,
0
],
"30": [
707,
0
],
"31": [
1004,
0
],
"32": [
906,
0
],
"33": [
829,
0
],
"34": [
911,
0
],
"35": [
881,
0
],
"36": [
883,
0
],
"37": [
914,
0
],
"38": [
818,
0
],
"39": [
925,
0
],
"40": [
751,
0
],
"41": [
1027,
0
],
"42": [
869,
0
],
"43": [
823,
0
],
"44": [
937,
0
],
"45": [
790,
0
],
"46": [
820,
0
],
"47": [
801,
0
],
"48": [
885,
0
],
"49": [
690,
0
],
"50": [
4,
0
]
},
"docker_stats_mid": [
"messenger-lab3-api-1\t51.08%\t175.1MiB / 256MiB",
"messenger-lab3-api-2\t50.01%\t82.92MiB / 256MiB",
"messenger-lab3-api-3\t49.31%\t50.11MiB / 256MiB",
"messenger-lab3-lb-1\t32.61%\t16.47MiB / 128MiB",
"messenger-lab3-postgres-1\t52.87%\t92.39MiB / 512MiB",
"messenger-lab3-valkey-1\t4.29%\t10.84MiB / 96MiB"
],
"integrity": {
"stored_messages": 20577,
"confirmed_writes": 20577,
"duplicate_ids": 0,
"duplicate_texts": 0,
"confirmed_missing": 0
}
}