forked from mtusi2026/mtusi2026lab4
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
|
"scenario": "rolling replacement: migrate once, then add new replica, wait healthy, stop old one",
|
|
"resources_under_load": [
|
|
"messenger-lab4-api-1 cpu=49.37% mem=104.1MiB / 256MiB",
|
|
"messenger-lab4-api-2 cpu=50.09% mem=121.8MiB / 256MiB",
|
|
"messenger-lab4-lb-1 cpu=10.88% mem=16.03MiB / 64MiB",
|
|
"messenger-lab4-postgres-1 cpu=24.86% mem=68.67MiB / 512MiB",
|
|
"messenger-lab4-reconciler-1 cpu=0.00% mem=32.57MiB / 128MiB",
|
|
"messenger-lab4-redis-1 cpu=1.69% mem=8.105MiB / 128MiB",
|
|
"messenger-lab4-s3-1 cpu=0.09% mem=248.8MiB / 512MiB"
|
|
],
|
|
"before": [
|
|
"/messenger-lab4-api-1 running image=0387c3cfc941",
|
|
"/messenger-lab4-api-2 running image=0387c3cfc941"
|
|
],
|
|
"after": [
|
|
"/messenger-lab4-api-3 running image=b352fc8e08ea",
|
|
"/messenger-lab4-api-4 running image=b352fc8e08ea"
|
|
],
|
|
"steps": [
|
|
{
|
|
"replaced": "bb4424f819bb",
|
|
"new_replica_ready_seconds": 6.727,
|
|
"step_seconds": 10.356
|
|
},
|
|
{
|
|
"replaced": "0900a35b199d",
|
|
"new_replica_ready_seconds": 6.775,
|
|
"step_seconds": 10.466
|
|
}
|
|
],
|
|
"during_update": {
|
|
"seconds": 33.715,
|
|
"successful_writes": 4320,
|
|
"failed_attempts": 0,
|
|
"error_ratio": 0.0,
|
|
"successful_rps": 128.1,
|
|
"latency_ms_successful": {
|
|
"p50": 15.2,
|
|
"p95": 83.5,
|
|
"p99": 110.6
|
|
},
|
|
"max_write_gap_seconds": 0.215,
|
|
"instances": [
|
|
"0900a35b199d",
|
|
"4f49dcd66a29",
|
|
"984f0bba8d26",
|
|
"bb4424f819bb"
|
|
]
|
|
},
|
|
"dataset": {
|
|
"messages_in_db_before": 12641,
|
|
"messages_in_db_after": 17944
|
|
},
|
|
"history": {
|
|
"confirmed": 5303,
|
|
"stored": 5303,
|
|
"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-05T14:08:50Z"
|
|
}
|