Files
mtusi2026lab3/evidence/rolling.json
T
2026-11-01 18:05:27 +03:00

68 lines
1.7 KiB
JSON

{
"scenario": "rolling replacement: migrate once, then add new replica, wait healthy, stop old one",
"resources_under_load": [
"messenger-lab3-api-11 cpu=46.51% mem=96.45MiB / 256MiB",
"messenger-lab3-api-12 cpu=47.86% mem=113.1MiB / 256MiB",
"messenger-lab3-lb-1 cpu=14.55% mem=16.07MiB / 64MiB",
"messenger-lab3-postgres-1 cpu=26.26% mem=84.64MiB / 512MiB",
"messenger-lab3-redis-1 cpu=2.31% mem=9.805MiB / 128MiB"
],
"before": [
"/messenger-lab3-api-11 running image=be7b642a4d66",
"/messenger-lab3-api-12 running image=be7b642a4d66"
],
"after": [
"/messenger-lab3-api-13 running image=e01eb7165388",
"/messenger-lab3-api-14 running image=e01eb7165388"
],
"steps": [
{
"replaced": "e0c31d893858",
"new_replica_ready_seconds": 6.586,
"step_seconds": 10.193
},
{
"replaced": "229dcf033bdc",
"new_replica_ready_seconds": 6.773,
"step_seconds": 10.365
}
],
"during_update": {
"seconds": 31.012,
"successful_writes": 4823,
"failed_attempts": 0,
"error_ratio": 0.0,
"successful_rps": 155.5,
"latency_ms_successful": {
"p50": 12.3,
"p95": 78.8,
"p99": 105.4
},
"max_write_gap_seconds": 0.16,
"instances": [
"229dcf033bdc",
"358dc1d93af4",
"dfa1f6b6a59a",
"e0c31d893858"
]
},
"dataset": {
"messages_in_db_before": 106273,
"messages_in_db_after": 112337
},
"history": {
"confirmed": 6064,
"stored": 6064,
"lost_confirmed": 0,
"duplicates": 0
},
"load": {
"workers": 4,
"model": "closed loop, POST message",
"warmup_seconds": 5,
"client_timeout_seconds": 2,
"retry": "same Idempotency-Key until success"
},
"date": "2026-11-01T14:57:16Z"
}