ЛР 3: HAProxy + 2 реплики, общая идемпотентность, rolling update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LOSYASH
2026-10-22 18:21:19 +03:00
co-authored by Claude Opus 5.5
parent 0ab3a341aa
commit a71c582195
54 changed files with 3192 additions and 40 deletions
+59
View File
@@ -0,0 +1,59 @@
{
"workload": "4 closed-loop writers, retry same key on failure, 4s before + 12s after stop",
"replicas": [
{
"stopped_instance": "b5c5b15326cd",
"stop_command_seconds": 1.99,
"before": {
"successful": 502,
"errors": 0,
"successful_rps": 125.4
},
"first_10s_after_stop": {
"successful": 990,
"errors": 1,
"successful_rps": 99.0
},
"first_success_after_stop_s": 0.001,
"max_gap_without_success_after_stop_s": 0.175,
"stopped_instance_served_after_3s": 0,
"instances_after_stop": [
"c2fc366c1f6b"
],
"history_messages": 2035,
"confirmed": 2035,
"lost_or_changed": 0,
"duplicate_texts": 0,
"retries_with_same_key": 1,
"rejoin_seconds": 3.7,
"rejoin_including_start_s": 4.03
},
{
"stopped_instance": "c2fc366c1f6b",
"stop_command_seconds": 0.99,
"before": {
"successful": 621,
"errors": 0,
"successful_rps": 155.2
},
"first_10s_after_stop": {
"successful": 915,
"errors": 1,
"successful_rps": 91.5
},
"first_success_after_stop_s": 0.002,
"max_gap_without_success_after_stop_s": 0.475,
"stopped_instance_served_after_3s": 0,
"instances_after_stop": [
"b5c5b15326cd"
],
"history_messages": 1698,
"confirmed": 1698,
"lost_or_changed": 0,
"duplicate_texts": 0,
"retries_with_same_key": 1,
"rejoin_seconds": 3.83,
"rejoin_including_start_s": 4.18
}
]
}