feat: add evidence collection, experiment results and report
This commit is contained in:
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"scenario": "sequential failover of each api replica",
|
||||
"resources_under_load": [
|
||||
"messenger-lab3-api-10 cpu=45.52% mem=115.8MiB / 256MiB",
|
||||
"messenger-lab3-api-9 cpu=47.28% mem=96.32MiB / 256MiB",
|
||||
"messenger-lab3-lb-1 cpu=13.68% mem=16.25MiB / 64MiB",
|
||||
"messenger-lab3-postgres-1 cpu=24.15% mem=77.63MiB / 512MiB",
|
||||
"messenger-lab3-redis-1 cpu=2.08% mem=9.832MiB / 128MiB"
|
||||
],
|
||||
"replicas": [
|
||||
{
|
||||
"container": "/messenger-lab3-api-10 running image=f80c910ed3d1",
|
||||
"action": "docker kill (SIGKILL)",
|
||||
"before": {
|
||||
"seconds": 5.0,
|
||||
"successful_writes": 777,
|
||||
"failed_attempts": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 155.4,
|
||||
"latency_ms_successful": {
|
||||
"p50": 10.6,
|
||||
"p95": 83.1,
|
||||
"p99": 158.6
|
||||
},
|
||||
"max_write_gap_seconds": 0.096,
|
||||
"instances": [
|
||||
"2701b0d53e0f",
|
||||
"75ad096eed0a"
|
||||
]
|
||||
},
|
||||
"stop_command_seconds": 0.478,
|
||||
"target_last_success_after_stop_seconds": null,
|
||||
"outage_window": {
|
||||
"seconds": 10.478,
|
||||
"successful_writes": 847,
|
||||
"failed_attempts": 3,
|
||||
"error_ratio": 0.0035,
|
||||
"successful_rps": 80.8,
|
||||
"latency_ms_successful": {
|
||||
"p50": 11.7,
|
||||
"p95": 88.5,
|
||||
"p99": 1012.5
|
||||
},
|
||||
"max_write_gap_seconds": 0.989,
|
||||
"instances": [
|
||||
"75ad096eed0a"
|
||||
]
|
||||
},
|
||||
"restore_until_healthy_seconds": 5.506,
|
||||
"restore_until_serving_seconds": 3.616,
|
||||
"after_restore": {
|
||||
"seconds": 5.036,
|
||||
"successful_writes": 771,
|
||||
"failed_attempts": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 153.1,
|
||||
"latency_ms_successful": {
|
||||
"p50": 11.2,
|
||||
"p95": 80.5,
|
||||
"p99": 152.1
|
||||
},
|
||||
"max_write_gap_seconds": 0.147,
|
||||
"instances": [
|
||||
"2701b0d53e0f",
|
||||
"75ad096eed0a"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"container": "/messenger-lab3-api-9 running image=f80c910ed3d1",
|
||||
"action": "docker kill (SIGKILL)",
|
||||
"before": {
|
||||
"seconds": 5.0,
|
||||
"successful_writes": 769,
|
||||
"failed_attempts": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 153.8,
|
||||
"latency_ms_successful": {
|
||||
"p50": 11.2,
|
||||
"p95": 80.5,
|
||||
"p99": 152.1
|
||||
},
|
||||
"max_write_gap_seconds": 0.147,
|
||||
"instances": [
|
||||
"2701b0d53e0f",
|
||||
"75ad096eed0a"
|
||||
]
|
||||
},
|
||||
"stop_command_seconds": 0.503,
|
||||
"target_last_success_after_stop_seconds": 0.001,
|
||||
"outage_window": {
|
||||
"seconds": 10.503,
|
||||
"successful_writes": 706,
|
||||
"failed_attempts": 2,
|
||||
"error_ratio": 0.0028,
|
||||
"successful_rps": 67.2,
|
||||
"latency_ms_successful": {
|
||||
"p50": 13.6,
|
||||
"p95": 98.1,
|
||||
"p99": 1012.2
|
||||
},
|
||||
"max_write_gap_seconds": 0.994,
|
||||
"instances": [
|
||||
"2701b0d53e0f",
|
||||
"75ad096eed0a"
|
||||
]
|
||||
},
|
||||
"restore_until_healthy_seconds": 5.898,
|
||||
"restore_until_serving_seconds": 3.356,
|
||||
"after_restore": {
|
||||
"seconds": 5.021,
|
||||
"successful_writes": 827,
|
||||
"failed_attempts": 0,
|
||||
"error_ratio": 0.0,
|
||||
"successful_rps": 164.7,
|
||||
"latency_ms_successful": {
|
||||
"p50": 11.2,
|
||||
"p95": 73.8,
|
||||
"p99": 87.4
|
||||
},
|
||||
"max_write_gap_seconds": 0.092,
|
||||
"instances": [
|
||||
"2701b0d53e0f",
|
||||
"75ad096eed0a"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"dataset": {
|
||||
"messages_in_db_before": 81019,
|
||||
"messages_in_db_after": 86799
|
||||
},
|
||||
"history": {
|
||||
"confirmed": 5780,
|
||||
"stored": 5780,
|
||||
"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:26:57Z"
|
||||
}
|
||||
Reference in New Issue
Block a user