This commit is contained in:
2026-10-25 21:46:21 +03:00
parent 5300a1a1e0
commit a7d6487e2d
33 changed files with 5965 additions and 556 deletions
+63
View File
@@ -0,0 +1,63 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="620" viewBox="0 0 1120 620">
<rect width="100%" height="100%" fill="#0e1013"/>
<style>
text { font-family: Inter, Segoe UI, sans-serif; fill: #eceef0; }
.title { font-size: 26px; font-weight: 650; }
.subtitle { font-size: 14px; fill: #aeb2b8; }
.label { font-size: 14px; fill: #c8cbd0; }
.small { font-size: 12px; fill: #a2a5aa; }
.grid { stroke: #34373d; stroke-width: 1; }
.axis { stroke: #747981; stroke-width: 1.5; }
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
.line2 { fill: none; stroke: #92979f; stroke-width: 3; }
.point { fill: #f4f5f6; }
.point2 { fill: #92979f; }
.bar { fill: #d7d9dc; }
.bar2 { fill: #777c84; }
.bar3 { fill: #4c5057; }
.threshold { stroke: #8f949c; stroke-width: 2; stroke-dasharray: 7 5; }
</style>
<text x="50" y="44" class="title">Saturation curve</text>
<text x="50" y="70" class="subtitle">Two API replicas; 1 CPU total; 16 total DB connections; PostgreSQL limited to 1 CPU</text>
<line x1="90" y1="500.0" x2="1030" y2="500.0" class="grid"/>
<text x="78" y="504.0" text-anchor="end" class="small">0</text>
<line x1="90" y1="422.0" x2="1030" y2="422.0" class="grid"/>
<text x="78" y="426.0" text-anchor="end" class="small">124</text>
<line x1="90" y1="344.0" x2="1030" y2="344.0" class="grid"/>
<text x="78" y="348.0" text-anchor="end" class="small">248</text>
<line x1="90" y1="266.0" x2="1030" y2="266.0" class="grid"/>
<text x="78" y="270.0" text-anchor="end" class="small">372</text>
<line x1="90" y1="188.0" x2="1030" y2="188.0" class="grid"/>
<text x="78" y="192.0" text-anchor="end" class="small">496</text>
<line x1="90" y1="110.0" x2="1030" y2="110.0" class="grid"/>
<text x="78" y="114.0" text-anchor="end" class="small">620</text>
<circle cx="90.0" cy="355.2" r="6" class="point"/>
<circle cx="90.0" cy="481.1" r="6" class="point2"/>
<text x="90.0" y="528" text-anchor="middle" class="label">1</text>
<text x="90.0" y="343.2" text-anchor="middle" class="small">230</text>
<circle cx="278.0" cy="298.7" r="6" class="point"/>
<circle cx="278.0" cy="473.1" r="6" class="point2"/>
<text x="278.0" y="528" text-anchor="middle" class="label">2</text>
<text x="278.0" y="286.7" text-anchor="middle" class="small">320</text>
<circle cx="466.0" cy="226.0" r="6" class="point"/>
<circle cx="466.0" cy="390.4" r="6" class="point2"/>
<text x="466.0" y="528" text-anchor="middle" class="label">4</text>
<text x="466.0" y="214.0" text-anchor="middle" class="small">436</text>
<circle cx="654.0" cy="204.0" r="6" class="point"/>
<circle cx="654.0" cy="289.7" r="6" class="point2"/>
<text x="654.0" y="528" text-anchor="middle" class="label">8</text>
<text x="654.0" y="192.0" text-anchor="middle" class="small">471</text>
<circle cx="842.0" cy="202.7" r="6" class="point"/>
<circle cx="842.0" cy="224.6" r="6" class="point2"/>
<text x="842.0" y="528" text-anchor="middle" class="label">16</text>
<text x="842.0" y="190.7" text-anchor="middle" class="small">473</text>
<circle cx="1030.0" cy="145.5" r="6" class="point"/>
<circle cx="1030.0" cy="145.5" r="6" class="point2"/>
<text x="1030.0" y="528" text-anchor="middle" class="label">32</text>
<text x="1030.0" y="133.5" text-anchor="middle" class="small">564</text>
<polyline points="90.0,355.2 278.0,298.7 466.0,226.0 654.0,204.0 842.0,202.7 1030.0,145.5" class="line"/>
<polyline points="90.0,481.1 278.0,473.1 466.0,390.4 654.0,289.7 842.0,224.6 1030.0,145.5" class="line2"/>
<text x="90" y="562" class="label">Concurrency</text>
<text x="810" y="562" class="label">white: RPS · gray: p95 normalized</text>
<text x="30" y="305.0" transform="rotate(-90 30 305.0)" class="label">Successful requests per second</text>
</svg>

After

Width:  |  Height:  |  Size: 3.6 KiB

+49
View File
@@ -0,0 +1,49 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="620" viewBox="0 0 1120 620">
<rect width="100%" height="100%" fill="#0e1013"/>
<style>
text { font-family: Inter, Segoe UI, sans-serif; fill: #eceef0; }
.title { font-size: 26px; font-weight: 650; }
.subtitle { font-size: 14px; fill: #aeb2b8; }
.label { font-size: 14px; fill: #c8cbd0; }
.small { font-size: 12px; fill: #a2a5aa; }
.grid { stroke: #34373d; stroke-width: 1; }
.axis { stroke: #747981; stroke-width: 1.5; }
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
.line2 { fill: none; stroke: #92979f; stroke-width: 3; }
.point { fill: #f4f5f6; }
.point2 { fill: #92979f; }
.bar { fill: #d7d9dc; }
.bar2 { fill: #777c84; }
.bar3 { fill: #4c5057; }
.threshold { stroke: #8f949c; stroke-width: 2; stroke-dasharray: 7 5; }
</style>
<text x="50" y="44" class="title">Fixed total API budget</text>
<text x="50" y="70" class="subtitle">1 CPU · 512 MiB · 16 DB connections split across 1, 2 and 4 replicas</text>
<line x1="90" y1="480.0" x2="1030" y2="480.0" class="grid"/>
<text x="78" y="484.0" text-anchor="end" class="small">0</text>
<line x1="90" y1="406.0" x2="1030" y2="406.0" class="grid"/>
<text x="78" y="410.0" text-anchor="end" class="small">133</text>
<line x1="90" y1="332.0" x2="1030" y2="332.0" class="grid"/>
<text x="78" y="336.0" text-anchor="end" class="small">266</text>
<line x1="90" y1="258.0" x2="1030" y2="258.0" class="grid"/>
<text x="78" y="262.0" text-anchor="end" class="small">399</text>
<line x1="90" y1="184.0" x2="1030" y2="184.0" class="grid"/>
<text x="78" y="188.0" text-anchor="end" class="small">532</text>
<line x1="90" y1="110.0" x2="1030" y2="110.0" class="grid"/>
<text x="78" y="114.0" text-anchor="end" class="small">665</text>
<rect x="171.7" y="158.3" width="150.0" height="321.7" rx="14" class="bar"/>
<text x="246.7" y="146.3" text-anchor="middle" class="label">578.2 RPS</text>
<text x="246.7" y="510" text-anchor="middle" class="label">1 replica(s)</text>
<text x="246.7" y="532" text-anchor="middle" class="small">p95 95.8 ms</text>
<text x="246.7" y="550" text-anchor="middle" class="small">errors 0.000%</text>
<rect x="485.0" y="185.4" width="150.0" height="294.6" rx="14" class="bar"/>
<text x="560.0" y="173.4" text-anchor="middle" class="label">529.5 RPS</text>
<text x="560.0" y="510" text-anchor="middle" class="label">2 replica(s)</text>
<text x="560.0" y="532" text-anchor="middle" class="small">p95 100.1 ms</text>
<text x="560.0" y="550" text-anchor="middle" class="small">errors 0.000%</text>
<rect x="798.3" y="283.1" width="150.0" height="196.9" rx="14" class="bar"/>
<text x="873.3" y="271.1" text-anchor="middle" class="label">354.0 RPS</text>
<text x="873.3" y="510" text-anchor="middle" class="label">4 replica(s)</text>
<text x="873.3" y="532" text-anchor="middle" class="small">p95 139.4 ms</text>
<text x="873.3" y="550" text-anchor="middle" class="small">errors 0.000%</text>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

+49
View File
@@ -0,0 +1,49 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="620" viewBox="0 0 1120 620">
<rect width="100%" height="100%" fill="#0e1013"/>
<style>
text { font-family: Inter, Segoe UI, sans-serif; fill: #eceef0; }
.title { font-size: 26px; font-weight: 650; }
.subtitle { font-size: 14px; fill: #aeb2b8; }
.label { font-size: 14px; fill: #c8cbd0; }
.small { font-size: 12px; fill: #a2a5aa; }
.grid { stroke: #34373d; stroke-width: 1; }
.axis { stroke: #747981; stroke-width: 1.5; }
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
.line2 { fill: none; stroke: #92979f; stroke-width: 3; }
.point { fill: #f4f5f6; }
.point2 { fill: #92979f; }
.bar { fill: #d7d9dc; }
.bar2 { fill: #777c84; }
.bar3 { fill: #4c5057; }
.threshold { stroke: #8f949c; stroke-width: 2; stroke-dasharray: 7 5; }
</style>
<text x="50" y="44" class="title">Growing API budget</text>
<text x="50" y="70" class="subtitle">Each replica adds 0.5 CPU · 256 MiB · 8 DB connections; PostgreSQL remains at 1 CPU</text>
<line x1="90" y1="480.0" x2="1030" y2="480.0" class="grid"/>
<text x="78" y="484.0" text-anchor="end" class="small">0</text>
<line x1="90" y1="406.0" x2="1030" y2="406.0" class="grid"/>
<text x="78" y="410.0" text-anchor="end" class="small">130</text>
<line x1="90" y1="332.0" x2="1030" y2="332.0" class="grid"/>
<text x="78" y="336.0" text-anchor="end" class="small">259</text>
<line x1="90" y1="258.0" x2="1030" y2="258.0" class="grid"/>
<text x="78" y="262.0" text-anchor="end" class="small">389</text>
<line x1="90" y1="184.0" x2="1030" y2="184.0" class="grid"/>
<text x="78" y="188.0" text-anchor="end" class="small">518</text>
<line x1="90" y1="110.0" x2="1030" y2="110.0" class="grid"/>
<text x="78" y="114.0" text-anchor="end" class="small">648</text>
<rect x="171.7" y="175.3" width="150.0" height="304.7" rx="14" class="bar"/>
<text x="246.7" y="163.3" text-anchor="middle" class="label">533.7 RPS</text>
<text x="246.7" y="510" text-anchor="middle" class="label">1 replica(s)</text>
<text x="246.7" y="532" text-anchor="middle" class="small">p95 93.5 ms</text>
<text x="246.7" y="550" text-anchor="middle" class="small">errors 0.000%</text>
<rect x="485.0" y="158.3" width="150.0" height="321.7" rx="14" class="bar"/>
<text x="560.0" y="146.3" text-anchor="middle" class="label">563.5 RPS</text>
<text x="560.0" y="510" text-anchor="middle" class="label">2 replica(s)</text>
<text x="560.0" y="532" text-anchor="middle" class="small">p95 96.4 ms</text>
<text x="560.0" y="550" text-anchor="middle" class="small">errors 0.000%</text>
<rect x="798.3" y="229.4" width="150.0" height="250.6" rx="14" class="bar"/>
<text x="873.3" y="217.4" text-anchor="middle" class="label">438.9 RPS</text>
<text x="873.3" y="510" text-anchor="middle" class="label">4 replica(s)</text>
<text x="873.3" y="532" text-anchor="middle" class="small">p95 109.4 ms</text>
<text x="873.3" y="550" text-anchor="middle" class="small">errors 0.000%</text>
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

+83
View File
@@ -0,0 +1,83 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="620" viewBox="0 0 1120 620">
<rect width="100%" height="100%" fill="#0e1013"/>
<style>
text { font-family: Inter, Segoe UI, sans-serif; fill: #eceef0; }
.title { font-size: 26px; font-weight: 650; }
.subtitle { font-size: 14px; fill: #aeb2b8; }
.label { font-size: 14px; fill: #c8cbd0; }
.small { font-size: 12px; fill: #a2a5aa; }
.grid { stroke: #34373d; stroke-width: 1; }
.axis { stroke: #747981; stroke-width: 1.5; }
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
.line2 { fill: none; stroke: #92979f; stroke-width: 3; }
.point { fill: #f4f5f6; }
.point2 { fill: #92979f; }
.bar { fill: #d7d9dc; }
.bar2 { fill: #777c84; }
.bar3 { fill: #4c5057; }
.threshold { stroke: #8f949c; stroke-width: 2; stroke-dasharray: 7 5; }
</style>
<text x="50" y="44" class="title">Where scaling stops</text>
<text x="50" y="70" class="subtitle">Aggregate service CPU during the proportional-growth series (api · postgres · HAProxy · frontend · redis)</text>
<line x1="90" y1="480.0" x2="1030" y2="480.0" class="grid"/>
<text x="78" y="484.0" text-anchor="end" class="small">0</text>
<line x1="90" y1="406.0" x2="1030" y2="406.0" class="grid"/>
<text x="78" y="410.0" text-anchor="end" class="small">20</text>
<line x1="90" y1="332.0" x2="1030" y2="332.0" class="grid"/>
<text x="78" y="336.0" text-anchor="end" class="small">39</text>
<line x1="90" y1="258.0" x2="1030" y2="258.0" class="grid"/>
<text x="78" y="262.0" text-anchor="end" class="small">59</text>
<line x1="90" y1="184.0" x2="1030" y2="184.0" class="grid"/>
<text x="78" y="188.0" text-anchor="end" class="small">79</text>
<line x1="90" y1="110.0" x2="1030" y2="110.0" class="grid"/>
<text x="78" y="114.0" text-anchor="end" class="small">98</text>
<rect x="127.6" y="336.1" width="48.0" height="143.9" rx="7" class="bar"/>
<text x="151.6" y="329.1" text-anchor="middle" class="small">38</text>
<text x="151.6" y="502" text-anchor="middle" class="small">api</text>
<rect x="184.6" y="189.6" width="48.0" height="290.4" rx="7" class="bar2"/>
<text x="208.6" y="182.6" text-anchor="middle" class="small">77</text>
<text x="208.6" y="502" text-anchor="middle" class="small">pos</text>
<rect x="241.6" y="404.6" width="48.0" height="75.4" rx="7" class="bar3"/>
<text x="265.6" y="397.6" text-anchor="middle" class="small">20</text>
<text x="265.6" y="502" text-anchor="middle" class="small">loa</text>
<rect x="298.6" y="477.4" width="48.0" height="2.6" rx="7" class="bar3"/>
<text x="322.6" y="470.4" text-anchor="middle" class="small">1</text>
<text x="322.6" y="502" text-anchor="middle" class="small">fro</text>
<rect x="355.6" y="476.4" width="48.0" height="3.6" rx="7" class="bar3"/>
<text x="379.6" y="469.4" text-anchor="middle" class="small">1</text>
<text x="379.6" y="502" text-anchor="middle" class="small">red</text>
<text x="246.7" y="532" text-anchor="middle" class="label">1 replica(s)</text>
<rect x="440.9" y="304.6" width="48.0" height="175.4" rx="7" class="bar"/>
<text x="464.9" y="297.6" text-anchor="middle" class="small">47</text>
<text x="464.9" y="502" text-anchor="middle" class="small">api</text>
<rect x="497.9" y="158.3" width="48.0" height="321.7" rx="7" class="bar2"/>
<text x="521.9" y="151.3" text-anchor="middle" class="small">86</text>
<text x="521.9" y="502" text-anchor="middle" class="small">pos</text>
<rect x="554.9" y="400.3" width="48.0" height="79.7" rx="7" class="bar3"/>
<text x="578.9" y="393.3" text-anchor="middle" class="small">21</text>
<text x="578.9" y="502" text-anchor="middle" class="small">loa</text>
<rect x="611.9" y="477.1" width="48.0" height="2.9" rx="7" class="bar3"/>
<text x="635.9" y="470.1" text-anchor="middle" class="small">1</text>
<text x="635.9" y="502" text-anchor="middle" class="small">fro</text>
<rect x="668.9" y="476.7" width="48.0" height="3.3" rx="7" class="bar3"/>
<text x="692.9" y="469.7" text-anchor="middle" class="small">1</text>
<text x="692.9" y="502" text-anchor="middle" class="small">red</text>
<text x="560.0" y="532" text-anchor="middle" class="label">2 replica(s)</text>
<rect x="754.3" y="345.8" width="48.0" height="134.2" rx="7" class="bar"/>
<text x="778.3" y="338.8" text-anchor="middle" class="small">36</text>
<text x="778.3" y="502" text-anchor="middle" class="small">api</text>
<rect x="811.3" y="161.1" width="48.0" height="318.9" rx="7" class="bar2"/>
<text x="835.3" y="154.1" text-anchor="middle" class="small">85</text>
<text x="835.3" y="502" text-anchor="middle" class="small">pos</text>
<rect x="868.3" y="421.4" width="48.0" height="58.6" rx="7" class="bar3"/>
<text x="892.3" y="414.4" text-anchor="middle" class="small">16</text>
<text x="892.3" y="502" text-anchor="middle" class="small">loa</text>
<rect x="925.3" y="477.5" width="48.0" height="2.5" rx="7" class="bar3"/>
<text x="949.3" y="470.5" text-anchor="middle" class="small">1</text>
<text x="949.3" y="502" text-anchor="middle" class="small">fro</text>
<rect x="982.3" y="476.7" width="48.0" height="3.3" rx="7" class="bar3"/>
<text x="1006.3" y="469.7" text-anchor="middle" class="small">1</text>
<text x="1006.3" y="502" text-anchor="middle" class="small">red</text>
<text x="873.3" y="532" text-anchor="middle" class="label">4 replica(s)</text>
<text x="30" y="295.0" transform="rotate(-90 30 295.0)" class="label">Average aggregate CPU, %</text>
</svg>

After

Width:  |  Height:  |  Size: 5.2 KiB

+37
View File
@@ -0,0 +1,37 @@
<svg xmlns="http://www.w3.org/2000/svg" width="1120" height="620" viewBox="0 0 1120 620">
<rect width="100%" height="100%" fill="#0e1013"/>
<style>
text { font-family: Inter, Segoe UI, sans-serif; fill: #eceef0; }
.title { font-size: 26px; font-weight: 650; }
.subtitle { font-size: 14px; fill: #aeb2b8; }
.label { font-size: 14px; fill: #c8cbd0; }
.small { font-size: 12px; fill: #a2a5aa; }
.grid { stroke: #34373d; stroke-width: 1; }
.axis { stroke: #747981; stroke-width: 1.5; }
.line { fill: none; stroke: #f4f5f6; stroke-width: 3; }
.line2 { fill: none; stroke: #92979f; stroke-width: 3; }
.point { fill: #f4f5f6; }
.point2 { fill: #92979f; }
.bar { fill: #d7d9dc; }
.bar2 { fill: #777c84; }
.bar3 { fill: #4c5057; }
.threshold { stroke: #8f949c; stroke-width: 2; stroke-dasharray: 7 5; }
</style>
<text x="50" y="44" class="title">Confirmed improvement</text>
<text x="50" y="70" class="subtitle">Four API replicas unchanged; only the PostgreSQL CPU limit changes from 1 to 2</text>
<text x="90" y="98" class="label">Successful RPS</text>
<rect x="125" y="248.4" width="120" height="211.6" rx="14" class="bar2"/>
<text x="185" y="238.4" text-anchor="middle" class="label">438.9</text>
<text x="185" y="488" text-anchor="middle" class="small">PG 1 CPU</text>
<rect x="310" y="176.7" width="120" height="283.3" rx="14" class="bar"/>
<text x="370" y="166.7" text-anchor="middle" class="label">587.6</text>
<text x="370" y="488" text-anchor="middle" class="small">PG 2 CPU</text>
<text x="630" y="98" class="label">p95 latency, ms</text>
<rect x="665" y="176.7" width="120" height="283.3" rx="14" class="bar2"/>
<text x="725" y="166.7" text-anchor="middle" class="label">109.4</text>
<text x="725" y="488" text-anchor="middle" class="small">PG 1 CPU</text>
<rect x="850" y="216.7" width="120" height="243.3" rx="14" class="bar"/>
<text x="910" y="206.7" text-anchor="middle" class="label">94.0</text>
<text x="910" y="488" text-anchor="middle" class="small">PG 2 CPU</text>
<text x="90" y="545" class="label">RPS change: +33.88% · p95 change: -14.12% · confirmed: true</text>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

+69
View File
@@ -0,0 +1,69 @@
# Lab 3 grade-5 scaling experiment
Generated: 2026-10-23T15:23:12.734339+00:00.
## Hypothesis
API replicas stop improving throughput when shared PostgreSQL CPU saturates; adding PostgreSQL CPU should improve the unchanged four-replica profile.
## Reproduction
- workload: closed-loop POST messages through the public HAProxy gateway; unique idempotency keys; no client retries;
- phase duration: 10 s;
- comparison concurrency: 32;
- saturation sweep: [1, 2, 4, 8, 16, 32];
- fixed budget: 1.00 API CPU, 512 MiB API RAM, 16 total DB pool connections;
- growth series: 0.50 API CPU, 256 MiB RAM and 8 DB pool connections per replica;
- saturation rule: RPS gain below 10% and p95 growth at least 1.5x versus the previous step;
- host: 8 logical CPU, 3813.6 MiB RAM;
- Docker 29.7.2, Compose 5.5.0;
- command: `make grade5-experiment`; warmup runs before every changed profile.
## Measurements
| Phase | Replicas | Concurrency | RPS | Errors | p50 ms | p95 ms | p99 ms | PG CPU avg | API CPU avg |
| --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: | ---: |
| saturation-c1 | 2 | 1 | 230.369 | 0 (0.000%) | 3.839 | 5.065 | 6.282 | 23.9 | 26.85 |
| saturation-c2 | 2 | 2 | 320.19 | 0 (0.000%) | 5.192 | 7.196 | 15.11 | 54.987 | 48.3 |
| saturation-c4 | 2 | 4 | 435.822 | 0 (0.000%) | 6.171 | 29.304 | 47.665 | 63.093 | 54.453 |
| saturation-c8 | 2 | 8 | 470.828 | 0 (0.000%) | 9.159 | 56.23 | 70.71 | 65.945 | 48.505 |
| saturation-c16 | 2 | 16 | 472.892 | 0 (0.000%) | 19.862 | 73.628 | 98.773 | 65.08 | 38.028 |
| saturation-c32 | 2 | 32 | 564.012 | 0 (0.000%) | 51.089 | 94.785 | 109.138 | 83.825 | 51.965 |
| fixed-r1 | 1 | 32 | 578.242 | 0 (0.000%) | 48.579 | 95.757 | 115.549 | 79.058 | 36.575 |
| fixed-r2 | 2 | 32 | 529.499 | 0 (0.000%) | 53.316 | 100.145 | 129.953 | 81.065 | 44.7 |
| fixed-r4 | 4 | 32 | 353.955 | 0 (0.000%) | 69.354 | 139.408 | 291.312 | 74.677 | 46.25 |
| growth-r1 | 1 | 32 | 533.656 | 0 (0.000%) | 53.378 | 93.541 | 115.58 | 77.252 | 38.273 |
| growth-r2 | 2 | 32 | 563.46 | 0 (0.000%) | 50.516 | 96.428 | 129.46 | 85.597 | 46.653 |
| growth-r4 | 4 | 32 | 438.868 | 0 (0.000%) | 68.331 | 109.446 | 199.616 | 84.847 | 35.69 |
| improved-db-cpu-r4 | 4 | 32 | 587.574 | 0 (0.000%) | 49.466 | 93.991 | 112.002 | 95.573 | 55.2 |
## Conclusion
The first saturation signal appears at concurrency 8: RPS changes by +8.03% while p95 changes by 1.92x versus concurrency 4.
Observed bottleneck classification: `postgres_cpu`.
The PostgreSQL CPU change produced +33.88% RPS and -14.12% p95; confirmed improvement: `true`.
After the improvement the remaining bottleneck classification is `load_balancer_cpu`.
## Graphs
![Saturation](01-saturation.svg)
![Fixed budget](02-fixed-total.svg)
![Growing budget](03-resource-growth.svg)
![Bottleneck](04-bottleneck.svg)
![Improvement](05-improvement.svg)
## Raw data and limits
Raw aggregates are in `measurements.csv`; one-second request buckets are in `timeseries.csv`; every resource sample is in `resources.csv`; complete metadata and applied limits are in `results.json`.
- single Docker host: replicas do not prove host-level availability
- closed-loop workload has coordinated omission
- successful-response latency percentiles are reported separately from failures
- one measured run per profile; host scheduling noise is possible
+14
View File
@@ -0,0 +1,14 @@
phase,kind,replicas,concurrency,elapsed_seconds,successful_requests,failed_requests,error_ratio,successful_rps,p50_ms,p95_ms,p99_ms,api_cpu_avg,postgres_cpu_avg,load_balancer_cpu_avg,frontend_cpu_avg,redis_cpu_avg
saturation-c1,saturation,2,1,10.731,2472,0,0.0,230.369,3.839,5.065,6.282,26.85,23.9,11.662,0.688,0.8
saturation-c2,saturation,2,2,10.915,3495,0,0.0,320.19,5.192,7.196,15.11,48.3,54.987,19.13,0.325,0.193
saturation-c4,saturation,2,4,10.832,4721,0,0.0,435.822,6.171,29.304,47.665,54.453,63.093,20.843,0.95,0.81
saturation-c8,saturation,2,8,10.821,5095,0,0.0,470.828,9.159,56.23,70.71,48.505,65.945,20.867,0.86,0.953
saturation-c16,saturation,2,16,10.876,5143,0,0.0,472.892,19.862,73.628,98.773,38.028,65.08,20.98,1.113,0.172
saturation-c32,saturation,2,32,10.808,6096,0,0.0,564.012,51.089,94.785,109.138,51.965,83.825,21.163,1.837,2.475
fixed-r1,fixed,1,32,10.88,6291,0,0.0,578.242,48.579,95.757,115.549,36.575,79.058,20.732,0.005,1.232
fixed-r2,fixed,2,32,10.905,5774,0,0.0,529.499,53.316,100.145,129.953,44.7,81.065,21.15,0.823,1.093
fixed-r4,fixed,4,32,11.917,4218,0,0.0,353.955,69.354,139.408,291.312,46.25,74.677,21.18,0.637,2.715
growth-r1,growth,1,32,10.951,5844,0,0.0,533.656,53.378,93.541,115.58,38.273,77.252,20.062,0.693,0.958
growth-r2,growth,2,32,10.796,6083,0,0.0,563.46,50.516,96.428,129.46,46.653,85.597,21.192,0.765,0.865
growth-r4,growth,4,32,10.682,4688,0,0.0,438.868,68.331,109.446,199.616,35.69,84.847,15.595,0.667,0.873
improved-db-cpu-r4,improvement,4,32,10.601,6229,0,0.0,587.574,49.466,93.991,112.002,55.2,95.573,22.35,0.83,0.458
1 phase kind replicas concurrency elapsed_seconds successful_requests failed_requests error_ratio successful_rps p50_ms p95_ms p99_ms api_cpu_avg postgres_cpu_avg load_balancer_cpu_avg frontend_cpu_avg redis_cpu_avg
2 saturation-c1 saturation 2 1 10.731 2472 0 0.0 230.369 3.839 5.065 6.282 26.85 23.9 11.662 0.688 0.8
3 saturation-c2 saturation 2 2 10.915 3495 0 0.0 320.19 5.192 7.196 15.11 48.3 54.987 19.13 0.325 0.193
4 saturation-c4 saturation 2 4 10.832 4721 0 0.0 435.822 6.171 29.304 47.665 54.453 63.093 20.843 0.95 0.81
5 saturation-c8 saturation 2 8 10.821 5095 0 0.0 470.828 9.159 56.23 70.71 48.505 65.945 20.867 0.86 0.953
6 saturation-c16 saturation 2 16 10.876 5143 0 0.0 472.892 19.862 73.628 98.773 38.028 65.08 20.98 1.113 0.172
7 saturation-c32 saturation 2 32 10.808 6096 0 0.0 564.012 51.089 94.785 109.138 51.965 83.825 21.163 1.837 2.475
8 fixed-r1 fixed 1 32 10.88 6291 0 0.0 578.242 48.579 95.757 115.549 36.575 79.058 20.732 0.005 1.232
9 fixed-r2 fixed 2 32 10.905 5774 0 0.0 529.499 53.316 100.145 129.953 44.7 81.065 21.15 0.823 1.093
10 fixed-r4 fixed 4 32 11.917 4218 0 0.0 353.955 69.354 139.408 291.312 46.25 74.677 21.18 0.637 2.715
11 growth-r1 growth 1 32 10.951 5844 0 0.0 533.656 53.378 93.541 115.58 38.273 77.252 20.062 0.693 0.958
12 growth-r2 growth 2 32 10.796 6083 0 0.0 563.46 50.516 96.428 129.46 46.653 85.597 21.192 0.765 0.865
13 growth-r4 growth 4 32 10.682 4688 0 0.0 438.868 68.331 109.446 199.616 35.69 84.847 15.595 0.667 0.873
14 improved-db-cpu-r4 improvement 4 32 10.601 6229 0 0.0 587.574 49.466 93.991 112.002 55.2 95.573 22.35 0.83 0.458
+261
View File
@@ -0,0 +1,261 @@
phase,t,service,containers,cpu_percent,memory_mib
saturation-c1,0.0,api,2,26.09,17.976
saturation-c1,0.0,frontend,1,1.61,7.578
saturation-c1,0.0,load-balancer,1,13.0,17.18
saturation-c1,0.0,postgres,1,28.57,169.0
saturation-c1,0.0,redis,1,0.15,15.28
saturation-c1,2.356,api,2,32.65,16.886
saturation-c1,2.356,frontend,1,0.02,7.617
saturation-c1,2.356,load-balancer,1,13.32,17.23
saturation-c1,2.356,postgres,1,28.96,169.5
saturation-c1,2.356,redis,1,2.75,15.4
saturation-c1,5.485,api,2,27.72,17.586
saturation-c1,5.485,frontend,1,0.0,7.383
saturation-c1,5.485,load-balancer,1,13.69,17.41
saturation-c1,5.485,postgres,1,29.41,170.1
saturation-c1,5.485,redis,1,0.15,15.28
saturation-c1,8.605,api,2,20.94,17.41
saturation-c1,8.605,frontend,1,1.12,12.06
saturation-c1,8.605,load-balancer,1,6.64,17.24
saturation-c1,8.605,postgres,1,8.66,170.5
saturation-c1,8.605,redis,1,0.15,15.53
saturation-c2,0.001,api,2,51.0,17.761
saturation-c2,0.001,frontend,1,0.03,7.617
saturation-c2,0.001,load-balancer,1,24.78,17.71
saturation-c2,0.001,postgres,1,57.44,171.2
saturation-c2,0.001,redis,1,0.17,16.03
saturation-c2,2.361,api,2,45.61,17.516
saturation-c2,2.361,frontend,1,0.03,7.367
saturation-c2,2.361,load-balancer,1,24.6,17.41
saturation-c2,2.361,postgres,1,49.85,172.6
saturation-c2,2.361,redis,1,0.18,15.28
saturation-c2,5.543,api,2,51.19,16.258
saturation-c2,5.543,frontend,1,0.02,7.367
saturation-c2,5.543,load-balancer,1,24.27,17.91
saturation-c2,5.543,postgres,1,62.6,173.0
saturation-c2,5.543,redis,1,0.21,15.28
saturation-c2,8.736,api,2,45.4,17.082
saturation-c2,8.736,frontend,1,1.22,8.121
saturation-c2,8.736,load-balancer,1,2.87,17.2
saturation-c2,8.736,postgres,1,50.06,173.8
saturation-c2,8.736,redis,1,0.21,15.78
saturation-c4,0.001,api,2,65.41,17.297
saturation-c4,0.001,frontend,1,0.03,7.367
saturation-c4,0.001,load-balancer,1,25.95,17.71
saturation-c4,0.001,postgres,1,81.8,174.4
saturation-c4,0.001,redis,1,0.19,15.28
saturation-c4,2.372,api,2,60.01,18.188
saturation-c4,2.372,frontend,1,3.75,7.965
saturation-c4,2.372,load-balancer,1,26.04,17.46
saturation-c4,2.372,postgres,1,79.42,175.4
saturation-c4,2.372,redis,1,0.16,15.53
saturation-c4,5.501,api,2,56.53,17.433
saturation-c4,5.501,frontend,1,0.02,7.367
saturation-c4,5.501,load-balancer,1,25.9,21.22
saturation-c4,5.501,postgres,1,73.71,175.7
saturation-c4,5.501,redis,1,0.18,15.28
saturation-c4,8.662,api,2,35.86,16.699
saturation-c4,8.662,frontend,1,0.0,7.367
saturation-c4,8.662,load-balancer,1,5.48,17.53
saturation-c4,8.662,postgres,1,17.44,177.2
saturation-c4,8.662,redis,1,2.71,16.1
saturation-c8,0.006,api,2,48.34,17.403
saturation-c8,0.006,frontend,1,0.0,7.367
saturation-c8,0.006,load-balancer,1,25.42,20.12
saturation-c8,0.006,postgres,1,77.51,185.1
saturation-c8,0.006,redis,1,0.18,15.28
saturation-c8,2.372,api,2,57.14,18.602
saturation-c8,2.372,frontend,1,3.44,7.734
saturation-c8,2.372,load-balancer,1,26.83,17.14
saturation-c8,2.372,postgres,1,92.98,188.5
saturation-c8,2.372,redis,1,3.34,15.28
saturation-c8,5.527,api,2,48.26,18.192
saturation-c8,5.527,frontend,1,0.0,7.363
saturation-c8,5.527,load-balancer,1,25.47,17.28
saturation-c8,5.527,postgres,1,76.05,189.4
saturation-c8,5.527,redis,1,0.15,15.28
saturation-c8,8.685,api,2,40.28,21.813
saturation-c8,8.685,frontend,1,0.0,7.363
saturation-c8,8.685,load-balancer,1,5.75,17.64
saturation-c8,8.685,postgres,1,17.24,190.4
saturation-c8,8.685,redis,1,0.14,15.28
saturation-c16,0.015,api,2,44.39,18.796
saturation-c16,0.015,frontend,1,0.0,7.363
saturation-c16,0.015,load-balancer,1,26.92,17.44
saturation-c16,0.015,postgres,1,82.81,205.9
saturation-c16,0.015,redis,1,0.17,15.28
saturation-c16,2.354,api,2,56.54,17.856
saturation-c16,2.354,frontend,1,0.03,7.375
saturation-c16,2.354,load-balancer,1,26.66,17.69
saturation-c16,2.354,postgres,1,88.93,207.7
saturation-c16,2.354,redis,1,0.19,15.75
saturation-c16,5.525,api,2,41.39,17.73
saturation-c16,5.525,frontend,1,4.4,7.379
saturation-c16,5.525,load-balancer,1,25.76,17.7
saturation-c16,5.525,postgres,1,72.49,208.6
saturation-c16,5.525,redis,1,0.18,15.25
saturation-c16,8.731,api,2,9.79,18.257
saturation-c16,8.731,frontend,1,0.02,7.375
saturation-c16,8.731,load-balancer,1,4.58,17.55
saturation-c16,8.731,postgres,1,16.09,209.7
saturation-c16,8.731,redis,1,0.15,15.33
saturation-c32,0.039,api,2,55.84,18.75
saturation-c32,0.039,frontend,1,6.63,8.125
saturation-c32,0.039,load-balancer,1,25.97,18.0
saturation-c32,0.039,postgres,1,104.2,210.6
saturation-c32,0.039,redis,1,5.85,15.05
saturation-c32,2.29,api,2,56.87,18.933
saturation-c32,2.29,frontend,1,0.0,7.625
saturation-c32,2.29,load-balancer,1,27.03,19.23
saturation-c32,2.29,postgres,1,105.41,212.1
saturation-c32,2.29,redis,1,0.19,15.55
saturation-c32,5.446,api,2,64.13,19.003
saturation-c32,5.446,frontend,1,0.7,7.375
saturation-c32,5.446,load-balancer,1,26.33,18.27
saturation-c32,5.446,postgres,1,107.62,213.1
saturation-c32,5.446,redis,1,3.7,15.27
saturation-c32,8.653,api,2,31.02,19.379
saturation-c32,8.653,frontend,1,0.02,7.625
saturation-c32,8.653,load-balancer,1,5.32,18.36
saturation-c32,8.653,postgres,1,18.07,213.5
saturation-c32,8.653,redis,1,0.16,15.26
fixed-r1,0.034,api,1,45.68,10.61
fixed-r1,0.034,frontend,1,0.02,7.359
fixed-r1,0.034,load-balancer,1,25.97,18.08
fixed-r1,0.034,postgres,1,106.86,214.7
fixed-r1,0.034,redis,1,4.41,15.3
fixed-r1,2.424,api,1,48.23,11.36
fixed-r1,2.424,frontend,1,0.0,7.699
fixed-r1,2.424,load-balancer,1,27.02,22.21
fixed-r1,2.424,postgres,1,96.33,215.7
fixed-r1,2.424,redis,1,0.14,15.44
fixed-r1,5.588,api,1,48.84,12.07
fixed-r1,5.588,frontend,1,0.0,7.359
fixed-r1,5.588,load-balancer,1,26.38,18.43
fixed-r1,5.588,postgres,1,104.71,217.4
fixed-r1,5.588,redis,1,0.19,15.92
fixed-r1,8.743,api,1,3.55,11.93
fixed-r1,8.743,frontend,1,0.0,7.508
fixed-r1,8.743,load-balancer,1,3.56,17.96
fixed-r1,8.743,postgres,1,8.33,218.1
fixed-r1,8.743,redis,1,0.19,16.07
fixed-r2,0.041,api,2,52.24,18.086
fixed-r2,0.041,frontend,1,0.0,7.359
fixed-r2,0.041,load-balancer,1,26.74,18.2
fixed-r2,0.041,postgres,1,100.69,219.4
fixed-r2,0.041,redis,1,3.81,15.18
fixed-r2,2.379,api,2,65.39,18.801
fixed-r2,2.379,frontend,1,1.92,7.859
fixed-r2,2.379,load-balancer,1,26.23,18.61
fixed-r2,2.379,postgres,1,106.33,221.3
fixed-r2,2.379,redis,1,0.16,15.16
fixed-r2,5.564,api,2,54.12,18.379
fixed-r2,5.564,frontend,1,1.37,10.54
fixed-r2,5.564,load-balancer,1,25.33,18.35
fixed-r2,5.564,postgres,1,103.06,222.7
fixed-r2,5.564,redis,1,0.2,14.93
fixed-r2,8.728,api,2,7.05,18.086
fixed-r2,8.728,frontend,1,0.0,7.363
fixed-r2,8.728,load-balancer,1,6.3,17.82
fixed-r2,8.728,postgres,1,14.18,223.3
fixed-r2,8.728,redis,1,0.2,15.43
fixed-r4,0.095,api,4,51.98,27.492
fixed-r4,0.095,frontend,1,0.0,7.363
fixed-r4,0.095,load-balancer,1,27.15,19.06
fixed-r4,0.095,postgres,1,90.1,223.1
fixed-r4,0.095,redis,1,5.94,16.87
fixed-r4,3.244,api,4,64.6,33.144
fixed-r4,3.244,frontend,1,0.02,7.359
fixed-r4,3.244,load-balancer,1,26.34,18.58
fixed-r4,3.244,postgres,1,101.51,225.1
fixed-r4,3.244,redis,1,0.2,16.96
fixed-r4,6.45,api,4,65.35,34.281
fixed-r4,6.45,frontend,1,0.02,7.359
fixed-r4,6.45,load-balancer,1,26.27,18.56
fixed-r4,6.45,postgres,1,106.68,225.7
fixed-r4,6.45,redis,1,4.55,16.7
fixed-r4,9.725,api,4,3.07,32.867
fixed-r4,9.725,frontend,1,2.51,7.762
fixed-r4,9.725,load-balancer,1,4.96,17.89
fixed-r4,9.725,postgres,1,0.42,226.7
fixed-r4,9.725,redis,1,0.17,16.95
growth-r1,0.045,api,1,44.44,9.355
growth-r1,0.045,frontend,1,0.0,7.359
growth-r1,0.045,load-balancer,1,25.9,18.3
growth-r1,0.045,postgres,1,93.36,207.6
growth-r1,0.045,redis,1,3.22,18.55
growth-r1,2.404,api,1,50.32,9.379
growth-r1,2.404,frontend,1,0.0,7.363
growth-r1,2.404,load-balancer,1,25.42,18.36
growth-r1,2.404,postgres,1,96.7,209.4
growth-r1,2.404,redis,1,0.22,18.11
growth-r1,5.579,api,1,50.68,9.66
growth-r1,5.579,frontend,1,0.03,7.613
growth-r1,5.579,load-balancer,1,25.44,18.67
growth-r1,5.579,postgres,1,105.06,210.9
growth-r1,5.579,redis,1,0.22,17.84
growth-r1,8.767,api,1,7.65,9.262
growth-r1,8.767,frontend,1,2.74,8.02
growth-r1,8.767,load-balancer,1,3.49,17.86
growth-r1,8.767,postgres,1,13.89,211.8
growth-r1,8.767,redis,1,0.17,17.93
growth-r2,0.047,api,2,52.25,17.629
growth-r2,0.047,frontend,1,0.02,7.363
growth-r2,0.047,load-balancer,1,24.23,18.59
growth-r2,0.047,postgres,1,100.9,233.3
growth-r2,0.047,redis,1,0.14,17.16
growth-r2,2.292,api,2,62.86,17.606
growth-r2,2.292,frontend,1,0.0,7.355
growth-r2,2.292,load-balancer,1,25.57,18.19
growth-r2,2.292,postgres,1,105.07,235.3
growth-r2,2.292,redis,1,0.16,17.16
growth-r2,5.459,api,2,57.29,18.789
growth-r2,5.459,frontend,1,0.04,7.363
growth-r2,5.459,load-balancer,1,25.89,18.43
growth-r2,5.459,postgres,1,104.58,235.1
growth-r2,5.459,redis,1,0.17,17.73
growth-r2,8.628,api,2,14.21,17.832
growth-r2,8.628,frontend,1,3.0,8.062
growth-r2,8.628,load-balancer,1,9.08,18.0
growth-r2,8.628,postgres,1,31.84,234.3
growth-r2,8.628,redis,1,2.99,22.08
growth-r4,0.043,api,4,25.03,29.672
growth-r4,0.043,frontend,1,0.02,7.316
growth-r4,0.043,load-balancer,1,9.16,18.25
growth-r4,0.043,postgres,1,99.03,269.2
growth-r4,0.043,redis,1,0.15,16.5
growth-r4,2.197,api,4,48.89,31.184
growth-r4,2.197,frontend,1,2.63,7.305
growth-r4,2.197,load-balancer,1,23.31,18.25
growth-r4,2.197,postgres,1,100.3,284.5
growth-r4,2.197,redis,1,2.97,20.3
growth-r4,5.406,api,4,43.96,32.164
growth-r4,5.406,frontend,1,0.0,7.305
growth-r4,5.406,load-balancer,1,19.48,17.79
growth-r4,5.406,postgres,1,101.91,290.1
growth-r4,5.406,redis,1,0.19,16.68
growth-r4,8.538,api,4,24.88,32.855
growth-r4,8.538,frontend,1,0.02,7.551
growth-r4,8.538,load-balancer,1,10.43,17.5
growth-r4,8.538,postgres,1,38.15,279.9
growth-r4,8.538,redis,1,0.18,16.91
improved-db-cpu-r4,0.054,api,4,52.63,30.188
improved-db-cpu-r4,0.054,frontend,1,0.03,7.301
improved-db-cpu-r4,0.054,load-balancer,1,24.59,18.03
improved-db-cpu-r4,0.054,postgres,1,121.18,130.1
improved-db-cpu-r4,0.054,redis,1,1.35,16.63
improved-db-cpu-r4,2.129,api,4,70.26,36.812
improved-db-cpu-r4,2.129,frontend,1,0.0,7.301
improved-db-cpu-r4,2.129,load-balancer,1,25.64,18.99
improved-db-cpu-r4,2.129,postgres,1,106.99,141.4
improved-db-cpu-r4,2.129,redis,1,0.16,16.88
improved-db-cpu-r4,5.271,api,4,65.05,33.652
improved-db-cpu-r4,5.271,frontend,1,3.29,7.43
improved-db-cpu-r4,5.271,load-balancer,1,26.73,18.41
improved-db-cpu-r4,5.271,postgres,1,102.2,145.9
improved-db-cpu-r4,5.271,redis,1,0.14,16.63
improved-db-cpu-r4,8.446,api,4,32.86,34.023
improved-db-cpu-r4,8.446,frontend,1,0.0,7.301
improved-db-cpu-r4,8.446,load-balancer,1,12.44,18.0
improved-db-cpu-r4,8.446,postgres,1,51.92,147.6
improved-db-cpu-r4,8.446,redis,1,0.18,16.88
1 phase t service containers cpu_percent memory_mib
2 saturation-c1 0.0 api 2 26.09 17.976
3 saturation-c1 0.0 frontend 1 1.61 7.578
4 saturation-c1 0.0 load-balancer 1 13.0 17.18
5 saturation-c1 0.0 postgres 1 28.57 169.0
6 saturation-c1 0.0 redis 1 0.15 15.28
7 saturation-c1 2.356 api 2 32.65 16.886
8 saturation-c1 2.356 frontend 1 0.02 7.617
9 saturation-c1 2.356 load-balancer 1 13.32 17.23
10 saturation-c1 2.356 postgres 1 28.96 169.5
11 saturation-c1 2.356 redis 1 2.75 15.4
12 saturation-c1 5.485 api 2 27.72 17.586
13 saturation-c1 5.485 frontend 1 0.0 7.383
14 saturation-c1 5.485 load-balancer 1 13.69 17.41
15 saturation-c1 5.485 postgres 1 29.41 170.1
16 saturation-c1 5.485 redis 1 0.15 15.28
17 saturation-c1 8.605 api 2 20.94 17.41
18 saturation-c1 8.605 frontend 1 1.12 12.06
19 saturation-c1 8.605 load-balancer 1 6.64 17.24
20 saturation-c1 8.605 postgres 1 8.66 170.5
21 saturation-c1 8.605 redis 1 0.15 15.53
22 saturation-c2 0.001 api 2 51.0 17.761
23 saturation-c2 0.001 frontend 1 0.03 7.617
24 saturation-c2 0.001 load-balancer 1 24.78 17.71
25 saturation-c2 0.001 postgres 1 57.44 171.2
26 saturation-c2 0.001 redis 1 0.17 16.03
27 saturation-c2 2.361 api 2 45.61 17.516
28 saturation-c2 2.361 frontend 1 0.03 7.367
29 saturation-c2 2.361 load-balancer 1 24.6 17.41
30 saturation-c2 2.361 postgres 1 49.85 172.6
31 saturation-c2 2.361 redis 1 0.18 15.28
32 saturation-c2 5.543 api 2 51.19 16.258
33 saturation-c2 5.543 frontend 1 0.02 7.367
34 saturation-c2 5.543 load-balancer 1 24.27 17.91
35 saturation-c2 5.543 postgres 1 62.6 173.0
36 saturation-c2 5.543 redis 1 0.21 15.28
37 saturation-c2 8.736 api 2 45.4 17.082
38 saturation-c2 8.736 frontend 1 1.22 8.121
39 saturation-c2 8.736 load-balancer 1 2.87 17.2
40 saturation-c2 8.736 postgres 1 50.06 173.8
41 saturation-c2 8.736 redis 1 0.21 15.78
42 saturation-c4 0.001 api 2 65.41 17.297
43 saturation-c4 0.001 frontend 1 0.03 7.367
44 saturation-c4 0.001 load-balancer 1 25.95 17.71
45 saturation-c4 0.001 postgres 1 81.8 174.4
46 saturation-c4 0.001 redis 1 0.19 15.28
47 saturation-c4 2.372 api 2 60.01 18.188
48 saturation-c4 2.372 frontend 1 3.75 7.965
49 saturation-c4 2.372 load-balancer 1 26.04 17.46
50 saturation-c4 2.372 postgres 1 79.42 175.4
51 saturation-c4 2.372 redis 1 0.16 15.53
52 saturation-c4 5.501 api 2 56.53 17.433
53 saturation-c4 5.501 frontend 1 0.02 7.367
54 saturation-c4 5.501 load-balancer 1 25.9 21.22
55 saturation-c4 5.501 postgres 1 73.71 175.7
56 saturation-c4 5.501 redis 1 0.18 15.28
57 saturation-c4 8.662 api 2 35.86 16.699
58 saturation-c4 8.662 frontend 1 0.0 7.367
59 saturation-c4 8.662 load-balancer 1 5.48 17.53
60 saturation-c4 8.662 postgres 1 17.44 177.2
61 saturation-c4 8.662 redis 1 2.71 16.1
62 saturation-c8 0.006 api 2 48.34 17.403
63 saturation-c8 0.006 frontend 1 0.0 7.367
64 saturation-c8 0.006 load-balancer 1 25.42 20.12
65 saturation-c8 0.006 postgres 1 77.51 185.1
66 saturation-c8 0.006 redis 1 0.18 15.28
67 saturation-c8 2.372 api 2 57.14 18.602
68 saturation-c8 2.372 frontend 1 3.44 7.734
69 saturation-c8 2.372 load-balancer 1 26.83 17.14
70 saturation-c8 2.372 postgres 1 92.98 188.5
71 saturation-c8 2.372 redis 1 3.34 15.28
72 saturation-c8 5.527 api 2 48.26 18.192
73 saturation-c8 5.527 frontend 1 0.0 7.363
74 saturation-c8 5.527 load-balancer 1 25.47 17.28
75 saturation-c8 5.527 postgres 1 76.05 189.4
76 saturation-c8 5.527 redis 1 0.15 15.28
77 saturation-c8 8.685 api 2 40.28 21.813
78 saturation-c8 8.685 frontend 1 0.0 7.363
79 saturation-c8 8.685 load-balancer 1 5.75 17.64
80 saturation-c8 8.685 postgres 1 17.24 190.4
81 saturation-c8 8.685 redis 1 0.14 15.28
82 saturation-c16 0.015 api 2 44.39 18.796
83 saturation-c16 0.015 frontend 1 0.0 7.363
84 saturation-c16 0.015 load-balancer 1 26.92 17.44
85 saturation-c16 0.015 postgres 1 82.81 205.9
86 saturation-c16 0.015 redis 1 0.17 15.28
87 saturation-c16 2.354 api 2 56.54 17.856
88 saturation-c16 2.354 frontend 1 0.03 7.375
89 saturation-c16 2.354 load-balancer 1 26.66 17.69
90 saturation-c16 2.354 postgres 1 88.93 207.7
91 saturation-c16 2.354 redis 1 0.19 15.75
92 saturation-c16 5.525 api 2 41.39 17.73
93 saturation-c16 5.525 frontend 1 4.4 7.379
94 saturation-c16 5.525 load-balancer 1 25.76 17.7
95 saturation-c16 5.525 postgres 1 72.49 208.6
96 saturation-c16 5.525 redis 1 0.18 15.25
97 saturation-c16 8.731 api 2 9.79 18.257
98 saturation-c16 8.731 frontend 1 0.02 7.375
99 saturation-c16 8.731 load-balancer 1 4.58 17.55
100 saturation-c16 8.731 postgres 1 16.09 209.7
101 saturation-c16 8.731 redis 1 0.15 15.33
102 saturation-c32 0.039 api 2 55.84 18.75
103 saturation-c32 0.039 frontend 1 6.63 8.125
104 saturation-c32 0.039 load-balancer 1 25.97 18.0
105 saturation-c32 0.039 postgres 1 104.2 210.6
106 saturation-c32 0.039 redis 1 5.85 15.05
107 saturation-c32 2.29 api 2 56.87 18.933
108 saturation-c32 2.29 frontend 1 0.0 7.625
109 saturation-c32 2.29 load-balancer 1 27.03 19.23
110 saturation-c32 2.29 postgres 1 105.41 212.1
111 saturation-c32 2.29 redis 1 0.19 15.55
112 saturation-c32 5.446 api 2 64.13 19.003
113 saturation-c32 5.446 frontend 1 0.7 7.375
114 saturation-c32 5.446 load-balancer 1 26.33 18.27
115 saturation-c32 5.446 postgres 1 107.62 213.1
116 saturation-c32 5.446 redis 1 3.7 15.27
117 saturation-c32 8.653 api 2 31.02 19.379
118 saturation-c32 8.653 frontend 1 0.02 7.625
119 saturation-c32 8.653 load-balancer 1 5.32 18.36
120 saturation-c32 8.653 postgres 1 18.07 213.5
121 saturation-c32 8.653 redis 1 0.16 15.26
122 fixed-r1 0.034 api 1 45.68 10.61
123 fixed-r1 0.034 frontend 1 0.02 7.359
124 fixed-r1 0.034 load-balancer 1 25.97 18.08
125 fixed-r1 0.034 postgres 1 106.86 214.7
126 fixed-r1 0.034 redis 1 4.41 15.3
127 fixed-r1 2.424 api 1 48.23 11.36
128 fixed-r1 2.424 frontend 1 0.0 7.699
129 fixed-r1 2.424 load-balancer 1 27.02 22.21
130 fixed-r1 2.424 postgres 1 96.33 215.7
131 fixed-r1 2.424 redis 1 0.14 15.44
132 fixed-r1 5.588 api 1 48.84 12.07
133 fixed-r1 5.588 frontend 1 0.0 7.359
134 fixed-r1 5.588 load-balancer 1 26.38 18.43
135 fixed-r1 5.588 postgres 1 104.71 217.4
136 fixed-r1 5.588 redis 1 0.19 15.92
137 fixed-r1 8.743 api 1 3.55 11.93
138 fixed-r1 8.743 frontend 1 0.0 7.508
139 fixed-r1 8.743 load-balancer 1 3.56 17.96
140 fixed-r1 8.743 postgres 1 8.33 218.1
141 fixed-r1 8.743 redis 1 0.19 16.07
142 fixed-r2 0.041 api 2 52.24 18.086
143 fixed-r2 0.041 frontend 1 0.0 7.359
144 fixed-r2 0.041 load-balancer 1 26.74 18.2
145 fixed-r2 0.041 postgres 1 100.69 219.4
146 fixed-r2 0.041 redis 1 3.81 15.18
147 fixed-r2 2.379 api 2 65.39 18.801
148 fixed-r2 2.379 frontend 1 1.92 7.859
149 fixed-r2 2.379 load-balancer 1 26.23 18.61
150 fixed-r2 2.379 postgres 1 106.33 221.3
151 fixed-r2 2.379 redis 1 0.16 15.16
152 fixed-r2 5.564 api 2 54.12 18.379
153 fixed-r2 5.564 frontend 1 1.37 10.54
154 fixed-r2 5.564 load-balancer 1 25.33 18.35
155 fixed-r2 5.564 postgres 1 103.06 222.7
156 fixed-r2 5.564 redis 1 0.2 14.93
157 fixed-r2 8.728 api 2 7.05 18.086
158 fixed-r2 8.728 frontend 1 0.0 7.363
159 fixed-r2 8.728 load-balancer 1 6.3 17.82
160 fixed-r2 8.728 postgres 1 14.18 223.3
161 fixed-r2 8.728 redis 1 0.2 15.43
162 fixed-r4 0.095 api 4 51.98 27.492
163 fixed-r4 0.095 frontend 1 0.0 7.363
164 fixed-r4 0.095 load-balancer 1 27.15 19.06
165 fixed-r4 0.095 postgres 1 90.1 223.1
166 fixed-r4 0.095 redis 1 5.94 16.87
167 fixed-r4 3.244 api 4 64.6 33.144
168 fixed-r4 3.244 frontend 1 0.02 7.359
169 fixed-r4 3.244 load-balancer 1 26.34 18.58
170 fixed-r4 3.244 postgres 1 101.51 225.1
171 fixed-r4 3.244 redis 1 0.2 16.96
172 fixed-r4 6.45 api 4 65.35 34.281
173 fixed-r4 6.45 frontend 1 0.02 7.359
174 fixed-r4 6.45 load-balancer 1 26.27 18.56
175 fixed-r4 6.45 postgres 1 106.68 225.7
176 fixed-r4 6.45 redis 1 4.55 16.7
177 fixed-r4 9.725 api 4 3.07 32.867
178 fixed-r4 9.725 frontend 1 2.51 7.762
179 fixed-r4 9.725 load-balancer 1 4.96 17.89
180 fixed-r4 9.725 postgres 1 0.42 226.7
181 fixed-r4 9.725 redis 1 0.17 16.95
182 growth-r1 0.045 api 1 44.44 9.355
183 growth-r1 0.045 frontend 1 0.0 7.359
184 growth-r1 0.045 load-balancer 1 25.9 18.3
185 growth-r1 0.045 postgres 1 93.36 207.6
186 growth-r1 0.045 redis 1 3.22 18.55
187 growth-r1 2.404 api 1 50.32 9.379
188 growth-r1 2.404 frontend 1 0.0 7.363
189 growth-r1 2.404 load-balancer 1 25.42 18.36
190 growth-r1 2.404 postgres 1 96.7 209.4
191 growth-r1 2.404 redis 1 0.22 18.11
192 growth-r1 5.579 api 1 50.68 9.66
193 growth-r1 5.579 frontend 1 0.03 7.613
194 growth-r1 5.579 load-balancer 1 25.44 18.67
195 growth-r1 5.579 postgres 1 105.06 210.9
196 growth-r1 5.579 redis 1 0.22 17.84
197 growth-r1 8.767 api 1 7.65 9.262
198 growth-r1 8.767 frontend 1 2.74 8.02
199 growth-r1 8.767 load-balancer 1 3.49 17.86
200 growth-r1 8.767 postgres 1 13.89 211.8
201 growth-r1 8.767 redis 1 0.17 17.93
202 growth-r2 0.047 api 2 52.25 17.629
203 growth-r2 0.047 frontend 1 0.02 7.363
204 growth-r2 0.047 load-balancer 1 24.23 18.59
205 growth-r2 0.047 postgres 1 100.9 233.3
206 growth-r2 0.047 redis 1 0.14 17.16
207 growth-r2 2.292 api 2 62.86 17.606
208 growth-r2 2.292 frontend 1 0.0 7.355
209 growth-r2 2.292 load-balancer 1 25.57 18.19
210 growth-r2 2.292 postgres 1 105.07 235.3
211 growth-r2 2.292 redis 1 0.16 17.16
212 growth-r2 5.459 api 2 57.29 18.789
213 growth-r2 5.459 frontend 1 0.04 7.363
214 growth-r2 5.459 load-balancer 1 25.89 18.43
215 growth-r2 5.459 postgres 1 104.58 235.1
216 growth-r2 5.459 redis 1 0.17 17.73
217 growth-r2 8.628 api 2 14.21 17.832
218 growth-r2 8.628 frontend 1 3.0 8.062
219 growth-r2 8.628 load-balancer 1 9.08 18.0
220 growth-r2 8.628 postgres 1 31.84 234.3
221 growth-r2 8.628 redis 1 2.99 22.08
222 growth-r4 0.043 api 4 25.03 29.672
223 growth-r4 0.043 frontend 1 0.02 7.316
224 growth-r4 0.043 load-balancer 1 9.16 18.25
225 growth-r4 0.043 postgres 1 99.03 269.2
226 growth-r4 0.043 redis 1 0.15 16.5
227 growth-r4 2.197 api 4 48.89 31.184
228 growth-r4 2.197 frontend 1 2.63 7.305
229 growth-r4 2.197 load-balancer 1 23.31 18.25
230 growth-r4 2.197 postgres 1 100.3 284.5
231 growth-r4 2.197 redis 1 2.97 20.3
232 growth-r4 5.406 api 4 43.96 32.164
233 growth-r4 5.406 frontend 1 0.0 7.305
234 growth-r4 5.406 load-balancer 1 19.48 17.79
235 growth-r4 5.406 postgres 1 101.91 290.1
236 growth-r4 5.406 redis 1 0.19 16.68
237 growth-r4 8.538 api 4 24.88 32.855
238 growth-r4 8.538 frontend 1 0.02 7.551
239 growth-r4 8.538 load-balancer 1 10.43 17.5
240 growth-r4 8.538 postgres 1 38.15 279.9
241 growth-r4 8.538 redis 1 0.18 16.91
242 improved-db-cpu-r4 0.054 api 4 52.63 30.188
243 improved-db-cpu-r4 0.054 frontend 1 0.03 7.301
244 improved-db-cpu-r4 0.054 load-balancer 1 24.59 18.03
245 improved-db-cpu-r4 0.054 postgres 1 121.18 130.1
246 improved-db-cpu-r4 0.054 redis 1 1.35 16.63
247 improved-db-cpu-r4 2.129 api 4 70.26 36.812
248 improved-db-cpu-r4 2.129 frontend 1 0.0 7.301
249 improved-db-cpu-r4 2.129 load-balancer 1 25.64 18.99
250 improved-db-cpu-r4 2.129 postgres 1 106.99 141.4
251 improved-db-cpu-r4 2.129 redis 1 0.16 16.88
252 improved-db-cpu-r4 5.271 api 4 65.05 33.652
253 improved-db-cpu-r4 5.271 frontend 1 3.29 7.43
254 improved-db-cpu-r4 5.271 load-balancer 1 26.73 18.41
255 improved-db-cpu-r4 5.271 postgres 1 102.2 145.9
256 improved-db-cpu-r4 5.271 redis 1 0.14 16.63
257 improved-db-cpu-r4 8.446 api 4 32.86 34.023
258 improved-db-cpu-r4 8.446 frontend 1 0.0 7.301
259 improved-db-cpu-r4 8.446 load-balancer 1 12.44 18.0
260 improved-db-cpu-r4 8.446 postgres 1 51.92 147.6
261 improved-db-cpu-r4 8.446 redis 1 0.18 16.88
File diff suppressed because it is too large Load Diff
+144
View File
@@ -0,0 +1,144 @@
phase,second,successful,failed
saturation-c1,0,252,0
saturation-c1,1,266,0
saturation-c1,2,257,0
saturation-c1,3,262,0
saturation-c1,4,253,0
saturation-c1,5,249,0
saturation-c1,6,228,0
saturation-c1,7,240,0
saturation-c1,8,219,0
saturation-c1,9,244,0
saturation-c1,10,2,0
saturation-c2,0,444,0
saturation-c2,1,377,0
saturation-c2,2,352,0
saturation-c2,3,297,0
saturation-c2,4,383,0
saturation-c2,5,324,0
saturation-c2,6,275,0
saturation-c2,7,323,0
saturation-c2,8,333,0
saturation-c2,9,381,0
saturation-c2,10,6,0
saturation-c4,0,526,0
saturation-c4,1,453,0
saturation-c4,2,425,0
saturation-c4,3,478,0
saturation-c4,4,510,0
saturation-c4,5,468,0
saturation-c4,6,458,0
saturation-c4,7,428,0
saturation-c4,8,490,0
saturation-c4,9,474,0
saturation-c4,10,11,0
saturation-c8,0,532,0
saturation-c8,1,476,0
saturation-c8,2,530,0
saturation-c8,3,529,0
saturation-c8,4,490,0
saturation-c8,5,527,0
saturation-c8,6,445,0
saturation-c8,7,524,0
saturation-c8,8,507,0
saturation-c8,9,519,0
saturation-c8,10,16,0
saturation-c16,0,349,0
saturation-c16,1,592,0
saturation-c16,2,541,0
saturation-c16,3,491,0
saturation-c16,4,545,0
saturation-c16,5,420,0
saturation-c16,6,499,0
saturation-c16,7,529,0
saturation-c16,8,548,0
saturation-c16,9,601,0
saturation-c16,10,28,0
saturation-c32,0,661,0
saturation-c32,1,604,0
saturation-c32,2,610,0
saturation-c32,3,589,0
saturation-c32,4,571,0
saturation-c32,5,627,0
saturation-c32,6,587,0
saturation-c32,7,619,0
saturation-c32,8,629,0
saturation-c32,9,548,0
saturation-c32,10,51,0
fixed-r1,0,511,0
fixed-r1,1,580,0
fixed-r1,2,659,0
fixed-r1,3,687,0
fixed-r1,4,588,0
fixed-r1,5,675,0
fixed-r1,6,647,0
fixed-r1,7,701,0
fixed-r1,8,690,0
fixed-r1,9,521,0
fixed-r1,10,32,0
fixed-r2,0,452,0
fixed-r2,1,545,0
fixed-r2,2,604,0
fixed-r2,3,652,0
fixed-r2,4,521,0
fixed-r2,5,627,0
fixed-r2,6,571,0
fixed-r2,7,611,0
fixed-r2,8,573,0
fixed-r2,9,586,0
fixed-r2,10,32,0
fixed-r4,0,133,0
fixed-r4,1,276,0
fixed-r4,2,461,0
fixed-r4,3,406,0
fixed-r4,4,503,0
fixed-r4,5,487,0
fixed-r4,6,377,0
fixed-r4,7,427,0
fixed-r4,8,551,0
fixed-r4,9,547,0
fixed-r4,10,50,0
growth-r1,0,527,0
growth-r1,1,596,0
growth-r1,2,604,0
growth-r1,3,616,0
growth-r1,4,516,0
growth-r1,5,508,0
growth-r1,6,606,0
growth-r1,7,620,0
growth-r1,8,628,0
growth-r1,9,591,0
growth-r1,10,32,0
growth-r2,0,461,0
growth-r2,1,662,0
growth-r2,2,670,0
growth-r2,3,655,0
growth-r2,4,640,0
growth-r2,5,495,0
growth-r2,6,635,0
growth-r2,7,626,0
growth-r2,8,598,0
growth-r2,9,609,0
growth-r2,10,32,0
growth-r4,0,106,0
growth-r4,1,514,0
growth-r4,2,587,0
growth-r4,3,506,0
growth-r4,4,423,0
growth-r4,5,409,0
growth-r4,6,459,0
growth-r4,7,462,0
growth-r4,8,618,0
growth-r4,9,549,0
growth-r4,10,55,0
improved-db-cpu-r4,0,492,0
improved-db-cpu-r4,1,583,0
improved-db-cpu-r4,2,629,0
improved-db-cpu-r4,3,681,0
improved-db-cpu-r4,4,667,0
improved-db-cpu-r4,5,632,0
improved-db-cpu-r4,6,585,0
improved-db-cpu-r4,7,677,0
improved-db-cpu-r4,8,602,0
improved-db-cpu-r4,9,629,0
improved-db-cpu-r4,10,52,0
1 phase second successful failed
2 saturation-c1 0 252 0
3 saturation-c1 1 266 0
4 saturation-c1 2 257 0
5 saturation-c1 3 262 0
6 saturation-c1 4 253 0
7 saturation-c1 5 249 0
8 saturation-c1 6 228 0
9 saturation-c1 7 240 0
10 saturation-c1 8 219 0
11 saturation-c1 9 244 0
12 saturation-c1 10 2 0
13 saturation-c2 0 444 0
14 saturation-c2 1 377 0
15 saturation-c2 2 352 0
16 saturation-c2 3 297 0
17 saturation-c2 4 383 0
18 saturation-c2 5 324 0
19 saturation-c2 6 275 0
20 saturation-c2 7 323 0
21 saturation-c2 8 333 0
22 saturation-c2 9 381 0
23 saturation-c2 10 6 0
24 saturation-c4 0 526 0
25 saturation-c4 1 453 0
26 saturation-c4 2 425 0
27 saturation-c4 3 478 0
28 saturation-c4 4 510 0
29 saturation-c4 5 468 0
30 saturation-c4 6 458 0
31 saturation-c4 7 428 0
32 saturation-c4 8 490 0
33 saturation-c4 9 474 0
34 saturation-c4 10 11 0
35 saturation-c8 0 532 0
36 saturation-c8 1 476 0
37 saturation-c8 2 530 0
38 saturation-c8 3 529 0
39 saturation-c8 4 490 0
40 saturation-c8 5 527 0
41 saturation-c8 6 445 0
42 saturation-c8 7 524 0
43 saturation-c8 8 507 0
44 saturation-c8 9 519 0
45 saturation-c8 10 16 0
46 saturation-c16 0 349 0
47 saturation-c16 1 592 0
48 saturation-c16 2 541 0
49 saturation-c16 3 491 0
50 saturation-c16 4 545 0
51 saturation-c16 5 420 0
52 saturation-c16 6 499 0
53 saturation-c16 7 529 0
54 saturation-c16 8 548 0
55 saturation-c16 9 601 0
56 saturation-c16 10 28 0
57 saturation-c32 0 661 0
58 saturation-c32 1 604 0
59 saturation-c32 2 610 0
60 saturation-c32 3 589 0
61 saturation-c32 4 571 0
62 saturation-c32 5 627 0
63 saturation-c32 6 587 0
64 saturation-c32 7 619 0
65 saturation-c32 8 629 0
66 saturation-c32 9 548 0
67 saturation-c32 10 51 0
68 fixed-r1 0 511 0
69 fixed-r1 1 580 0
70 fixed-r1 2 659 0
71 fixed-r1 3 687 0
72 fixed-r1 4 588 0
73 fixed-r1 5 675 0
74 fixed-r1 6 647 0
75 fixed-r1 7 701 0
76 fixed-r1 8 690 0
77 fixed-r1 9 521 0
78 fixed-r1 10 32 0
79 fixed-r2 0 452 0
80 fixed-r2 1 545 0
81 fixed-r2 2 604 0
82 fixed-r2 3 652 0
83 fixed-r2 4 521 0
84 fixed-r2 5 627 0
85 fixed-r2 6 571 0
86 fixed-r2 7 611 0
87 fixed-r2 8 573 0
88 fixed-r2 9 586 0
89 fixed-r2 10 32 0
90 fixed-r4 0 133 0
91 fixed-r4 1 276 0
92 fixed-r4 2 461 0
93 fixed-r4 3 406 0
94 fixed-r4 4 503 0
95 fixed-r4 5 487 0
96 fixed-r4 6 377 0
97 fixed-r4 7 427 0
98 fixed-r4 8 551 0
99 fixed-r4 9 547 0
100 fixed-r4 10 50 0
101 growth-r1 0 527 0
102 growth-r1 1 596 0
103 growth-r1 2 604 0
104 growth-r1 3 616 0
105 growth-r1 4 516 0
106 growth-r1 5 508 0
107 growth-r1 6 606 0
108 growth-r1 7 620 0
109 growth-r1 8 628 0
110 growth-r1 9 591 0
111 growth-r1 10 32 0
112 growth-r2 0 461 0
113 growth-r2 1 662 0
114 growth-r2 2 670 0
115 growth-r2 3 655 0
116 growth-r2 4 640 0
117 growth-r2 5 495 0
118 growth-r2 6 635 0
119 growth-r2 7 626 0
120 growth-r2 8 598 0
121 growth-r2 9 609 0
122 growth-r2 10 32 0
123 growth-r4 0 106 0
124 growth-r4 1 514 0
125 growth-r4 2 587 0
126 growth-r4 3 506 0
127 growth-r4 4 423 0
128 growth-r4 5 409 0
129 growth-r4 6 459 0
130 growth-r4 7 462 0
131 growth-r4 8 618 0
132 growth-r4 9 549 0
133 growth-r4 10 55 0
134 improved-db-cpu-r4 0 492 0
135 improved-db-cpu-r4 1 583 0
136 improved-db-cpu-r4 2 629 0
137 improved-db-cpu-r4 3 681 0
138 improved-db-cpu-r4 4 667 0
139 improved-db-cpu-r4 5 632 0
140 improved-db-cpu-r4 6 585 0
141 improved-db-cpu-r4 7 677 0
142 improved-db-cpu-r4 8 602 0
143 improved-db-cpu-r4 9 629 0
144 improved-db-cpu-r4 10 52 0