Выполнение 3 лабораторной работы
This commit is contained in:
@@ -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": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user