perf: reuse authorized chat snapshot when reading history

This commit is contained in:
2026-11-15 19:33:13 +03:00
parent fa3a69d9b4
commit cabd0cacb3
52 changed files with 256655 additions and 6 deletions
+43
View File
@@ -0,0 +1,43 @@
series,replicas,concurrency,repeat,pool_size,successful_rps,errors,error_ratio,p50_ms,p95_ms,p99_ms
fixed,1,1,1,10,165.07767947989907,0,0.0,5.686,7.629,10.809
fixed,1,1,2,10,149.61439409018604,0,0.0,5.981,10.269,17.642
fixed,1,8,1,10,211.65991899019832,0,0.0,31.413,68.508,94.733
fixed,1,8,2,10,198.8283289091601,0,0.0,34.161,83.179,106.195
fixed,1,32,1,10,179.06741388685083,0,0.0,152.428,439.242,719.485
fixed,1,32,2,10,176.78095424063739,0,0.0,155.509,410.849,692.851
fixed,2,1,1,10,129.02990662137603,0,0.0,6.278,10.864,54.8
fixed,2,1,2,10,152.62929263739855,0,0.0,6.123,8.759,14.204
fixed,2,8,1,10,196.4800359108998,0,0.0,17.626,94.998,115.954
fixed,2,8,2,10,173.69962390399843,0,0.0,22.429,103.486,184.548
fixed,2,32,1,10,156.50040487681198,0,0.0,181.718,443.704,663.946
fixed,2,32,2,10,167.65953701338876,0,0.0,166.392,481.584,704.593
fixed,4,1,1,10,142.48482239783186,0,0.0,6.389,10.367,17.647
fixed,4,1,2,10,125.88207648163838,0,0.0,6.332,10.843,44.555
fixed,4,8,1,10,118.34539999970386,0,0.0,12.522,264.825,464.998
fixed,4,8,2,10,192.1342057427685,0,0.0,9.542,180.554,195.196
fixed,4,32,1,10,138.28620618496345,0,0.0,15.618,974.776,1248.537
fixed,4,32,2,10,118.77886331824459,0,0.0,198.297,792.454,1376.883
growing,1,1,1,10,116.48100146330145,0,0.0,5.944,16.399,77.405
growing,1,1,2,10,132.20926320279918,0,0.0,6.018,11.287,72.127
growing,1,8,1,10,109.33665681551416,0,0.0,86.76,103.52,114.182
growing,1,8,2,10,111.36479209555996,0,0.0,86.354,102.192,107.991
growing,1,32,1,10,97.35188039185765,0,0.0,308.314,415.437,489.101
growing,1,32,2,10,90.82762345324294,0,0.0,320.147,494.966,585.341
growing,2,1,1,10,124.799942422262,0,0.0,6.546,11.811,59.12
growing,2,1,2,10,140.46007909177436,0,0.0,6.62,10.59,16.863
growing,2,8,1,10,195.37255277667734,0,0.0,16.973,95.054,167.252
growing,2,8,2,10,175.30636015284236,0,0.0,19.372,102.439,184.685
growing,2,32,1,10,158.50391583720702,0,0.0,178.795,565.052,758.551
growing,2,32,2,10,170.11492222924323,0,0.0,177.916,475.635,605.655
growing,4,1,1,10,115.16211935610346,0,0.0,6.858,14.033,58.519
growing,4,1,2,10,131.5487532925524,0,0.0,6.616,11.609,22.638
growing,4,8,1,10,277.1422612739073,0,0.0,12.846,95.114,156.297
growing,4,8,2,10,238.7251942336141,0,0.0,14.245,120.368,204.822
growing,4,32,1,10,151.42242336820735,0,0.0,148.202,613.274,828.682
growing,4,32,2,10,166.35153942031727,0,0.0,127.253,541.513,733.458
pool,2,32,1,1,206.3668093701107,0,0.0,148.348,298.829,416.622
pool,2,32,1,10,157.87641931117705,0,0.0,204.863,416.938,510.686
pool,2,32,2,10,178.67593359431726,0,0.0,185.302,327.124,402.2
pool,2,32,2,1,168.0097097888627,0,0.0,179.629,394.52,504.704
pool,2,32,3,1,200.35677878454243,0,0.0,151.213,304.633,404.823
pool,2,32,3,10,175.76904087132343,0,0.0,190.759,392.898,474.386
1 series replicas concurrency repeat pool_size successful_rps errors error_ratio p50_ms p95_ms p99_ms
2 fixed 1 1 1 10 165.07767947989907 0 0.0 5.686 7.629 10.809
3 fixed 1 1 2 10 149.61439409018604 0 0.0 5.981 10.269 17.642
4 fixed 1 8 1 10 211.65991899019832 0 0.0 31.413 68.508 94.733
5 fixed 1 8 2 10 198.8283289091601 0 0.0 34.161 83.179 106.195
6 fixed 1 32 1 10 179.06741388685083 0 0.0 152.428 439.242 719.485
7 fixed 1 32 2 10 176.78095424063739 0 0.0 155.509 410.849 692.851
8 fixed 2 1 1 10 129.02990662137603 0 0.0 6.278 10.864 54.8
9 fixed 2 1 2 10 152.62929263739855 0 0.0 6.123 8.759 14.204
10 fixed 2 8 1 10 196.4800359108998 0 0.0 17.626 94.998 115.954
11 fixed 2 8 2 10 173.69962390399843 0 0.0 22.429 103.486 184.548
12 fixed 2 32 1 10 156.50040487681198 0 0.0 181.718 443.704 663.946
13 fixed 2 32 2 10 167.65953701338876 0 0.0 166.392 481.584 704.593
14 fixed 4 1 1 10 142.48482239783186 0 0.0 6.389 10.367 17.647
15 fixed 4 1 2 10 125.88207648163838 0 0.0 6.332 10.843 44.555
16 fixed 4 8 1 10 118.34539999970386 0 0.0 12.522 264.825 464.998
17 fixed 4 8 2 10 192.1342057427685 0 0.0 9.542 180.554 195.196
18 fixed 4 32 1 10 138.28620618496345 0 0.0 15.618 974.776 1248.537
19 fixed 4 32 2 10 118.77886331824459 0 0.0 198.297 792.454 1376.883
20 growing 1 1 1 10 116.48100146330145 0 0.0 5.944 16.399 77.405
21 growing 1 1 2 10 132.20926320279918 0 0.0 6.018 11.287 72.127
22 growing 1 8 1 10 109.33665681551416 0 0.0 86.76 103.52 114.182
23 growing 1 8 2 10 111.36479209555996 0 0.0 86.354 102.192 107.991
24 growing 1 32 1 10 97.35188039185765 0 0.0 308.314 415.437 489.101
25 growing 1 32 2 10 90.82762345324294 0 0.0 320.147 494.966 585.341
26 growing 2 1 1 10 124.799942422262 0 0.0 6.546 11.811 59.12
27 growing 2 1 2 10 140.46007909177436 0 0.0 6.62 10.59 16.863
28 growing 2 8 1 10 195.37255277667734 0 0.0 16.973 95.054 167.252
29 growing 2 8 2 10 175.30636015284236 0 0.0 19.372 102.439 184.685
30 growing 2 32 1 10 158.50391583720702 0 0.0 178.795 565.052 758.551
31 growing 2 32 2 10 170.11492222924323 0 0.0 177.916 475.635 605.655
32 growing 4 1 1 10 115.16211935610346 0 0.0 6.858 14.033 58.519
33 growing 4 1 2 10 131.5487532925524 0 0.0 6.616 11.609 22.638
34 growing 4 8 1 10 277.1422612739073 0 0.0 12.846 95.114 156.297
35 growing 4 8 2 10 238.7251942336141 0 0.0 14.245 120.368 204.822
36 growing 4 32 1 10 151.42242336820735 0 0.0 148.202 613.274 828.682
37 growing 4 32 2 10 166.35153942031727 0 0.0 127.253 541.513 733.458
38 pool 2 32 1 1 206.3668093701107 0 0.0 148.348 298.829 416.622
39 pool 2 32 1 10 157.87641931117705 0 0.0 204.863 416.938 510.686
40 pool 2 32 2 10 178.67593359431726 0 0.0 185.302 327.124 402.2
41 pool 2 32 2 1 168.0097097888627 0 0.0 179.629 394.52 504.704
42 pool 2 32 3 1 200.35677878454243 0 0.0 151.213 304.633 404.823
43 pool 2 32 3 10 175.76904087132343 0 0.0 190.759 392.898 474.386