Files
mtusi2026lab3/evidence/grade5/04-bottleneck.svg
T
2026-10-25 21:46:21 +03:00

84 lines
5.2 KiB
XML

<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>