Добавить доказательства уровней 3 и 4: запуск, публичные проверки, отказ каждой реплики, рестарт стенда, гонки и общая идемпотентность, отказы и rolling update под нагрузкой
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
# make concurrency: phase 1 races of sends, phase 2 one Idempotency-Key in parallel through the balancer
|
||||
# date (UTC): 2026-11-04T10:01:14Z
|
||||
# commit: f5f8040 on solution/bpi2301-bakulin
|
||||
# host: Docker 28.5.1, 8 CPU, 12547280896 bytes RAM for the Linux VM; go1.27.1; Python 3.13.1
|
||||
|
||||
$ make concurrency BASE_URL=http://localhost:28080 EVIDENCE_DIR=evidence
|
||||
go run ./tools/concurrency --base-url "http://localhost:28080" --output "evidence/concurrency.json"
|
||||
{
|
||||
"base_url": "http://localhost:28080",
|
||||
"started_at": "2026-11-04T10:01:16.0582191Z",
|
||||
"clients": 10,
|
||||
"per_client": 10,
|
||||
"expected_messages": 100,
|
||||
"created_201": 100,
|
||||
"failed_posts": 0,
|
||||
"listed_messages": 100,
|
||||
"unique_ids": 100,
|
||||
"created_but_not_listed": 0,
|
||||
"history_ordered_by_id": true,
|
||||
"pages_read": 1,
|
||||
"elapsed_seconds": 0.5357041,
|
||||
"idempotency": {
|
||||
"rounds": 20,
|
||||
"parallel": 8,
|
||||
"same_message_rounds": 20,
|
||||
"instances_seen": 2,
|
||||
"require_two_replicas": true,
|
||||
"different_body_409": true,
|
||||
"history_messages": 20,
|
||||
"passed": true
|
||||
},
|
||||
"passed": true
|
||||
}
|
||||
PASS: 10 clients x 10 messages produced exactly 100 unique ordered messages
|
||||
PASS: 20 rounds x 8 parallel attempts with one key produced 20 messages across 2 instances
|
||||
|
||||
Reference in New Issue
Block a user