Выполнение 3 лабораторной работы
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Время обнаружения зависшего backend (docker pause) в HAProxy; 2026-11-06T17:01:52Z
|
||||
# inter 1s, fall 2, timeout check 2s -> расчёт fall*(timeout check + inter) = 6 s
|
||||
замер 1: DOWN detected after 5.66 s
|
||||
замер 2: DOWN detected after 5.86 s
|
||||
замер 3: DOWN detected after 5.82 s
|
||||
@@ -0,0 +1,88 @@
|
||||
second,ok,errors
|
||||
0,268,0
|
||||
1,222,0
|
||||
2,280,0
|
||||
3,275,0
|
||||
4,286,0
|
||||
5,240,0
|
||||
6,280,0
|
||||
7,239,0
|
||||
8,254,0
|
||||
9,286,0
|
||||
10,264,0
|
||||
11,278,0
|
||||
12,282,0
|
||||
13,247,0
|
||||
14,303,0
|
||||
15,248,0
|
||||
16,298,0
|
||||
17,270,0
|
||||
18,260,0
|
||||
19,296,0
|
||||
20,276,0
|
||||
21,266,0
|
||||
22,258,0
|
||||
23,288,0
|
||||
24,274,0
|
||||
25,226,0
|
||||
26,230,0
|
||||
27,277,0
|
||||
28,185,0
|
||||
29,184,0
|
||||
30,166,0
|
||||
31,191,0
|
||||
32,185,0
|
||||
33,232,0
|
||||
34,182,0
|
||||
35,192,0
|
||||
36,180,0
|
||||
37,243,0
|
||||
38,246,0
|
||||
39,256,0
|
||||
40,271,0
|
||||
41,269,0
|
||||
42,263,0
|
||||
43,231,0
|
||||
44,276,0
|
||||
45,225,0
|
||||
46,289,0
|
||||
47,264,0
|
||||
48,277,0
|
||||
49,255,0
|
||||
50,265,0
|
||||
51,264,0
|
||||
52,290,0
|
||||
53,249,0
|
||||
54,267,0
|
||||
55,251,0
|
||||
56,278,0
|
||||
57,238,0
|
||||
58,243,0
|
||||
59,272,0
|
||||
60,266,0
|
||||
61,288,0
|
||||
62,36,0
|
||||
64,18,0
|
||||
65,280,0
|
||||
66,286,0
|
||||
67,242,0
|
||||
68,259,0
|
||||
69,238,0
|
||||
70,225,0
|
||||
71,41,0
|
||||
74,112,0
|
||||
75,265,0
|
||||
76,88,0
|
||||
78,275,0
|
||||
79,220,0
|
||||
80,172,0
|
||||
81,236,0
|
||||
82,236,0
|
||||
83,202,0
|
||||
84,214,0
|
||||
85,211,0
|
||||
86,263,0
|
||||
87,255,0
|
||||
88,243,0
|
||||
89,229,0
|
||||
90,44,0
|
||||
|
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"scenario": "rolling-update",
|
||||
"base_url": "http://localhost:8081",
|
||||
"workers": 8,
|
||||
"users_and_chats": 4,
|
||||
"think_time_s": 0.02,
|
||||
"replicas_before": [
|
||||
"6a5a3da59476",
|
||||
"73c5482d0d13"
|
||||
],
|
||||
"total_seconds": 90.2,
|
||||
"overall": {
|
||||
"from_s": 5,
|
||||
"to_s": 90.2,
|
||||
"requests": 19263,
|
||||
"errors": 0,
|
||||
"rps_ok": 226.1,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 8.8,
|
||||
"p95_ms": 39.5,
|
||||
"p99_ms": 70.4,
|
||||
"instances": {
|
||||
"73c5482d0d13": 7431,
|
||||
"6a5a3da59476": 8169,
|
||||
"358f63ce0276": 2236,
|
||||
"ce29e4c7dcab": 1427
|
||||
}
|
||||
},
|
||||
"phases": [
|
||||
{
|
||||
"from_s": 5.0,
|
||||
"to_s": 20.0,
|
||||
"requests": 4040,
|
||||
"errors": 0,
|
||||
"rps_ok": 269.3,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 7.3,
|
||||
"p95_ms": 27.0,
|
||||
"p99_ms": 58.1,
|
||||
"instances": {
|
||||
"6a5a3da59476": 2020,
|
||||
"73c5482d0d13": 2020
|
||||
},
|
||||
"name": "baseline"
|
||||
},
|
||||
{
|
||||
"from_s": 20.0,
|
||||
"to_s": 80.2,
|
||||
"requests": 12936,
|
||||
"errors": 0,
|
||||
"rps_ok": 215.1,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 9.1,
|
||||
"p95_ms": 39.4,
|
||||
"p99_ms": 71.2,
|
||||
"instances": {
|
||||
"6a5a3da59476": 6149,
|
||||
"73c5482d0d13": 5406,
|
||||
"358f63ce0276": 1095,
|
||||
"ce29e4c7dcab": 286
|
||||
},
|
||||
"name": "rolling update",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from_s": 80.2,
|
||||
"to_s": 90.2,
|
||||
"requests": 2279,
|
||||
"errors": 0,
|
||||
"rps_ok": 227.9,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 10.8,
|
||||
"p95_ms": 45.5,
|
||||
"p99_ms": 73.2,
|
||||
"instances": {
|
||||
"ce29e4c7dcab": 1140,
|
||||
"358f63ce0276": 1139
|
||||
},
|
||||
"name": "after update"
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"action": "rolling-update",
|
||||
"exit_code": 0,
|
||||
"seconds": 60.14,
|
||||
"at_s": 20.0,
|
||||
"log": [
|
||||
"18:39:51 replicas before: 2; building version 1793979591",
|
||||
"18:40:32 migrations applied once",
|
||||
"18:40:38 new replica is UP in LB; stopping old 73c5482d0d13 (version 1)",
|
||||
"18:40:48 new replica is UP in LB; stopping old 6a5a3da59476 (version 1)",
|
||||
"18:40:51 replicas after:",
|
||||
"18:40:52 358f63ce0276 version 1793979591",
|
||||
"18:40:52 ce29e4c7dcab version 1793979591"
|
||||
]
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"t_s": 20.0,
|
||||
"event": "ROLLING UPDATE start"
|
||||
},
|
||||
{
|
||||
"t_s": 80.2,
|
||||
"event": "rolling-update.sh exit=0 in 60.1s"
|
||||
}
|
||||
],
|
||||
"data_check": {
|
||||
"post_keys_used": 10294,
|
||||
"post_confirmed": 10294,
|
||||
"post_retries_with_same_key": 0,
|
||||
"confirmed_missing_or_duplicated": 0,
|
||||
"keys_with_duplicate_messages": 0,
|
||||
"unconfirmed_but_written_once": 0,
|
||||
"result": "PASS",
|
||||
"problems": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
second,ok,errors
|
||||
0,231,0
|
||||
1,221,0
|
||||
2,273,0
|
||||
3,239,0
|
||||
4,270,0
|
||||
5,228,0
|
||||
6,214,0
|
||||
7,210,0
|
||||
8,191,0
|
||||
9,268,0
|
||||
10,219,0
|
||||
11,205,0
|
||||
12,247,0
|
||||
13,288,0
|
||||
14,264,0
|
||||
15,270,0
|
||||
16,280,0
|
||||
17,262,0
|
||||
18,223,0
|
||||
19,286,0
|
||||
20,84,0
|
||||
22,90,0
|
||||
23,226,0
|
||||
24,233,0
|
||||
25,235,0
|
||||
26,219,0
|
||||
27,238,0
|
||||
28,181,0
|
||||
29,217,0
|
||||
30,231,0
|
||||
31,218,0
|
||||
32,16,0
|
||||
35,125,0
|
||||
36,266,0
|
||||
37,254,0
|
||||
38,268,0
|
||||
39,222,0
|
||||
40,226,0
|
||||
41,227,0
|
||||
42,210,0
|
||||
43,205,0
|
||||
44,152,0
|
||||
46,39,0
|
||||
47,152,0
|
||||
48,165,0
|
||||
49,176,0
|
||||
50,170,0
|
||||
51,170,0
|
||||
52,158,0
|
||||
53,170,0
|
||||
54,140,0
|
||||
55,138,0
|
||||
56,24,0
|
||||
58,3,0
|
||||
59,152,0
|
||||
60,175,0
|
||||
61,242,0
|
||||
62,228,0
|
||||
63,250,0
|
||||
64,219,0
|
||||
65,194,0
|
||||
66,219,0
|
||||
67,230,0
|
||||
68,243,0
|
||||
69,182,0
|
||||
70,234,0
|
||||
71,213,0
|
||||
|
@@ -0,0 +1,189 @@
|
||||
{
|
||||
"scenario": "sequential-stop",
|
||||
"base_url": "http://localhost:8081",
|
||||
"workers": 8,
|
||||
"users_and_chats": 4,
|
||||
"think_time_s": 0.02,
|
||||
"replicas_before": [
|
||||
"6a5a3da59476",
|
||||
"73c5482d0d13"
|
||||
],
|
||||
"total_seconds": 71.9,
|
||||
"overall": {
|
||||
"from_s": 5,
|
||||
"to_s": 71.9,
|
||||
"requests": 12284,
|
||||
"errors": 0,
|
||||
"rps_ok": 183.7,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 10.2,
|
||||
"p95_ms": 55.0,
|
||||
"p99_ms": 75.8,
|
||||
"instances": {
|
||||
"6a5a3da59476": 5980,
|
||||
"73c5482d0d13": 6304
|
||||
}
|
||||
},
|
||||
"phases": [
|
||||
{
|
||||
"from_s": 5.0,
|
||||
"to_s": 20.0,
|
||||
"requests": 3652,
|
||||
"errors": 0,
|
||||
"rps_ok": 243.5,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 8.8,
|
||||
"p95_ms": 49.6,
|
||||
"p99_ms": 71.0,
|
||||
"instances": {
|
||||
"73c5482d0d13": 1827,
|
||||
"6a5a3da59476": 1825
|
||||
},
|
||||
"name": "baseline"
|
||||
},
|
||||
{
|
||||
"from_s": 20.0,
|
||||
"to_s": 30.7,
|
||||
"requests": 1880,
|
||||
"errors": 0,
|
||||
"rps_ok": 176.6,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 11.2,
|
||||
"p95_ms": 53.3,
|
||||
"p99_ms": 75.0,
|
||||
"instances": {
|
||||
"6a5a3da59476": 28,
|
||||
"73c5482d0d13": 1852
|
||||
},
|
||||
"name": "replica 6a5a3da59476 stopped",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from_s": 30.7,
|
||||
"to_s": 44.4,
|
||||
"requests": 2391,
|
||||
"errors": 0,
|
||||
"rps_ok": 173.4,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 9.4,
|
||||
"p95_ms": 50.2,
|
||||
"p99_ms": 75.8,
|
||||
"instances": {
|
||||
"73c5482d0d13": 1346,
|
||||
"6a5a3da59476": 1045
|
||||
},
|
||||
"name": "after restore of 6a5a3da59476",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from_s": 44.4,
|
||||
"to_s": 55.1,
|
||||
"requests": 1426,
|
||||
"errors": 0,
|
||||
"rps_ok": 134.2,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 18.1,
|
||||
"p95_ms": 71.7,
|
||||
"p99_ms": 79.5,
|
||||
"instances": {
|
||||
"6a5a3da59476": 1404,
|
||||
"73c5482d0d13": 22
|
||||
},
|
||||
"name": "replica 73c5482d0d13 stopped",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from_s": 55.1,
|
||||
"to_s": 71.8,
|
||||
"requests": 2930,
|
||||
"errors": 0,
|
||||
"rps_ok": 174.7,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 10.7,
|
||||
"p95_ms": 54.8,
|
||||
"p99_ms": 76.3,
|
||||
"instances": {
|
||||
"6a5a3da59476": 1675,
|
||||
"73c5482d0d13": 1255
|
||||
},
|
||||
"name": "after restore of 73c5482d0d13",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"action": "stop",
|
||||
"target": "6a5a3da59476",
|
||||
"exit_code": 0,
|
||||
"hook_seconds": 0.64,
|
||||
"at_s": 20.0
|
||||
},
|
||||
{
|
||||
"action": "restore",
|
||||
"exit_code": 0,
|
||||
"restore_seconds": 3.79,
|
||||
"at_s": 30.7
|
||||
},
|
||||
{
|
||||
"action": "stop",
|
||||
"target": "73c5482d0d13",
|
||||
"exit_code": 0,
|
||||
"hook_seconds": 0.63,
|
||||
"at_s": 44.4
|
||||
},
|
||||
{
|
||||
"action": "restore",
|
||||
"exit_code": 0,
|
||||
"restore_seconds": 6.77,
|
||||
"at_s": 55.1
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"t_s": 20.0,
|
||||
"event": "STOP replica 6a5a3da59476"
|
||||
},
|
||||
{
|
||||
"t_s": 20.7,
|
||||
"event": "stop-one.sh exit=0 in 0.6s"
|
||||
},
|
||||
{
|
||||
"t_s": 30.7,
|
||||
"event": "RESTORE replicas"
|
||||
},
|
||||
{
|
||||
"t_s": 34.4,
|
||||
"event": "restore-replicas.sh exit=0 in 3.8s: ['LB sees 2/2 api replicas UP']"
|
||||
},
|
||||
{
|
||||
"t_s": 44.4,
|
||||
"event": "STOP replica 73c5482d0d13"
|
||||
},
|
||||
{
|
||||
"t_s": 45.1,
|
||||
"event": "stop-one.sh exit=0 in 0.6s"
|
||||
},
|
||||
{
|
||||
"t_s": 55.1,
|
||||
"event": "RESTORE replicas"
|
||||
},
|
||||
{
|
||||
"t_s": 61.8,
|
||||
"event": "restore-replicas.sh exit=0 in 6.8s: ['LB sees 2/2 api replicas UP']"
|
||||
}
|
||||
],
|
||||
"data_check": {
|
||||
"post_keys_used": 6757,
|
||||
"post_confirmed": 6757,
|
||||
"post_retries_with_same_key": 0,
|
||||
"confirmed_missing_or_duplicated": 0,
|
||||
"keys_with_duplicate_messages": 0,
|
||||
"unconfirmed_but_written_once": 0,
|
||||
"result": "PASS",
|
||||
"problems": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
second,ok,errors
|
||||
0,241,0
|
||||
1,289,0
|
||||
2,275,0
|
||||
3,279,0
|
||||
4,204,0
|
||||
5,267,0
|
||||
6,275,0
|
||||
7,273,0
|
||||
8,285,0
|
||||
9,224,0
|
||||
10,217,0
|
||||
11,276,0
|
||||
12,276,0
|
||||
13,275,0
|
||||
14,206,0
|
||||
15,196,0
|
||||
16,218,0
|
||||
17,292,0
|
||||
18,274,0
|
||||
19,273,0
|
||||
20,72,0
|
||||
25,8,3
|
||||
30,135,6
|
||||
31,268,0
|
||||
32,293,0
|
||||
33,291,0
|
||||
34,295,0
|
||||
35,273,0
|
||||
36,281,0
|
||||
37,295,0
|
||||
38,290,0
|
||||
39,289,0
|
||||
40,275,0
|
||||
41,294,0
|
||||
42,104,0
|
||||
47,8,5
|
||||
52,125,7
|
||||
53,267,0
|
||||
54,280,0
|
||||
55,280,0
|
||||
56,292,0
|
||||
57,272,0
|
||||
58,286,0
|
||||
59,291,0
|
||||
60,291,0
|
||||
61,270,0
|
||||
62,275,0
|
||||
63,293,0
|
||||
64,85,0
|
||||
|
@@ -0,0 +1,197 @@
|
||||
{
|
||||
"scenario": "sequential-stop",
|
||||
"base_url": "http://localhost:8081",
|
||||
"workers": 8,
|
||||
"users_and_chats": 4,
|
||||
"think_time_s": 0.02,
|
||||
"replicas_before": [
|
||||
"13b0fc8945bc",
|
||||
"65e3ad44afc9"
|
||||
],
|
||||
"total_seconds": 64.3,
|
||||
"overall": {
|
||||
"from_s": 5,
|
||||
"to_s": 64.3,
|
||||
"requests": 10626,
|
||||
"errors": 21,
|
||||
"rps_ok": 178.8,
|
||||
"error_rate_pct": 0.2,
|
||||
"p50_ms": 8.3,
|
||||
"p95_ms": 19.8,
|
||||
"p99_ms": 52.9,
|
||||
"instances": {
|
||||
"13b0fc8945bc": 5312,
|
||||
"65e3ad44afc9": 5293
|
||||
}
|
||||
},
|
||||
"phases": [
|
||||
{
|
||||
"from_s": 5.0,
|
||||
"to_s": 20.0,
|
||||
"requests": 3827,
|
||||
"errors": 0,
|
||||
"rps_ok": 255.1,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 8.6,
|
||||
"p95_ms": 44.9,
|
||||
"p99_ms": 59.5,
|
||||
"instances": {
|
||||
"65e3ad44afc9": 1914,
|
||||
"13b0fc8945bc": 1913
|
||||
},
|
||||
"name": "baseline"
|
||||
},
|
||||
{
|
||||
"from_s": 20.0,
|
||||
"to_s": 30.3,
|
||||
"requests": 82,
|
||||
"errors": 3,
|
||||
"rps_ok": 7.7,
|
||||
"error_rate_pct": 3.66,
|
||||
"p50_ms": 9.1,
|
||||
"p95_ms": 15.9,
|
||||
"p99_ms": 5011.2,
|
||||
"instances": {
|
||||
"65e3ad44afc9": 47,
|
||||
"13b0fc8945bc": 32
|
||||
},
|
||||
"name": "replica 13b0fc8945bc stopped",
|
||||
"errors_after_action": 21,
|
||||
"errors_in_first_cluster": 3,
|
||||
"first_error_after_s": 5.23,
|
||||
"recovery_seconds": 5.26
|
||||
},
|
||||
{
|
||||
"from_s": 30.3,
|
||||
"to_s": 42.2,
|
||||
"requests": 3327,
|
||||
"errors": 6,
|
||||
"rps_ok": 279.1,
|
||||
"error_rate_pct": 0.18,
|
||||
"p50_ms": 8.0,
|
||||
"p95_ms": 14.4,
|
||||
"p99_ms": 45.2,
|
||||
"instances": {
|
||||
"65e3ad44afc9": 1780,
|
||||
"13b0fc8945bc": 1541
|
||||
},
|
||||
"name": "after restore of 13b0fc8945bc",
|
||||
"errors_after_action": 18,
|
||||
"errors_in_first_cluster": 6,
|
||||
"first_error_after_s": 0.0,
|
||||
"recovery_seconds": 0.15
|
||||
},
|
||||
{
|
||||
"from_s": 42.2,
|
||||
"to_s": 52.4,
|
||||
"requests": 75,
|
||||
"errors": 5,
|
||||
"rps_ok": 6.9,
|
||||
"error_rate_pct": 6.67,
|
||||
"p50_ms": 7.9,
|
||||
"p95_ms": 12.9,
|
||||
"p99_ms": 5009.7,
|
||||
"instances": {
|
||||
"65e3ad44afc9": 27,
|
||||
"13b0fc8945bc": 43
|
||||
},
|
||||
"name": "replica 65e3ad44afc9 stopped",
|
||||
"errors_after_action": 12,
|
||||
"errors_in_first_cluster": 5,
|
||||
"first_error_after_s": 5.2,
|
||||
"recovery_seconds": 5.3
|
||||
},
|
||||
{
|
||||
"from_s": 52.4,
|
||||
"to_s": 64.3,
|
||||
"requests": 3313,
|
||||
"errors": 7,
|
||||
"rps_ok": 277.4,
|
||||
"error_rate_pct": 0.21,
|
||||
"p50_ms": 8.2,
|
||||
"p95_ms": 15.0,
|
||||
"p99_ms": 33.4,
|
||||
"instances": {
|
||||
"13b0fc8945bc": 1782,
|
||||
"65e3ad44afc9": 1524
|
||||
},
|
||||
"name": "after restore of 65e3ad44afc9",
|
||||
"errors_after_action": 7,
|
||||
"errors_in_first_cluster": 7,
|
||||
"first_error_after_s": 0.03,
|
||||
"recovery_seconds": 0.15
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"action": "stop",
|
||||
"target": "13b0fc8945bc",
|
||||
"exit_code": 0,
|
||||
"hook_seconds": 0.24,
|
||||
"at_s": 20.0
|
||||
},
|
||||
{
|
||||
"action": "restore",
|
||||
"exit_code": 0,
|
||||
"restore_seconds": 1.9,
|
||||
"at_s": 30.3
|
||||
},
|
||||
{
|
||||
"action": "stop",
|
||||
"target": "65e3ad44afc9",
|
||||
"exit_code": 0,
|
||||
"hook_seconds": 0.21,
|
||||
"at_s": 42.2
|
||||
},
|
||||
{
|
||||
"action": "restore",
|
||||
"exit_code": 0,
|
||||
"restore_seconds": 1.92,
|
||||
"at_s": 52.4
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"t_s": 20.0,
|
||||
"event": "STOP replica 13b0fc8945bc"
|
||||
},
|
||||
{
|
||||
"t_s": 20.3,
|
||||
"event": "stop-one.sh exit=0 in 0.2s"
|
||||
},
|
||||
{
|
||||
"t_s": 30.3,
|
||||
"event": "RESTORE replicas"
|
||||
},
|
||||
{
|
||||
"t_s": 32.2,
|
||||
"event": "restore-replicas.sh exit=0 in 1.9s: ['LB sees 2/2 api replicas UP']"
|
||||
},
|
||||
{
|
||||
"t_s": 42.2,
|
||||
"event": "STOP replica 65e3ad44afc9"
|
||||
},
|
||||
{
|
||||
"t_s": 42.4,
|
||||
"event": "stop-one.sh exit=0 in 0.2s"
|
||||
},
|
||||
{
|
||||
"t_s": 52.4,
|
||||
"event": "RESTORE replicas"
|
||||
},
|
||||
{
|
||||
"t_s": 54.3,
|
||||
"event": "restore-replicas.sh exit=0 in 1.9s: ['LB sees 2/2 api replicas UP']"
|
||||
}
|
||||
],
|
||||
"data_check": {
|
||||
"post_keys_used": 5948,
|
||||
"post_confirmed": 5948,
|
||||
"post_retries_with_same_key": 16,
|
||||
"confirmed_missing_or_duplicated": 0,
|
||||
"keys_with_duplicate_messages": 0,
|
||||
"unconfirmed_but_written_once": 0,
|
||||
"result": "PASS",
|
||||
"problems": []
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
second,ok,errors
|
||||
0,271,0
|
||||
1,289,0
|
||||
2,196,0
|
||||
3,214,0
|
||||
4,260,0
|
||||
5,241,0
|
||||
6,196,0
|
||||
7,196,0
|
||||
8,285,0
|
||||
9,262,0
|
||||
10,254,0
|
||||
11,263,0
|
||||
12,273,0
|
||||
13,286,0
|
||||
14,280,0
|
||||
15,221,0
|
||||
16,275,0
|
||||
17,246,0
|
||||
18,239,0
|
||||
19,298,0
|
||||
20,242,0
|
||||
21,200,0
|
||||
22,262,0
|
||||
23,271,0
|
||||
24,267,0
|
||||
25,235,0
|
||||
26,239,0
|
||||
27,247,0
|
||||
28,261,0
|
||||
29,266,0
|
||||
30,257,0
|
||||
31,263,0
|
||||
32,259,0
|
||||
33,254,0
|
||||
34,186,0
|
||||
36,16,0
|
||||
37,237,0
|
||||
38,274,0
|
||||
39,266,0
|
||||
40,232,0
|
||||
41,233,0
|
||||
42,253,0
|
||||
43,265,0
|
||||
44,272,0
|
||||
45,250,0
|
||||
46,235,0
|
||||
47,239,0
|
||||
48,267,0
|
||||
49,182,0
|
||||
50,152,0
|
||||
51,172,0
|
||||
52,171,0
|
||||
53,160,0
|
||||
54,164,0
|
||||
55,162,0
|
||||
56,167,0
|
||||
57,135,0
|
||||
58,157,0
|
||||
59,163,0
|
||||
60,183,0
|
||||
61,118,0
|
||||
64,80,0
|
||||
65,182,0
|
||||
66,221,0
|
||||
67,215,0
|
||||
68,249,0
|
||||
69,226,0
|
||||
70,248,0
|
||||
71,242,0
|
||||
72,259,0
|
||||
73,254,0
|
||||
74,185,0
|
||||
75,254,0
|
||||
76,63,0
|
||||
|
@@ -0,0 +1,189 @@
|
||||
{
|
||||
"scenario": "sequential-stop",
|
||||
"base_url": "http://localhost:8081",
|
||||
"workers": 8,
|
||||
"users_and_chats": 4,
|
||||
"think_time_s": 0.02,
|
||||
"replicas_before": [
|
||||
"6a5a3da59476",
|
||||
"73c5482d0d13"
|
||||
],
|
||||
"total_seconds": 76.3,
|
||||
"overall": {
|
||||
"from_s": 5,
|
||||
"to_s": 76.3,
|
||||
"requests": 15327,
|
||||
"errors": 0,
|
||||
"rps_ok": 215.0,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 9.9,
|
||||
"p95_ms": 48.3,
|
||||
"p99_ms": 71.5,
|
||||
"instances": {
|
||||
"6a5a3da59476": 7181,
|
||||
"73c5482d0d13": 8146
|
||||
}
|
||||
},
|
||||
"phases": [
|
||||
{
|
||||
"from_s": 5.0,
|
||||
"to_s": 20.0,
|
||||
"requests": 3815,
|
||||
"errors": 0,
|
||||
"rps_ok": 254.3,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 8.8,
|
||||
"p95_ms": 42.7,
|
||||
"p99_ms": 57.6,
|
||||
"instances": {
|
||||
"73c5482d0d13": 1907,
|
||||
"6a5a3da59476": 1908
|
||||
},
|
||||
"name": "baseline"
|
||||
},
|
||||
{
|
||||
"from_s": 20.0,
|
||||
"to_s": 33.8,
|
||||
"requests": 3483,
|
||||
"errors": 0,
|
||||
"rps_ok": 252.6,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 8.9,
|
||||
"p95_ms": 28.2,
|
||||
"p99_ms": 51.3,
|
||||
"instances": {
|
||||
"6a5a3da59476": 200,
|
||||
"73c5482d0d13": 3283
|
||||
},
|
||||
"name": "replica 6a5a3da59476 stopped",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from_s": 33.8,
|
||||
"to_s": 47.1,
|
||||
"requests": 2764,
|
||||
"errors": 0,
|
||||
"rps_ok": 208.1,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 8.9,
|
||||
"p95_ms": 36.0,
|
||||
"p99_ms": 69.4,
|
||||
"instances": {
|
||||
"73c5482d0d13": 1493,
|
||||
"6a5a3da59476": 1271
|
||||
},
|
||||
"name": "after restore of 6a5a3da59476",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from_s": 47.1,
|
||||
"to_s": 60.7,
|
||||
"requests": 2429,
|
||||
"errors": 0,
|
||||
"rps_ok": 177.8,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 16.2,
|
||||
"p95_ms": 66.4,
|
||||
"p99_ms": 76.1,
|
||||
"instances": {
|
||||
"73c5482d0d13": 246,
|
||||
"6a5a3da59476": 2183
|
||||
},
|
||||
"name": "replica 73c5482d0d13 stopped",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
},
|
||||
{
|
||||
"from_s": 60.7,
|
||||
"to_s": 76.3,
|
||||
"requests": 2833,
|
||||
"errors": 0,
|
||||
"rps_ok": 182.5,
|
||||
"error_rate_pct": 0.0,
|
||||
"p50_ms": 11.8,
|
||||
"p95_ms": 49.2,
|
||||
"p99_ms": 78.1,
|
||||
"instances": {
|
||||
"6a5a3da59476": 1618,
|
||||
"73c5482d0d13": 1215
|
||||
},
|
||||
"name": "after restore of 73c5482d0d13",
|
||||
"errors_after_action": 0,
|
||||
"recovery_seconds": 0.0
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"action": "stop",
|
||||
"target": "6a5a3da59476",
|
||||
"exit_code": 0,
|
||||
"hook_seconds": 3.79,
|
||||
"at_s": 20.0
|
||||
},
|
||||
{
|
||||
"action": "restore",
|
||||
"exit_code": 0,
|
||||
"restore_seconds": 3.28,
|
||||
"at_s": 33.8
|
||||
},
|
||||
{
|
||||
"action": "stop",
|
||||
"target": "73c5482d0d13",
|
||||
"exit_code": 0,
|
||||
"hook_seconds": 3.66,
|
||||
"at_s": 47.1
|
||||
},
|
||||
{
|
||||
"action": "restore",
|
||||
"exit_code": 0,
|
||||
"restore_seconds": 5.52,
|
||||
"at_s": 60.7
|
||||
}
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
"t_s": 20.0,
|
||||
"event": "STOP replica 6a5a3da59476"
|
||||
},
|
||||
{
|
||||
"t_s": 23.8,
|
||||
"event": "stop-one.sh exit=0 in 3.8s"
|
||||
},
|
||||
{
|
||||
"t_s": 33.8,
|
||||
"event": "RESTORE replicas"
|
||||
},
|
||||
{
|
||||
"t_s": 37.1,
|
||||
"event": "restore-replicas.sh exit=0 in 3.3s: ['LB sees 2/2 api replicas UP']"
|
||||
},
|
||||
{
|
||||
"t_s": 47.1,
|
||||
"event": "STOP replica 73c5482d0d13"
|
||||
},
|
||||
{
|
||||
"t_s": 50.7,
|
||||
"event": "stop-one.sh exit=0 in 3.7s"
|
||||
},
|
||||
{
|
||||
"t_s": 60.7,
|
||||
"event": "RESTORE replicas"
|
||||
},
|
||||
{
|
||||
"t_s": 66.3,
|
||||
"event": "restore-replicas.sh exit=0 in 5.5s: ['LB sees 2/2 api replicas UP']"
|
||||
}
|
||||
],
|
||||
"data_check": {
|
||||
"post_keys_used": 8277,
|
||||
"post_confirmed": 8277,
|
||||
"post_retries_with_same_key": 0,
|
||||
"confirmed_missing_or_duplicated": 0,
|
||||
"keys_with_duplicate_messages": 0,
|
||||
"unconfirmed_but_written_once": 0,
|
||||
"result": "PASS",
|
||||
"problems": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user