Доработать инструменты экспериментов: чередовать повторы, останавливать лестницу на первой проваленной ступени, задавать maxconn и CPU базы в сериях, записывать замер скорости хоста и контроль шума, сократить комментарии

This commit is contained in:
2026-11-04 12:39:04 +03:00
parent ce47c138e4
commit baa5995938
24 changed files with 253 additions and 240 deletions
+3 -6
View File
@@ -4,12 +4,9 @@
// then the history is paged and must contain exactly N*M unique messages in
// id order.
//
// Phase 2, shared idempotency: in each of K rounds one user sends the same
// message with the same Idempotency-Key P times in parallel, each attempt on
// its own connection, so the balancer spreads them over the replicas. Every
// attempt must answer 201 with the same message, the attempts must have
// reached at least two replicas, the history must hold exactly K messages,
// and the key with another text must answer 409.
// Phase 2: in each of K rounds one key is sent P times in parallel through the
// balancer; every attempt must get 201 with one message, at least two replicas
// must answer, the history must hold K messages, and another text must get 409.
package main
import (